[ http://jira.codehaus.org/browse/MRESOURCES-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110108 ]
Dmitry Beransky commented on MRESOURCES-50: ------------------------------------------- Why is there a SNAPSHOT dependency in a production release in the first place? > Latest snapshot (2.3-20071013.152223-3) fails the build > ------------------------------------------------------- > > Key: MRESOURCES-50 > URL: http://jira.codehaus.org/browse/MRESOURCES-50 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Kristoffer Moum > Priority: Blocker > > I currently cannot install my project using the 2.3 snapshot due to an > internal error. Presumably, the pom refers to an incorrect version of > plexus-utils. This is propagated as follows: > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building win-common-util > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for > updates from central > [INFO] snapshot org.apache.maven.plugins:maven-resources-plugin:2.3-SNAPSHOT: > checking for updates from central > Downloading: > http://134.47.230.19/maven-proxy/org/apache/maven/plugins/maven-resources-plugin/2.3-SNAPSHOT/maven-resourc > es-plugin-2.3-20071013.152223-3.pom > 2K downloaded > Downloading: > http://134.47.230.19/maven-proxy/org/apache/maven/plugins/maven-resources-plugin/2.3-SNAPSHOT/maven-resourc > es-plugin-2.3-20071013.152223-3.pom > 2K downloaded > Downloading: > http://134.47.230.19/maven-proxy/org/apache/maven/plugins/maven-resources-plugin/2.3-SNAPSHOT/maven-resourc > es-plugin-2.3-20071013.152223-3.jar > 12K downloaded > [INFO] [build-helper:add-test-source {execution: default}] > [INFO] Test Source directory: > c:\projects\win\source\win-common\util\src\itest\java added. > [INFO] Test Source directory: > c:\projects\win\source\win-common\util\src\itest\resources added. > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] Copying 2 resources > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] > org.codehaus.plexus.util.FileUtils.copyFile(Ljava/io/File;Ljava/io/File;Ljava/lang/String;[Lorg/codehaus/plexus/u > til/FileUtils$FilterWrapper;)V > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.NoSuchMethodError: > org.codehaus.plexus.util.FileUtils.copyFile(Ljava/io/File;Ljava/io/File;Ljava/lang/String;[ > Lorg/codehaus/plexus/util/FileUtils$FilterWrapper;)V > at > org.apache.maven.plugin.resources.ResourcesMojo.copyFile(ResourcesMojo.java:262) > at > org.apache.maven.plugin.resources.ResourcesMojo.copyResources(ResourcesMojo.java:187) > at > org.apache.maven.plugin.resources.ResourcesMojo.execute(ResourcesMojo.java:97) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:48 > 0) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav > a: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:330) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) > 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) > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 15 seconds > [INFO] Finished at: Mon Oct 15 07:31:15 CEST 2007 > [INFO] Final Memory: 13M/24M > [INFO] > ------------------------------------------------------------------------ -- 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