Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] License Auditing Tycho projects

works for me with maven 3.1.1 on demo project

http://git.eclipse.org/c/tycho/org.eclipse.tycho-demo.git/tree/itp04-rcp

The difference I see is I'm using maven-dependency-plugin:2.8 instead of 2.7

[INFO] Building RCP Example Product 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ eclipse-repository ---
[INFO] example.group:eclipse-repository:eclipse-repository:1.0.0-SNAPSHOT
[INFO] +- example.group:example-feature:eclipse-feature:0.1.0-SNAPSHOT:provided
[INFO] +- example.group:example-feature-2:eclipse-feature:0.2.0-SNAPSHOT:provided
[INFO] +- example.group:example-bundle:eclipse-plugin:0.1.0-SNAPSHOT:provided
[INFO] +- p2.eclipse-plugin:org.eclipse.core.runtime:jar:3.11.0.v20150405-1723:system
[INFO] +- p2.eclipse-plugin:org.eclipse.swt:jar:3.104.0.v20150513-1901:system
[INFO] +- p2.eclipse-plugin:org.eclipse.ui:jar:3.107.0.v20150507-1945:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.p2.directorywatcher:jar:1.1.100.v20150423-1455:system


At some point around maven 3.1, maven changed incompatible from sonatype aether to eclipse aether.
[1] indicates maven-dependency-plugin:2.8 fixes the problem, so probably related to that.

Regards,
Jan

[1] https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound 

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Max Rydahl Andersen
> Sent: Mittwoch, 10. Juni 2015 10:49
> To: Tycho user list
> Subject: Re: [tycho-user] License Auditing Tycho projects
> 
> On 28 May 2015, at 9:22, Sievers, Jan wrote:
> 
> > MANIFEST/feature dependencies are also injected as maven dependencies
> > (with system scope).
> >
> > So e.g.
> >
> > mvn dependency:tree
> >
> > on a Tycho build should give you a (flattened) list of dependencies.
> 
> I wanted to try this but I seem to hit some aether dependency mismatch.
> 
> 
> "[ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-dependency-plugin:2.7:tree (default-cli)
> on project hibernatetools: Execution default-cli of goal
> org.apache.maven.plugins:maven-dependency-plugin:2.7:tree failed: A
> required class was missing while executing
> org.apache.maven.plugins:maven-dependency-plugin:2.7:tree:
> org/sonatype/aether/graph/Dependency"
> 
> any idea how to "Fix" that ?
> 
> (I'm running mvn 3.1.1)
> 
> /max
> 
> >
> > HTH
> > Jan
> >
> > From: tycho-user-bounces@xxxxxxxxxxx
> > [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Jim Klo
> > Sent: Donnerstag, 28. Mai 2015 00:52
> > To: Tycho user list
> > Subject: [tycho-user] License Auditing Tycho projects
> >
> > Anyone know of any plugins that help perform license audits on Tycho
> > enabled projects since library dependencies are handled by the
> > manifest and not the POM?
> >
> > Thanks,
> >
> > - Jim
> >
> >
> > Jim Klo
> > Senior Software Engineer
> > Center for Software Engineering
> > SRI International
> > t.	@nsomnac
> >
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or
> > unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
> 
> 
> /max
> http://about.me/maxandersen
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top