Hello
I like to create an updatesite containing a feature patch with tycho/maven. I have an own updatesite containing the feature to patch. However, it tells me the feature I’d like to patch could not be found when building a new updatesite:
[INFO] Building core.delta.repository 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ core.delta.repository ---
[INFO] Deleting X:\plattform\coredelta\myplatform.core.delta.updatesite\target
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier (default-build-qualifier) @ core.delta.repository ---
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @ core.delta.repository ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) @ core.delta.repository ---
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=win32, osgi.os=win32, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: core.delta.repository raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR] Missing requirement: myplatform.core.delta.feature.feature.group 1.0.0.201207021008requires
'myplatform.core.feature.feature.group 0.0.0' but it could not be found
[ERROR] Cannot satisfy dependency: core.delta.repository raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT depends on: myplatform.core.delta.feature.feature.group [1.0.0,1.0.1)
[ERROR]
My patch feature requires the feature to patch in version 2.1.0. How can I download the feature to patch from my updatesite automatically (without installation) so it can be found?
I’ve added the updatesite to my repositories in parent pom.xml:
---snip---
<repositories>
<repository>
<id>indigo</id>
<url>http://download.eclipse.org/releases/indigo</url>
<layout>p2</layout>
</repository>
<repository>
<id>mycore</id>
<layout>p2</layout>
<url>${core.url}</url>
</repository>
</repositories>
<properties>
<tycho-version>0.15.0</tycho-version>
<core.url>http://localhost/core/release/R2_1_0/</ core.url>
</properties>
---snap---
Best regards,
Toni