[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] building feature error on dependency
|
Hi,
I try to reduce at minimum the case I have.
The goal of the complete project is to build an eclipse-repository from a feature also built.
For the moment, I'm stuck during feature building.
As an example, I added joda-time to the plugin in feature.xml.
<plugin
id="joda-time"
download-size="0"
install-size="0"
version="0.0.0.0"
unpack="false"/>
As an example, I added joda-time to the plugin in feature.xml.
And I added the corresponding dependency in pom.xml:
<dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.7</version>
</dependency>
</dependencies>
The error shows:
[ERROR] Missing requirement: sandbox.feature.feature.group 6.5.4.3 requires 'joda-time [0.0.0.0]' but it could not be found
I attached the complete files if anyone has a suggestion, it will help.
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="sandbox.feature"
label="sanbox work"
version="6.5.4.3"
provider-name="Semarchy">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
</description>
<copyright url="http://www.example.com/copyright">
[Enter Copyright Description here.]
</copyright>
<license url="http://www.example.com/license">
[Enter License Description here.]
</license>
<plugin
id="joda-time"
download-size="0"
install-size="0"
version="2.7"
unpack="false"/>
</feature>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>sandbox.semarchy</groupId>
<artifactId>sandbox.feature</artifactId>
<version>6.5.4.3</version>
<packaging>eclipse-feature</packaging>
<properties>
<tycho-version>0.22.0</tycho-version>
<tycho-groupid>org.eclipse.tycho</tycho-groupid>
</properties>
<dependencies>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.7</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho-version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<deployableFeature>true</deployableFeature>
</configuration>
</plugin>
</plugins>
</build>
</project>
Attachment:
log
Description: Binary data