Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[technology-pmc] [CQ 5238] plexus-build-api Version: 0.0.4

http://dev.eclipse.org/ipzilla/show_bug.cgi?id=5238





--- Comment #6 from Jan Sievers <jan.sievers@xxxxxxx>  2011-05-24 09:21:45 ---
Short answer: I'm afraid we can't use plexus-build-api 0.6 or 0.7 .

Long answer:

The dependency to plexus-build-api 0.0.4 is coming in as transitive via build
lifecycle [1] which uses maven-resources-plugin:2.4.3:

[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ testresources ---
[INFO] org.eclipse.tycho:testresources:jar:0.0.1-SNAPSHOT
[INFO] \- org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3:compile
[...]
[INFO]    +- org.apache.maven.shared:maven-filtering:jar:1.0-beta-4:compile
[INFO]    |  \- org.sonatype.plexus:plexus-build-api:jar:0.0.4:compile
[...]


I checked whether updating to the latest available maven-resources-plugin:2.5
would change the transitive dependency to plexus-build-api, but no, this would
still result in the same dependency to
org.sonatype.plexus:plexus-build-api:0.0.4.

In contrast to compile-time dependencies, AFAIK maven does not allow to
"manage" transitive dependencies of build plugins used in a default build
lifecycle. I will double-check with the experts though.


---
[1]
https://github.com/sonatype/sonatype-tycho/blob/master/tycho-maven-plugin/src/main/resources/META-INF/plexus/components.xml


-- 
Configure CQmail: http://dev.eclipse.org/ipzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the CQ.


Back to the top