-
Hi! I have a multi-module Maven project spread over 8 repos/gits to build my feature-based RCP application. Everything can be built fine with 2.6.0, but with 2.7.3 I can only build the complete project from the parent POM. I can no longer build a single module/git without getting an error like this: [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.7.3:validate-classpath (default-validate-classpath) on project com.xxxxxxxxxxx.testclient: Execution default-validate-classpath of goal org.eclipse.tycho:tycho-compiler-plugin:2.7.3:validate-classpath failed: Exception parsing OSGi MANIFEST C:\m2\repository\com\xxxxxxxxxxx\yyyyyyyyyyyy\client\client-common\com.xxxxxxxxx.client.common.feature\22.7.1-SNAPSHOT\com.xxxxxxxxxxx.yyyyyyyyyyyy.client.common.feature-22.7.1-SNAPSHOT.jar!/META-INF/MANIFEST.MF: MANIFEST header 'Bundle-Version' not found -> [Help 1]
So.. why does tycho suddenly try to read "Bundle-Version" from the MANIFEST.MF file of an Eclipse feature JAR??? There is no such information in that Tycho auto-generated file. I wouldn´t even know how to get that information into that feature JAR. These rows are present in the POM file in the sub module I am trying to build separately.
As I said, this worked fine until moving on to version 2.7.3. Any ideas what is wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Most probably there is no test covering this use-case you you like to provide an integration-test to demonstrate the issue? |
Beta Was this translation helpful? Give feedback.
-
Hi @laeubi !! Thank you very much for all help and the fix! I have tested a local build now and IT WORKS with 2.7.4-SNAPSHOT!! Sending you a virtual flower :o). BR, Mats (selundqma) |
Beta Was this translation helpful? Give feedback.
Hi @laeubi !!
Thank you very much for all help and the fix! I have tested a local build now and IT WORKS with 2.7.4-SNAPSHOT!! Sending you a virtual flower :o).
BR, Mats (selundqma)