Hi Thierry,
Â
not looked into the details of your setup, but I see a typo in your category.xml. The âidâ should be âsandbox.featureâ not âsanbox.featureâ, you missed the âdâ.
Â
hth
martin
Â
Â
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von titimoby
Gesendet: Donnerstag, 05. MÃrz 2015 12:20
An: Tycho user list
Betreff: [tycho-user] building eclipse-repository error on dependencyÂ
Thanks to your help, I fixed my mistake in my sandbox.feature.
The goal is still to produce an eclipse-repository from this built feature that I'll then deploy on Artifactory.
Â
The project structure is as follow:
Â
build-and-publish-target
--sandbox.feature
---- build.properties
---- feature.xml
---- pom.xml
--semarchy-platform
---- category.xml
---- pom.xml
pom.xml
Â
* parent pom declares sandbox.feature and semarchy-platform as modules.
* both pom modules declares parent pom
* semarchy-platform declares a dependency to sandbox.feature through the category.xml
Â
<?xml version="1.0" encoding="UTF-8"?>
<site>
 Â<feature url="" id="sanbox.feature" version="6.5.4.3"/>
</site>
Â
and through an explicit dependency in its pom (I tried with and without it):
Â
<dependencies>
ÂÂÂ <dependency>
ÂÂÂÂÂÂÂ <groupId>sandbox.semarchy</groupId>
ÂÂÂÂÂÂÂ <artifactId>sandbox.feature</artifactId>
ÂÂÂÂÂÂÂ <version>6.5.4.3</version>
ÂÂÂ </dependency>
</dependencies>
Â
when running mvn clean with parent pom, a dependency error occurs:
Â
[ERROR] Cannot resolve project dependencies:
[ERROR] Â Software being installed: semarchy-platform 6.5.4.3
[ERROR] Â Missing requirement: semarchy-platform 6.5.4.3 requires 'sanbox.feature.feature.group [6.5.4.3]' but it could not be found
Â
When I use:
Â
mvn clean -X -Dtycho.debug.resolver=true
Â
I have refrerenced to this feature in tycho available IU:
Â
[DEBUG] Available IUs:
 semarchy-platform 6.5.4.3
 sandbox.feature.feature.group 6.5.4.3
 sandbox.feature.feature.jar 6.5.4.3
 joda-time 2.7.0
 config.a.jre.javase 1.6.0
 a.jre.javase 1.6.0
Â
Any clue?
Â
maven and Tycho world is full of delightful moment of awkward learning ;)
Â
Â
Thierry
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user
Attachment:
log
Description: Binary data