java.lang.IllegalArgumentException

When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDir ectory( File ) method.

Solutions on the web24650

  • via AppFuse JIRA by Sam Imari, 1 year ago
    When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDir ectory( File ) method.
  • via AppFuse JIRA by Sam Imari, 9 months ago
    When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDir ectory( File ) method.
  • When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
  • Stack trace

    • java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDir ectory( File ) method. at org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:699) at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628) at org.appfuse.mojo.installer.InstallSourceMojo.createProjectFromPom(InstallSourceMojo.java:706) at org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:662) at org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(InstallSourceMojo.java:629) at org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMojo.java:225) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:463) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)[INFO]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.