Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] bin.include'ed JARs show up twice in dependency:list

hard to say without a sample project.

you may want look at related [1] which talks about why the system-scoped dependencies are injected.

Regards,
Jan

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=393978#c25 

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Andreas Sewe
> Sent: Donnerstag, 15. Januar 2015 17:26
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] bin.include'ed JARs show up twice in dependency:list
> 
> Hi,
> 
> I just observed the following oddity upon a mvn dependency:list:
> 
> > [INFO] --- maven-dependency-plugin:2.8:list (default-cli) @ org.example ---
> > [INFO]
> > [INFO] The following files have been resolved:
> > [INFO]    org.example:org.example:jar:lib/maven-core-
> 3.0.4.jar:1.0.0.qualifier:system
> > [INFO]    org.example:org.example.source:jar:lib/maven-core-
> 3.0.4.jar:1.0.0.qualifier:system
> 
> The project in question uses the tycho-source-plugin and the following,
> rather ordinary build.properties:
> 
> > source.. = src/
> > output.. = target/classes/
> > bin.includes = META-INF/,\
> >                lib/maven-core-3.0.4.jar,\
> >                .
> 
> Now, having the same lib twice on the classpath looks odd but harmless.
> Alas, I've just encountered a situation where it proves problematic: The
> proguard-maven-plugin refuses to work if it sees the same JAR twice on
> its classpath (part of some Proguard internal sanity checking).
> 
> So, the question is: Where does the org.example.source version of
> lib/maven-core-3.0.4.jar come from and how do I get rid of it?
> 
> Best wishes,
> 
> Andreas
> 
> --
> Codetrails GmbH
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Phone: +49-6151-276-7092
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> 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