Eclipse RCP Fragment Plugin and Maven error

Veröffentlicht von

Missing snapshot qualifier for Maven build.

Today, I had a small problem running the Maven build on our Eclipse RCP project. I added a new fragment to the project. It worked in the UI, however the build failed using Maven and the command line.

Failed to execute goal (default-validate-version) on project org.eclipse.ui.views.nl: Maven version 1.5.0.ALPHA3 must have –SHAPSHOT qualifier for SNAPSHOT builds

Turned out that the problem was the version information in the “MANIFEST.MF” file of the new fragment. The version there was still set to 1.0.0. Changing it to the version of the pom.xml Maven file and the build was working again.

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert