Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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>../fr.ac6.mcu.product</module>

       <module>../fr.ac6.mcu.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?

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Mickael Istria
Sent: Friday, January 08, 2016 10:23 AM
To: tycho-user@xxxxxxxxxxx
Subject: Re: [tycho-user] [Maven & Eclipse]

 

On 01/08/2016 10:19 AM, Christelle BURGUERA wrote:

I progress, I’ve add the declaration of tycho extension. I’ve now dependency issue …

I don’t’ understand why I have to add the declaration of tycho extension whereas I’ve it in the parent pom.

try "mvn help:effective-pom" to check whether your pom correctly inherit the content from the right parent.

--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets


Back to the top