On 11/28/07, hkadejo <[EMAIL PROTECTED]> wrote: > > As I do this?
Full instructions on how to set this up are here: http://maven.apache.org/settings.html Mike thanks for anwser... > > > Mike Horwitz wrote: > > > > It is all down to a bug in Ant. To work around the problem you need to > set > > up Maven to use a local repository with no spaces in the path name. > > > > Mike. > > > > > > On 11/28/07, hkadejo <[EMAIL PROTECTED]> wrote: > >> > >> > >> I run mvn appfuse:full-source in my spring basic project version 2.0.1 > >> and.... > >> > >> > >> [INFO] Scanning for projects... > >> [INFO] Searching repository for plugin with prefix: 'appfuse'. > >> [INFO] > >> > >> > ---------------------------------------------------------------------------- > >> [INFO] Building AppFuse Struts 2 Application > >> [INFO] task-segment: [appfuse:full-source] > >> [INFO] > >> > >> > ---------------------------------------------------------------------------- > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [ERROR] FATAL ERROR > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [INFO] null > >> Illegal character in path at index 18: file:/C:/Documents and > >> Settings/hugo.gonzalez/.m2/repository/org/apache/ant/ant/1.7.0/ant- > >> 1.7.0.jar > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [INFO] Trace > >> java.lang.IllegalArgumentException > >> at java.net.URI.create(URI.java:842) > >> 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:585) > >> at org.apache.tools.ant.launch.Locator.fromURI(Locator.java:162) > >> at org.apache.tools.ant.launch.Locator.getResourceSource( > >> Locator.java:119) > >> at org.apache.tools.ant.launch.Locator.getClassSource( > Locator.java > >> :90) > >> at org.apache.tools.ant.Project.setAntLib(Project.java:313) > >> at org.apache.tools.ant.Project.initProperties(Project.java:309) > >> at org.apache.tools.ant.Project.init(Project.java:295) > >> at org.appfuse.mojo.installer.AntUtils.createProject( > AntUtils.java > >> :47) > >> at > >> org.appfuse.mojo.installer.InstallSourceMojo.<init>( > InstallSourceMojo.java > >> :51) > >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > >> Method) > >> at > >> sun.reflect.NativeConstructorAccessorImpl.newInstance( > >> NativeConstructorAccessorImpl.java:39) > >> at > >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance( > >> DelegatingConstructorAccessorImpl.java:27) > >> at java.lang.reflect.Constructor.newInstance(Constructor.java > :494) > >> at java.lang.Class.newInstance0(Class.java:350) > >> at java.lang.Class.newInstance(Class.java:303) > >> at > >> > >> > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance > >> (JavaComponentFactory.java:44) > >> at > >> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance( > >> DefaultPlexusContainer.java:1464) > >> at > >> > >> > org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance > >> (AbstractComponentManager.java:93) > >> at > >> > >> > org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent > >> (PerLookupComponentManager.java:48) > >> at > >> org.codehaus.plexus.DefaultPlexusContainer.lookup( > >> DefaultPlexusContainer.java:331) > >> at > >> org.codehaus.plexus.DefaultPlexusContainer.lookup( > >> DefaultPlexusContainer.java:440) > >> at > >> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo( > >> DefaultPluginManager.java:562) > >> at > >> org.apache.maven.plugin.DefaultPluginManager.executeMojo( > >> DefaultPluginManager.java:421) > >> 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: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) > >> Caused by: java.net.URISyntaxException: Illegal character in path at > >> index > >> 18: file:/C:/Documents and > >> Settings/hugo.gonzalez/.m2/repository/org/apache/ant/ant/1.7.0/ant- > >> 1.7.0.jar > >> at java.net.URI$Parser.fail(URI.java:2816) > >> at java.net.URI$Parser.checkChars(URI.java:2989) > >> at java.net.URI$Parser.parseHierarchical(URI.java:3073) > >> at java.net.URI$Parser.parse(URI.java:3021) > >> at java.net.URI.<init>(URI.java:578) > >> at java.net.URI.create(URI.java:840) > >> ... 43 more > >> [INFO] > >> > ------------------------------------------------------------------------ > >> [INFO] Total time: 4 seconds > >> [INFO] Finished at: Wed Nov 28 08:23:03 CST 2007 > >> [INFO] Final Memory: 5M/11M > >> [INFO] > >> > ------------------------------------------------------------------------ > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/AppFuse-2.0.1-Error-in-AMP-tf4888894s2369.html#a13993436 > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/AppFuse-2.0.1-Error-in-AMP-tf4888894s2369.html#a13993975 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >