|Re: [tycho-user] [Maven & Eclipse]|
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)
For information I’m under Luna and I use Tycho 0.19.0.
Many thank !
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
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
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 …
Back to the top