Hi mrudulam thanks for ur reply please help me me out with this. yaah i am having that folder the structure is like this ".m2\repository\org\apache\maven\plugins\maven-resources-plugin" this folder is having "maven-metadata-central.xml" file and contents of this file are <?xml version="1.0" encoding="UTF-8"?><metadata> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </metadata>
mrudulam wrote: > > > Do you have the folder called maven-resouces-plugin in your local > repository? (Default: ~/.m2/repository) > > -----Original Message----- > From: vikky [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 20, 2007 11:42 AM > To: [email protected] > Subject: error with maven-resources-plugin while deploying servicemix > examples > > > Hi guys, > I am getting the following error > > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does > not > exist or no valid version could be found. > while using mvn > > > C:\Documents and Settings\153666>mvn -e install > + Error stacktraces are turned on. > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > - > --- > [INFO] Building Maven Default Project > [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:1286) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > (DefaultLifecycleExecutor.java:1522) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForP > ackaging(DefaultLifecycleExecutor.java:1016) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl > eMappings(DefaultLifecycleExecutor.java:980) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:458) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) > 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(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:228) > at > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > uginVersion(DefaultPluginVersionManager.java:90) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug > inManager.java:166) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa > ultLifecycleExecutor.java:1257) > ... 18 more > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: < 1 second > [INFO] Finished at: Wed Jun 20 10:26:42 GMT+05:30 2007 > [INFO] Final Memory: 1M/2M > [INFO] > ------------------------------------------------------------------------ > > > thanks in advance > waiting for your response > -- > View this message in context: > http://www.nabble.com/error-with-maven-resources-plugin-while-deploying- > servicemix-examples-tf3950455s12049.html#a11207686 > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > > -- View this message in context: http://www.nabble.com/error-with-maven-resources-plugin-while-deploying-servicemix-examples-tf3950455s12049.html#a11207772 Sent from the ServiceMix - User mailing list archive at Nabble.com.
