Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-p2-plugin:p2-metadata does not work for pom-first artifact

Hi all,
 
I have a pom-first maven project, which is OSGified with the maven-bundle-plugin from Apache Felix.
I need this bundle in my Tycho Build and want to provide it through my local maven repository.
 
To achive this, I call
tycho-p2-plugin:p2-metadata
and
tycho-p2-plugin:update-local-index
in my pom-first project.
 
Afterwards my Tycho build used to find that artifact. But unfortunately this does not work anymore since Tycho 0.15.0.
Obviously line 116 of the P2MetadataMojo changed in 0.15.0 and causes the Mojo to skip the metadata generation for certain maven artifacts (e. g. for packaging "jar" or "bundle").
 
My quick guess is, that this is a bug. Do you agree with me?
 
Thanks and best regards
Stefan

Back to the top