[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] tycho-p2-plugin:p2-metadata does not work for pom-first artifact
- From: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
- Date: Fri, 12 Oct 2012 09:24:48 -0400
- Delivered-to: firstname.lastname@example.org
- User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
Wiki page  explains how to use pom-first artifacts as dependencies of
Tycho projects. There was more information in the Original Sonatype wiki
, but it got lost when the wiki was moved to eclipse.org it seems.
You can also use m2e build  as an example that shows this in action.
On 12-10-12 7:09 AM, Stefan Rademacher wrote:
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
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
tycho-user mailing list