[ 
http://jira.codehaus.org/browse/MECLIPSE-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=204977#action_204977
 ] 

Peter Lynch commented on MECLIPSE-631:
--------------------------------------

Patch attached that resolves the integration test failure. Any user trying to 
load resources with leading slash may need to modify their pom.

> [Maven 3] Integration test project-44 fails with Unable to resolve resource 
> location: /checkstyle-config.xml
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-631
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-631
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>         Environment: Using Java version: 1.6
> Apache Maven 3.0-alpha-5 (r883378; 2009-11-23 10:53:41-0500)
> Java version: 1.6.0_17
> Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
> Default locale: en_US, platform encoding: MacRoman
> OS name: "mac os x" version: "10.5.8" arch: "x86_64" Family: "mac"
>            Reporter: Peter Lynch
>         Attachments: MECLIPSE-631.patch
>
>
> project-44 integration test fails due to MNG-4514 when using Maven 3.0-alpha-5
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 1.309s
> [INFO] Finished at: Sun Jan 03 19:19:58 EST 2010
> [INFO] Final Memory: 4M/264M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-eclipse-plugin:test:eclipse (default-cli) on 
> project maven-eclipse-plugin-test-project-44: Unable to resolve resource 
> location: /checkstyle-config.xml -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-eclipse-plugin:test:eclipse (default-cli) 
> on project maven-eclipse-plugin-test-project-44: Unable to resolve resource 
> location: /checkstyle-config.xml
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:570)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:317)
>       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:245)
>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:102)
>       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:423)
>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:158)
>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:123)
>       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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>       at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to resolve 
> resource location: /checkstyle-config.xml
>       at 
> org.apache.maven.plugin.eclipse.EclipsePlugin.writeAdditionalConfig(EclipsePlugin.java:1200)
>       at 
> org.apache.maven.plugin.eclipse.EclipsePlugin.writeConfiguration(EclipsePlugin.java:1141)
>       at 
> org.apache.maven.plugin.ide.AbstractIdeSupportMojo.execute(AbstractIdeSupportMojo.java:511)
>       at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
>       at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:562)
>       ... 14 more
> [ERROR] 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to