Discussion:
[tycho-user] p2 property "maven-classifier"
Stephan Herrmann
2017-01-24 21:26:18 UTC
Permalink
I just found that p2 meta data may contain

<property name='maven-classifier' value='sources'/>

This would be wonderful to make the to-maven transformation
performed by the CBI aggregator more faithful and reliable [1].

Unfortunately, not all artifacts seem to have this property
in their meta data and I have no idea, who / what puts it there.

Is tycho creating this? If so, what steps are needed to do so?


thanks,
Stephan


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=508910
Sievers, Jan
2017-01-25 10:05:42 UTC
Permalink
IIRC Tycho is automatically adding maven GAV (and classifier, if exists) p2 properties to plugins and features it creates from source [1]

Regards
Jan

[1] https://github.com/eclipse/tycho/blob/master/tycho-bundles/org.eclipse.tycho.p2.resolver.impl/src/main/java/org/eclipse/tycho/p2/impl/publisher/MavenPropertiesAdvice.java

On 24/01/17 22:26, "tycho-user-***@eclipse.org on behalf of Stephan Herrmann" <tycho-user-***@eclipse.org on behalf of ***@berlin.de> wrote:

I just found that p2 meta data may contain

<property name='maven-classifier' value='sources'/>

This would be wonderful to make the to-maven transformation
performed by the CBI aggregator more faithful and reliable [1].

Unfortunately, not all artifacts seem to have this property
in their meta data and I have no idea, who / what puts it there.

Is tycho creating this? If so, what steps are needed to do so?


thanks,
Stephan


[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=508910

Loading...