Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 31684 invoked from network); 6 Nov 2009 14:53:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Nov 2009 14:53:03 -0000 Received: (qmail 99196 invoked by uid 500); 6 Nov 2009 14:53:03 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 99139 invoked by uid 500); 6 Nov 2009 14:53:03 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 99123 invoked by uid 99); 6 Nov 2009 14:53:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 14:53:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2009 14:52:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5C678234C045 for ; Fri, 6 Nov 2009 06:52:32 -0800 (PST) Message-ID: <1221512115.1257519152366.JavaMail.jira@brutus> Date: Fri, 6 Nov 2009 14:52:32 +0000 (UTC) From: "Thomas Vandahl (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Commented: (TORQUE-125) Maven2 Plugin fails on local M2 repo containing spaces In-Reply-To: <1442446685.1257515072380.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TORQUE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774302#action_12774302 ] Thomas Vandahl commented on TORQUE-125: --------------------------------------- I remember seing this before elsewhere. However the stacktrace shows this exception to be in the ANT code. I just verified that no repository-related information is handled by the TexenTaskMojo. > Maven2 Plugin fails on local M2 repo containing spaces > ------------------------------------------------------ > > Key: TORQUE-125 > URL: https://issues.apache.org/jira/browse/TORQUE-125 > Project: Torque > Issue Type: Bug > Components: Maven 2 Plugin > Affects Versions: 3.3 > Environment: Maven version: 2.0.9 > Java version: 1.6.0_07 > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > Reporter: Siegfried Goeschl > > When invoking the plugin I get the following error (see below) - it does not like the spaces in "C:/Dokumente und Einstellungen/goeschl/". When moving the local repo to a properly named location everything works > === START OF STDOUT === > Downloading: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.7/hsqldb-1.8.0.7.jar > [INFO] ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] null > Illegal character in path at index 18: file:/C:/Dokumente und Einstellungen/goeschl/.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:597) > 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.apache.torque.mojo.TexenTaskMojo.setGeneratorTask(TexenTaskMojo.java:126) > at org.apache.torque.mojo.TexenTaskMojo.(TexenTaskMojo.java:109) > at org.apache.torque.mojo.DataModelTaskMojo.(DataModelTaskMojo.java:111) > at org.apache.torque.mojo.OMMojo.(OMMojo.java:461) > 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:513) > at java.lang.Class.newInstance0(Class.java:355) > at java.lang.Class.newInstance(Class.java:308) > 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:609) > at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > 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:597) > 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:/Dokumente und Einstellungen/goeschl/.m2/repository/org/apache/ant/ant/1.7.0/ant-1.7.0.jar > at java.net.URI$Parser.fail(URI.java:2809) > at java.net.URI$Parser.checkChars(URI.java:2982) > at java.net.URI$Parser.parseHierarchical(URI.java:3066) > at java.net.URI$Parser.parse(URI.java:3014) > at java.net.URI.(URI.java:578) > at java.net.URI.create(URI.java:840) > ... 45 more > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 9 seconds > [INFO] Finished at: Fri Nov 06 14:39:33 CET 2009 > [INFO] Final Memory: 8M/16M > [INFO] ------------------------------------------------------------------------ > === END OF STDOUT === -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org