Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Same dependency with different classifier

Bug filed with demo project:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=368596

Any workaround would be greatly appreciated.

Regards
Yves

On Jan 13, 2012, at 9:47 PM, Igor Fedorenko wrote:

> Can you confirm the problem still exists in 0.14.0-SNAPSHOT? If so,
> please open a bugreport and provide complete standalone example project
> that demonstrates the problem.
> 
> --
> Regards,
> Igor
> 
> 
> 
> On 12-01-13 1:17 PM, Yves Langisch wrote:
>> Hi,
>> 
>> I have an eclipse-test-plugin with POM-dependencies (pomDependencies
>> consider) as follows:
>> 
>> ...
>> <dependency>
>> <groupId>ch.dummy</groupId>
>> <artifactId>common</artifactId>
>> </dependency>
>> <dependency>
>> <groupId>ch.dummy</groupId>
>> <artifactId>common</artifactId>
>> <classifier>tests</classifier>
>> </dependency>
>> ...
>> 
>> It looks like tycho does not honor the classifier element as the latter
>> dependency overrides the first one. This leads to compilation errors as
>> the first dependency is not on the classpath. A workaround was to define
>> the first dependency as extraClasspathElement for the
>> tycho-compiler-plugin. But the as soon as it gets to the
>> tycho-surefire-plugin the dependency is missing from the test runtime.
>> 
>> Is this a known issue? Is there any workaround to add both dependencies
>> to my test runtime?
>> 
>> Thanks
>> Yves
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top