I believe the solution for this can be found in the mailing list archives. http://appfuse.markmail.org
Matt On 12/29/07, Semen Levinson <[EMAIL PROTECTED]> wrote: > Hi, > > I am using Appfuse 2.0.1 version. While running mvn appfuse:full-source I saw > exception(please see below) > Could you help to solve it? > > C:\Java\Source\AppFuse_Idea\appfuse_crud>mvn appfuse:full-source > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'appfuse'. > [INFO] org.apache.maven.plugins: checking for updates from appfuse > [INFO] org.codehaus.mojo: checking for updates from appfuse > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] Building AppFuse Struts 2 Application > [INFO] task-segment: [appfuse:full-source] > [INFO] > ------------------------------------------------------------------------- > --- > [INFO] [appfuse:full-source] > [INFO] [AppFuse] Installing source from data-common module... > [INFO] [AppFuse] Installing source from hibernate module... > [INFO] [AppFuse] Installing source from service module... > [INFO] [AppFuse] Installing source from web-common module... > [INFO] [AppFuse] Installing source from struts module... > [INFO] [AppFuse] Source successfully exported, modifying pom.xml... > [INFO] [AppFuse] Removing maven-warpath-plugin... > [INFO] [AppFuse] Adding dependencies from root module... > java.lang.IllegalArgumentException: When not aligning with a user install you > mu > st specify a local repository location using the setLocalRepositoryDirectory( > Fi > le ) method. > at > org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbe > dder.java:699) > at > org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:628) > > at > org.appfuse.mojo.installer.InstallSourceMojo.createProjectFromPom(Ins > tallSourceMojo.java:698) > at > org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(In > stallSourceMojo.java:654) > at > org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(In > stallSourceMojo.java:621) > at > org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMoj > o.java:186) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.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(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > 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] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NullPointerException > at > org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(In > stallSourceMojo.java:656) > at > org.appfuse.mojo.installer.InstallSourceMojo.addModuleDependencies(In > stallSourceMojo.java:621) > at > org.appfuse.mojo.installer.InstallSourceMojo.execute(InstallSourceMoj > o.java:186) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:443) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone > Goal(DefaultLifecycleExecutor.java:493) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:463) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.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(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > 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] > ------------------------------------------------------------------------ > [INFO] Total time: 4 minutes 9 seconds > [INFO] Finished at: Sat Dec 29 09:49:20 EET 2007 > [INFO] Final Memory: 5M/14M > [INFO] > ------------------------------------------------------------------------ > > Best regards, > Semen > > > -----Original Message----- > From: "Matt Raible" <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Date: Fri, 28 Dec 2007 16:18:06 -0700 > Subject: Re: Not able to run appfuse:full-source > > > > > Can you post the error you're seeing to the user mailing list? Also, > > please include the version of AppFuse you're using. > > > > http://appfuse.org/display/APF/Mailing+Lists > > > > Thanks, > > > > Matt > > > > On 12/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > I have the same exception as Abe. > > > http://www.nabble.com/Not-able-to-run-appfuse:full-source-td11111334s2369.html > > > > > > Unfortunately deleting > > > ~/.m2/repository/org/codehaus/mojo/appfuse-maven-plugin > > > didn't fix the problem. > > > > > > Could you help to solve it? > > > > > > Semen > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
