Community
Participate
Working Groups
Build Identifier: When using maven bundlor plugin to build a bundle, the build fails. Maven reports the following error: [ERROR] Failed to parse plugin descriptor for org.eclipse.virgo.bundlor:org.eclipse.virgo.bundlor.maven:1.1.0.M02 (C:\.m2\repository\org\eclipse\virgo\bundlor\org.eclipse.virgo.bundlor.maven\1.1.0.M02\org.eclipse.virgo.bundlor.maven-1.1.0.M02.jar): No plugin descriptor found at META-INF/maven/plugin.xml -> [Help 1] When browsing the archive of the maven plugin "org.eclipse.virgo.bundlor.maven:1.1.0.M02", we can see the file "plugin.xml" is in the archive in the directory META-INF/plugin.xml while it should be in META-INF/maven/plugin.xml. Note also that the content of plugin.xml is not correct: version of the plugin is set to 1.0.0.M01 while it should be 1.0.0.M02 (this will cause the plugin fails even if the above error has been fixed). To fix the first issue, I guess the file plugin.xml has just to be moved from org.eclipse.virgo.bundlor.maven/src/main/resources/META-INF/ to the directory org.eclipse.virgo.bundlor.maven/src/main/resources/META-INF/maven. To fix the second issue, just update the version of the maven plugin bundlor to 1.0.0.M02. Reproducible: Always Steps to Reproduce: 1. Runs the plugin org.eclipse.virgo.bundlor.maven:1.0.0.M02 against a maven project which uses this plugin. Command is "mvn clean install".
Created attachment 208229 [details] plugin.xml file with fixed version 1.0.0.M02 Please do find the file plugin.xml with the right version 1.0.0.M02. Note also, the version of the virgo artifacts have been upgraded with the version 3.0.2.RELEASE. This file has to be place under <i>org.eclipse.virgo.bundlor.maven/src/main/resources/META-INF/maven</i> to fix the first issue.
Note that in the attached file, the versions of the other bundlor dependencies have been upgraded to 1.1.0.M02 as well.
Fixed in 7ce7d8f9147adb2f009f4500a3c7fbc2ddd7accf.
I shipped 1.1.0.M03 to contain this fix (except the plugin version is of course 1.1.0.M03).