[jira] Commented: (TORQUE-125) Maven2 Plugin fails on local M2 repo containing spaces
[ https://issues.apache.org/jira/browse/TORQUE-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774678#action_12774678 ] Thomas Vandahl commented on TORQUE-125: --- I'd love to agree, just that no path is handled by our code... I'm sorry I don't know what we could do here. > 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
[g...@vmgump]: Project db-torque-generator (in module db-torque) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project db-torque-generator has an issue affecting its community integration. This issue affects 3 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - db-ojb : ObjectRelationalBridge - db-torque-generator : Persistence Layer - test-ojb : ObjectRelationalBridge Full details are available at: http://vmgump.apache.org/gump/public/db-torque/db-torque-generator/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [torque-generator-4.0-alpha1-SNAPSHOT.jar] identifier set to project name -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/db-torque/torque-generator/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/db-torque/torque-generator/pom.xml -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/db-torque/db-torque-generator/gump_work/build_db-torque_db-torque-generator.html Work Name: build_db-torque_db-torque-generator (Type: Build) Work ended in a state of : Failed Elapsed: 17 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/db-torque/torque-generator/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/db-torque/torque-generator] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-07112009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-07112009.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-07112009.jar:/srv/gump/public/workspace/ velocity-engine/bin/velocity-07112009.jar:/srv/gump/public/workspace/velocity-texen/bin/texen-07112009.jar:/srv/gump/public/workspace/village/target/village-07112009.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar - location: class org.apache.texen.ant.TexenTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[414,12] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[446,16] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[448,45] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[450,24] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[478,43] cannot find symbol symbol : method getInstance() location: class org.apache.texen.Generator /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[484,16] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[486,42] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[491,24] cannot find symbol symbol : constructor File(java.io.File) location: class java.io.File /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org
[g...@vmgump]: Project db-torque-runtime-test (in module db-torque) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project db-torque-runtime-test has an issue affecting its community integration. This issue affects 1 projects, and has been outstanding for 72 runs. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - db-torque-runtime-test : Persistence Layer Full details are available at: http://vmgump.apache.org/gump/public/db-torque/db-torque-runtime-test/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -WARNING- Overriding Maven2 settings: [/srv/gump/public/workspace/db-torque/torque-runtime/gump_mvn_settings.xml] -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/db-torque/torque-runtime/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/db-torque/torque-runtime/pom.xml -INFO- Project Reports in: /srv/gump/public/workspace/db-torque/torque-runtime/target/surefire-reports The following work was performed: http://vmgump.apache.org/gump/public/db-torque/db-torque-runtime-test/gump_work/build_db-torque_db-torque-runtime-test.html Work Name: build_db-torque_db-torque-runtime-test (Type: Build) Work ended in a state of : Failed Elapsed: 13 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/db-torque/torque-runtime/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/db-torque/torque-runtime] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/db-torque/torque-runtime/target/torque-runtime-4.0-alpha1-SNAPSHOT.jar - Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.307 sec Running org.apache.torque.util.QueryTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.057 sec Running org.apache.torque.adapter.DBOracleTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec Running org.apache.torque.om.NumberKeyTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec Running org.apache.torque.TorqueRuntimeExceptionTest log4j:WARN No appenders could be found for logger (org.apache.torque.TorqueInstance). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.266 sec Running org.apache.torque.util.CriteriaTest log4j:WARN No appenders could be found for logger (org.apache.torque.TorqueInstance). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec Running org.apache.torque.util.SqlExpressionTest large buildIn took 25 milliseconds Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.108 sec Running org.apache.torque.avalon.AvalonTest [DEBUG] Starting container... [DEBUG] Loading the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl [DEBUG] Instantiating the service container class org.apache.fulcrum.yaafi.framework.container.ServiceContainerImpl Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.146 sec <<< FAILURE! Running org.apache.torque.util.SqlBuilderTest log4j:WARN No appenders could be found for logger (org.apache.torque.TorqueInstance). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec Results : Tests in error: Tests run: 52, Failures: 0, Errors: 1, Skipped: 0 [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. Please refer to /srv/gump/public/workspace/db-torque/torque-runtime/target/surefire-reports for the individual test results. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 12 seconds [INFO] Finished at: Sat Nov 07 02:49:36 PST 2009 [INFO] Final Memory: 9M/18M [INFO] - To subscribe to this information via syndicated feeds: - RSS: http://vmgump.apache.org/gump/public/db-torque/db-torque-runtime-test/rss.xml -
[g...@vmgump]: Project db-torque-generator (in module db-torque) failed
To whom it may engage... This is an automated request, but not an unsolicited one. For more information please visit http://gump.apache.org/nagged.html, and/or contact the folk at gene...@gump.apache.org. Project db-torque-generator has an issue affecting its community integration. This issue affects 3 projects. The current state of this project is 'Failed', with reason 'Build Failed'. For reference only, the following projects are affected by this: - db-ojb : ObjectRelationalBridge - db-torque-generator : Persistence Layer - test-ojb : ObjectRelationalBridge Full details are available at: http://vmgump.apache.org/gump/public/db-torque/db-torque-generator/index.html That said, some information snippets are provided here. The following annotations (debug/informational/warning/error messages) were provided: -DEBUG- Sole output [torque-generator-4.0-alpha1-SNAPSHOT.jar] identifier set to project name -DEBUG- (Gump generated) Maven2 Settings in: /srv/gump/public/workspace/db-torque/torque-generator/gump_mvn_settings.xml -INFO- Failed with reason build failed -DEBUG- Maven POM in: /srv/gump/public/workspace/db-torque/torque-generator/pom.xml -INFO- Failed to extract fallback artifacts from Gump Repository The following work was performed: http://vmgump.apache.org/gump/public/db-torque/db-torque-generator/gump_work/build_db-torque_db-torque-generator.html Work Name: build_db-torque_db-torque-generator (Type: Build) Work ended in a state of : Failed Elapsed: 18 secs Command Line: mvn --batch-mode --settings /srv/gump/public/workspace/db-torque/torque-generator/gump_mvn_settings.xml install [Working Directory: /srv/gump/public/workspace/db-torque/torque-generator] CLASSPATH: /usr/lib/jvm/java-6-sun/lib/tools.jar:/srv/gump/public/workspace/commons-collections-3.x/target/commons-collections-3.3-SNAPSHOT.jar:/srv/gump/public/workspace/commons-lang-2.x/target/commons-lang-2.4.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-07112009.jar:/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-07112009.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/logging-log4j-12/dist/lib/log4j-07112009.jar:/srv/gump/public/workspace/ velocity-engine/bin/velocity-07112009.jar:/srv/gump/public/workspace/velocity-texen/bin/texen-07112009.jar:/srv/gump/public/workspace/village/target/village-07112009.jar:/srv/gump/public/workspace/xml-commons/java/external/build/xml-apis-ext.jar - location: class org.apache.texen.ant.TexenTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[414,12] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[446,16] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[448,45] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[450,24] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[478,43] cannot find symbol symbol : method getInstance() location: class org.apache.texen.Generator /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[484,16] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[486,42] cannot find symbol symbol : variable templatePath location: class org.apache.torque.task.TorqueDataModelTask /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org/apache/torque/task/TorqueDataModelTask.java:[491,24] cannot find symbol symbol : constructor File(java.io.File) location: class java.io.File /srv/gump/public/workspace/db-torque/torque-generator/src/main/java/org