|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (COMMONSSITE-35) Unable to use commons:jira-page on WindowsUnable to use commons:jira-page on Windows
------------------------------------------ Key: COMMONSSITE-35 URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 Project: Commons All Issue Type: Bug Components: Commons Build Plugin Reporter: Dennis Lundberg I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. Here is the stack trace I get: {noformat} G:\apache\commons\trunks-proper\exec>mvn commons:jira-page [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'commons'. [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Exec [INFO] task-segment: [commons:jira-page] [INFO] ------------------------------------------------------------------------ [INFO] [commons:jira-page] [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) 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:324) 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) 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: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(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar at java.net.URI$Parser.fail(URI.java:2752) at java.net.URI$Parser.checkChars(URI.java:2925) at java.net.URI$Parser.parseHierarchical(URI.java:3009) at java.net.URI$Parser.parse(URI.java:2957) at java.net.URI.<init>(URI.java:574) at java.net.URI.create(URI.java:836) ... 31 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 [INFO] Final Memory: 6M/11M [INFO] ------------------------------------------------------------------------ {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609003#action_12609003 ] Niall Pemberton commented on COMMONSSITE-35: -------------------------------------------- Yes I came across the same problem when I moved from Maven 2.0.7 to Maven 2.0.8 http://markmail.org/message/hmwabpxrq76mbp3l and the only way I solved it was to move my local m2 repo to a path that didn't have a space. I think this is a maven issue, but as you can see from my post to the maven user list the real issue didn't get any response, just this workaround. Also I still can't use the plugin with maven 2.0.9 - I posted that issue to the maven dev list and that got zero response: http://markmail.org/message/tv37c37fjyzx6l6k When things break simply by upgrading maven versions my first thought is they are maven bugs and when the maven devs don't respond to issues raised on their mailing lists then these things just stall, so I don't think theres much point in opening JIRA tickets here and we should just close this as INVALID. > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609038#action_12609038 ] Dennis Lundberg commented on COMMONSSITE-35: -------------------------------------------- It might very well be that the underlying cause is a bug in Maven. I didn't know that it was a known issue so I figured I'd open a JIRA for it. At the very least it documents the problem in case others also stumble upon it. I think the cause is our use of Ant 1.7 for this plugin. Unfortunately I couldn't find a corresponding Maven JIRA for it, even though I vaguely recall having seen one before. The upgraded Ant version can explain the lack of response on the Maven lists, as the current Maven plugins are all still using Ant 1.6. Feel free to close this if you feel like it. > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609115#action_12609115 ] Dennis Lundberg commented on COMMONSSITE-35: -------------------------------------------- Found the bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=42222 > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612199#action_12612199 ] Niall Pemberton commented on COMMONSSITE-35: -------------------------------------------- Ant 1.7.1 has been released http://stefan.samaflost.de/blog/en/Apache/Ant/171.html > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Closed: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg closed COMMONSSITE-35. -------------------------------------- Resolution: Fixed Assignee: Dennis Lundberg Fixed in r676039. New 1.1-SNAPSHOT version deployed. > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > Assignee: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
|
[jira] Commented: (COMMONSSITE-35) Unable to use commons:jira-page on Windows[ https://issues.apache.org/jira/browse/COMMONSSITE-35?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612995#action_12612995 ] Niall Pemberton commented on COMMONSSITE-35: -------------------------------------------- Dennis, Thanks for this - you seem to have cured both of the current problems with the build plugin (i.e. as well as the spaces in the path issue, also maven 2.0.9 now works for me and finds the loadresource task. I'm guessing this is related to the exclusion you added to the pom. I'm going to post something on MNG-3639[1], but you might want to jump in if you know more. http://jira.codehaus.org/browse/MNG-3639 > Unable to use commons:jira-page on Windows > ------------------------------------------ > > Key: COMMONSSITE-35 > URL: https://issues.apache.org/jira/browse/COMMONSSITE-35 > Project: Commons All > Issue Type: Bug > Components: Commons Build Plugin > Reporter: Dennis Lundberg > Assignee: Dennis Lundberg > > I am unable to use the commons:jira-page goal on Windows. It seems to be a problem with spaces in the path. > Here is the stack trace I get: > {noformat} > G:\apache\commons\trunks-proper\exec>mvn commons:jira-page > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'commons'. > [INFO] ------------------------------------------------------------------------ > [INFO] Building Commons Exec > [INFO] task-segment: [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [INFO] [commons:jira-page] > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Documents and Settings/dlg01/.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:838) > 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:324) > 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.codehaus.plexus.component.factory.ant.AntScriptInvoker.initializeProject(AntScriptInvoker.java:251) > at org.codehaus.plexus.component.factory.ant.AntScriptInvoker.invoke(AntScriptInvoker.java:174) > at org.apache.maven.script.ant.AntMojoWrapper.execute(AntMojoWrapper.java:52) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) > 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: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(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > 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/dlg01/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2752) > at java.net.URI$Parser.checkChars(URI.java:2925) > at java.net.URI$Parser.parseHierarchical(URI.java:3009) > at java.net.URI$Parser.parse(URI.java:2957) > at java.net.URI.<init>(URI.java:574) > at java.net.URI.create(URI.java:836) > ... 31 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 2 seconds > [INFO] Finished at: Sat Jun 28 07:58:01 CEST 2008 > [INFO] Final Memory: 6M/11M > [INFO] ------------------------------------------------------------------------ > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free Forum Powered by Nabble | Forum Help |