I have a maven java project (if applicable to jboss) that uses maven-jar-plugin. This works great using Eclipse Kepler. I'm trying Luna (EE release) now and now I get this error
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-jar-plugin:2.5:jar (execution: make-a-jar, phase: compile)
in all my child .pom files (maven-jar-plugin is specified in the parent .pom file, but the error points to a block in the child .poms).
In the .pom viewer, if I click on the error message on the browse tab, it gives me the option "Detect new m2e connectors". Clicking on this brings up the “m2e Marketplace” dialog and seems to do a ton of work, but then just shows me an empty list. If I click Finish, he will try to calculate the dependencies and then give me this error:
Operation details Cannot complete the request. See the error log for details. "m2e connector for mavenarchiver pom properties" will be ignored because a newer version is already installed.
So, it looks like the maven-jar-plugin depends on the specific version of mavenarchiver, but Eclipse Luna EE comes with a newer version. Is there a way to fix this problem, or do I just need to wait for a newer version of maven-jar-plugin to appear? (I am currently using version 2.5 of maven-jar-plugin, which is the last I know about.)
source share