• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Maven Plugin not found issue

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I am currently working on a project involving Maven. I integrated Maven 2.2.1 into my NetBeans 6.7.1. It has worked alright so far, but I got this error and couldn't make much sense of it. If anyone can point me in the right direction, it'd be awesome. Thanks.

________________________________________________________________________________________________________________________________________

NetBeans: Executing '"C:\Program Files\Apache Software Foundation\Maven 2.2.1\bin\mvn.bat" -Dnetbeans.execution=true clean'
NetBeans: JAVA_HOME =C:\Program Files\Java\jdk1.6.0_17
Scanning for projects...
Reactor build order:

Downloading: http://127.0.0.1/zp/com/maven/maven-nsis-plugin/2.1/maven-nsis-plugin-2.1.pom
4K downloaded (maven-nsis-plugin-2.1.pom)
Downloading: http://127.0.0.1/zp/com/maven/maven-nsis-plugin/2.1/maven-nsis-plugin-2.1.jar
17K downloaded (maven-nsis-plugin-2.1.jar)
------------------------------------------------------------------------
[ERROR]FATAL ERROR
------------------------------------------------------------------------
The plugin descriptor for the plugin Plugin [com.maven:maven-nsis-plugin] was not found. Please verify that the plugin JAR C:\Documents and Settings\h.v\.m2\repository\com\maven\maven-nsis-plugin\2.1\maven-nsis-plugin-2.1.jar is intact.
------------------------------------------------------------------------
Trace
java.lang.IllegalStateException: The plugin descriptor for the plugin Plugin [com.maven:maven-nsis-plugin] was not found. Please verify that the plugin JAR C:\Documents and Settings\h.v\.m2\repository\com\maven\maven-nsis-plugin\2.1\maven-nsis-plugin-2.1.jar is intact.
at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManager.java:360)
at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:224)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:184)
at org.apache.maven.plugin.DefaultPluginManager.loadPluginFully(DefaultPluginManager.java:1626)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.loadPluginFully(DefaultLifecycleExecutor.java:1582)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findArtifactTypeHandlersInPlugins(DefaultLifecycleExecutor.java:1468)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:222)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:178)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
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.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)
------------------------------------------------------------------------
Total time: < 1 second
Finished at: Thu Dec 03 10:03:08 IST 2009
Final Memory: 3M/6M
------------------------------------------------------------------------


Any help would be highly appreciated! Thanks a ton.

Harish.
 
harish kshatrea
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UPDATE:

I checked some sites, and they seem to suggest that all such maven plugins should have a plugin.xml inside the jar, in the meta-inf\maven\ directory. In the Maven NSIS Plugin.jar that I downloaded (Ver 2.1), all it contains are a license.txt, a manifest.mf and a notice.txt inside the meta-inf directory. Am I missing something?

Thanks a ton once again,

Harish.
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try to remove that JAR and let Maven downloads it again.
 
grapes are vegan food pellets. Eat this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!