You can learn more about what causes this problem by searching the
mailing list archives. However, since you probably don't really care
about the cause - here's a zip for you that's been full-sourced:

http://static.raibledesigns.com/downloads/regis.zip

Matt

On 2/7/08, pirus <[EMAIL PROTECTED]> wrote:
>
> At first i tried to run this command with default local repository which was
> in c:\Documents and Settings\... but i got an error with ant 1.7.0, so i
> changed location of local repository which now is
> C:\java\tools\apache-maven-2.0.8\.m2\repository
>
> So, i tried to do everything again from scrach. I ran:
>
> mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-tapestry
> -DremoteRepositories=http://static.appfuse.org/releases
> -DarchetypeVersion=2.0.1 -DgroupId=lt.egos -DartifactId=regis
>
> Then edited pom.xml to use my database (MS SQL Server) and local tomcat.
> After that i tried mvn jetty:run-war and everything seemed fine, as i was
> able to loggin and do some stuff. Then i tried:
> mvn appfuse:full-source and got this error:
>
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'appfuse'.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building REGIS
> [INFO]    task-segment: [appfuse:full-source]
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is invalid.
> It w
> ill be ignored for artifact resolution. Reason: Parse error reading POM.
> Reason:
>  TEXT must be immediately followed by END_TAG and not START_TAG (position:
> START
> _TAG seen ...<licenses>\n\t\t\t<license>... @12:13)  for project
> org.hibernate:j
> tidy at
> c:\java\tools\apache-maven-2.0.8\.m2\repository\org\hibernate\jtidy\r8-2
> 0060801\jtidy-r8-20060801.pom
> [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 tapestry 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:447)
>         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:333)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>         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:447)
>         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:333)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>         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: 46 seconds
> [INFO] Finished at: Thu Feb 07 12:01:44 EET 2008
> [INFO] Final Memory: 6M/12M
> [INFO]
> ------------------------------------------------------------------------
>
> It seems like there is a problem with local repository, but i can't find a
> solution. I have used appfuse before, but i am new to appfuse 2.0, so it
> would be very nice if someone could help, as earlier versions of appfuse
> where very helpful.
> --
> View this message in context: 
> http://www.nabble.com/Problems-with-mvn-appfuse%3Afull-source-tp15331163s2369p15331163.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to