It looks like the AppFuse plugin is falling over when presented with a path that has spaces in it (character 18 being the first ' ' in the file name), so this would be a bug? As a workaround have you tried moving your local repository to a location with no spaces in the name? e.g. c:\maven\.m2?
Mike On 11/27/07, Eric Martin <[EMAIL PROTECTED]> wrote: > > > I tried this on a different pc and did not have the same problem...so it > must > have been a local issue... > > > mraible wrote: > > > > Can you provide the command you used to create your project? I'd like > > to try and create this problem locally. > > > > Thanks, > > > > Matt > > > > On Nov 26, 2007, at 3:21 PM, Eric Martin wrote: > > > >> > >> I just got the newest version, ran a mvn install, mvn war:inplace > >> and then > >> when I tried mvn appfuse:full-source, I got the following: > >> > >> C:\workspace\appfuse>mvn appfuse:full-source > >> [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] > >> ---------------------------------------------------------------------- > >> ------ > >> [WARNING] POM for 'org.hibernate:jtidy:pom:r8-20060801:runtime' is > >> invalid. > >> It will be ignored for a > >> rtifact resolution. Reason: Parse error reading POM. Reason: TEXT > >> must be > >> immediately followed by EN > >> D_TAG and not START_TAG (position: START_TAG seen > >> ...<licenses>\n\t\t\t<license>... @12:13) for pro > >> ject org.hibernate:jtidy at C:\Documents and > >> Settings\ermartin\.m2\repository\org\hibernate\jtidy\r8 > >> -20060801\jtidy-r8-20060801.pom > >> Downloading: > >> http://static.appfuse.org/repository/org/apache/ant/ant/1.7.0/ > >> ant-1.7.0.pom > >> 9K downloaded > >> Downloading: > >> http://static.appfuse.org/repository/org/apache/ant/ant/1.7.0/ > >> ant-1.7.0.jar > >> 1259K downloaded > >> [INFO] > >> ---------------------------------------------------------------------- > >> -- > >> [ERROR] FATAL ERROR > >> [INFO] > >> ---------------------------------------------------------------------- > >> -- > >> [INFO] null > >> Illegal character in path at index 18: file:/C:/Documents and > >> Settings/ermartin/.m2/repository/org/a > >> pache/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 > >> (DelegatingConstructorAccessorIm > >> pl.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.newIns > >> tance(JavaComponent > >> Factory.java:44) > >> at > >> org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance > >> (DefaultPlexusContainer > >> .java:1464) > >> at > >> org.codehaus.plexus.component.manager.AbstractComponentManager.createC > >> omponentInstance(Ab > >> stractComponentManager.java:93) > >> at > >> org.codehaus.plexus.component.manager.PerLookupComponentManager.getCom > >> ponent(PerLookupCom > >> ponentManager.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.executeStandaloneG > >> oal(DefaultLifecycl > >> eExecutor.java:493) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal > >> (DefaultLifecycleExecutor. > >> java:463) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand > >> leFailures(DefaultL > >> ifecycleExecutor.java:311) > >> at > >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment > >> s(DefaultLifecycleE > >> xecutor.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 an > >> d Settings/ermartin/.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: 5 seconds > >> [INFO] Finished at: Mon Nov 26 14:15:51 PST 2007 > >> [INFO] Final Memory: 5M/11M > >> [INFO] > >> ---------------------------------------------------------------------- > >> -- > >> > >> I tried deleting the Ant jar, but still got the same error after it > >> re-downloaded... > >> -- > >> View this message in context: http://www.nabble.com/-2.0.1--%22mvn- > >> appfuse%3Afull-source%22-error-tf4878363s2369.html#a13960327 > >> 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] > > > > > > > > -- > View this message in context: > http://www.nabble.com/-2.0.1--%22mvn-appfuse%3Afull-source%22-error-tf4878363s2369.html#a13965118 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
