[jboss-dev-forums] [Design of JBoss Build System] - maven-resources-plugin problem

scott.stark@jboss.org do-not-reply at jboss.com
Tue Feb 27 01:54:49 EST 2007


I'm not able to build the https://svn.jboss.org/repos/common/jbossxb/tags/1.0.0.CR9 project, but its failing with this error. I have completely replaced my local maven2 repo and the problem is still there.


  | [starksm at succubus jbossxb-1.0.0.CR9]$ mvn -e install
  | + Error stacktraces are turned on.
  | [INFO] Scanning for projects...
  | [INFO] ----------------------------------------------------------------------------
  | [INFO] Building JBoss XML Binding
  | [INFO]    task-segment: [install]
  | [INFO] ----------------------------------------------------------------------------
  | [INFO] ------------------------------------------------------------------------[ERROR] BUILD ERROR
  | [INFO] ------------------------------------------------------------------------[INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
  | [INFO] ------------------------------------------------------------------------[INFO] Trace
  | org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1281)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(DefaultLifecycleExecutor.java:1517)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPackaging(DefaultLifecycleExecutor.java:1011)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:975)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:453)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
  |         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
  |         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
  |         at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
  |         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)
  | Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found
  |         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:225)
  |         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePluginVersion(DefaultPluginVersionManager.java:87)
  |         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:158)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1252)
  |         ... 18 more
  | [INFO] ------------------------------------------------------------------------[INFO] Total time: < 1 second
  | [INFO] Finished at: Mon Feb 26 22:45:58 PST 2007
  | [INFO] Final Memory: 2M/74M
  | [INFO] ------------------------------------------------------------------------[starksm at succubus jbossxb-1.0.0.CR9]$
  | 

The maven-resources-plugin include:

  | [starksm at succubus repository.jboss.com]$ ls -l maven2/org/apache/maven/plugins/maven-resources-plugin/2.2
  | total 52
  | drwxrwxr-x  2 starksm starksm  4096 Feb 26 22:16 CVS/
  | -rw-rw-r--  1 starksm starksm 13596 Dec 10 09:02 maven-resources-plugin-2.2.jar-rw-rw-r--  1 starksm starksm    40 Dec 10 09:02 maven-resources-plugin-2.2.jar.sha1
  | -rw-rw-r--  1 starksm starksm  1509 Dec 10 09:02 maven-resources-plugin-2.2.pom-rw-rw-r--  1 starksm starksm    40 Dec 10 09:02 maven-resources-plugin-2.2.pom.sha1
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022875#4022875

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022875



More information about the jboss-dev-forums mailing list