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

vickyk do-not-reply at jboss.com
Thu Jul 12 15:53:40 EDT 2007


C:\svn\jboss-jca\core>mvn install -e
  | + Error stacktraces are turned on.
  | [INFO] Scanning for projects...
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [INFO] Building JBoss JCA Core
  | [INFO]    task-segment: [install]
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [ERROR] BUILD ERROR
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi
  | st or no valid version could be found
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [INFO] Trace
  | org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
  | aven.plugins:maven-resources-plugin' does not exist or no valid version could be
  |  found
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
  | ultLifecycleExecutor.java:1247)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
  | (DefaultLifecycleExecutor.java:1483)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP
  | ackaging(DefaultLifecycleExecutor.java:979)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl
  | eMappings(DefaultLifecycleExecutor.java:943)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
  | ltLifecycleExecutor.java:450)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
  | dleFailures(DefaultLifecycleExecutor.java:303)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
  | ts(DefaultLifecycleExecutor.java:270)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
  | fecycleExecutor.java:139)
  |         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:249)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
  | java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.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 p
  | lugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no val
  | id version could be found
  |         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
  | uginVersion(DefaultPluginVersionManager.java:225)
  |         at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
  | uginVersion(DefaultPluginVersionManager.java:87)
  |         at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
  | inManager.java:160)
  |         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
  | ultLifecycleExecutor.java:1218)
  |         ... 18 more
  | [INFO] -------------------------------------------------------------------------
  | ---
  | [INFO] Total time: < 1 second
  | [INFO] Finished at: Fri Jul 13 01:18:31 IST 2007
  | [INFO] Final Memory: 1M/2M
  | [INFO] -------------------------------------------------------------------------
  | ---
  | 
I am too hit by the same error . 
Few moment back I was able to run it , I don't know what has happened suddenly :(
I am in process of Mavenizing the JCA/MC stuff which is yet not checked in the svn .

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

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



More information about the jboss-dev-forums mailing list