Hello,
I really don’t understand what it’s wrong …
I tried to do my product with plugins and not features to put only the product module (<module>../pouet.product</module>) to not have the cross dependency
I need to put the pouet.product in the “Dependencies” under the .product, without the export doesn’t contain my branding.
But I have this error with the build maven :
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.19.0:publish-products (default-publish-products) on project pouet.product: Exception while publishing product C:\pouet.product\pouet.product.product: publishing result: [Included element pouet.product 0.0.0 is missing. Cannot determine filter for requirement to this element.; The features specified in the product definition are ignored; verify the value of the 'type' or 'useFeatures' attribute. ] -> [Help 1]
Is somebody have a Maven example for this architecture for an Eclipse Product:
Maven parent who call
Plugin with product (based on features for the Product Definition)
Feature
???
For information I’m under Luna and I use Tycho 0.19.0.
Many thank !
Christelle
From: Christelle BURGUERA
Sent: Friday, January 08, 2016 2:01 PM
To: tycho-user@xxxxxxxxxxx
Subject: RE: [tycho-user] [Maven & Eclipse]
Always the dependency issue … the same with your “mvn help:effective-pom"
I thing the problem I have is :
- pouet.product has a dependency on my pouet.product.feature (without this dependency no launcher icons, no update site… the product doen’t have my branding)
- pouet.product.feature has a dependency on my pouet.product (of course because the feature references the plugin which contains the product)
- the parent Pom calls the two modules
<modules>
<module>../pouet.product</module>
<module>../pouet.product.feature</module>
</modules>
With the Eclipse Product export wizard mechanism no problem, the product is well generated.
With Maven :
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: pouet.product.feature.feature.group 1.6.0.qualifier
[ERROR] Missing requirement: pouet.product.feature.feature.group 1.6.0.qualifier requires pouet.product 0.0.0' but it could not be found
[ERROR]
It’s not a problem of version (pouet.product 0.0.0 => I’ve tried with 1.6.0 with 1.6.0.qualifier…).
I thing Maven doesn’t manager the cross dependency …
Any idea?