Search code examples
javapluginsmavennsis

Failed to parse plugin descriptor for maven:maven-nsis-plugin:2.1


I am exploring the usage of nsis (newbie) in maven.

I have created the dependency in my pom.xml. It is downloaded successfully, but when I clean & compile my project, I get the following error message:

Failed to parse plugin descriptor for maven:maven-nsis-plugin:2.1
(C:\... \.m2\repository\maven\maven-nsis-plugin\2.1\maven-nsis-plugin-2.1.jar):
No plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1]

I have tried to delete \.m2\repository\maven\, but it did not help. Anyone knows what is happening?


Solution

  • Try the codehaus plugin. You can find an operational example using it here: https://stackoverflow.com/a/10595214/1282124