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?

Upvotes: 1

Views: 2898

Answers (2)

RCCola
RCCola

Reputation: 373

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

Upvotes: 1

Raghuram
Raghuram

Reputation: 52665

From what I can see, you can using Maven 1.x version of the plugin with Maven 2/3.

Upvotes: 1

Related Questions