[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Including Tycho's itp02.bundle plugin in the itp04-rcp example.product
|
There are three required steps to use pom-first dependency in a Tycho
project
* The dependency must be installed or deployed to a maven repository.
Normally this is done using "mvn clean install" or "mvn clean deploy"
and I believe maven-bundle-plugin:install is not sufficient
* All Tycho projects that reference the pom-first dependency directly or
indirectly, must have pomDependencies=consider in target platform
configuration
* All Tycho projects that reference the pom-first dependency directly or
indirectly, must have <dependency> element corresponding to the
pom-first dependency
Wiki [1] has some more information
[1] http://wiki.eclipse.org/Tycho/How_Tos/Dependency_on_pom-first_artifacts
--
Regards,
Igor
On 11/29/2013, 7:02, Nicholas Albion wrote:
I'm trying to figure out how the pomfirst-thirdparty bundle can be used
within the itp04-rcp eclipse-repository.
I figure that I should be able to run:
> cd org.eclipse.tycho-demo\itp02\build02
> mvn org.apache.felix:maven-bundle-plugin:install
And then edit the example.product file in the
itp04-rcp\eclipse-repository directory:
<plugins>
<plugin id="tycho.demo.itp02.bundle" />
</plugins>
When I run mvn package in itp04-rc it complains:
Included element tycho.demo.itp02.bundle 0.0.0 is missing.
This works:
<plugins>
<plugin id="example-bundle" version="0.0.0" />
</plugins>
<features>
<!-- <feature id="example-feature" version="0.0.0"/> -->
<feature id="org.eclipse.rcp" version="0.0.0"/>
<feature id="org.eclipse.equinox.p2.user.ui" version="0.0.0"/>
</features>
...so why not the itp02.bundle plugin?
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user