G
Gast2
Gast
Hallo zusammen,
ich bekomme das Maven Tycho einfach nicht zum laufen, der Fehlermeldung her findet er meine Target Platform.
parent.pom
[XML]
<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-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>my</groupId>
<artifactId>my.target</artifactId>
<classifier>platform</classifier>
</artifact>
</target>
[/XML]
target.pom
[XML]
<groupId>my</groupId>
<artifactId>my.target</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>platform.target</file>
<type>target</type>
<classifier>platform</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
[/XML]
Sieht jemand was nicht passt?
EDIT: Tycho Version 0.14.1
ich bekomme das Maven Tycho einfach nicht zum laufen, der Fehlermeldung her findet er meine Target Platform.
Code:
[ERROR] Internal error: java.lang.RuntimeException: "No solution found because the problem is unsatisfiable.": ["Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.core.databinding.property 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.core.filesystem 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.core.resources 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.common 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.common.ui 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.databinding 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.databinding.edit 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.ecore 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.ecore.change 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.ecore.change.edit 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.ecore.edit 0.0.0.", "Unable to satisfy dependency from my.feature.feature.group 1.0.0.qualifier to org.eclipse.emf.ecore.xmi 0.0.0.", "Unable...
parent.pom
[XML]
<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-compiler-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>${tycho-groupid}</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
<pomDependencies>consider</pomDependencies>
<target>
<artifact>
<groupId>my</groupId>
<artifactId>my.target</artifactId>
<classifier>platform</classifier>
</artifact>
</target>
[/XML]
target.pom
[XML]
<groupId>my</groupId>
<artifactId>my.target</artifactId>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.3</version>
<executions>
<execution>
<id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>platform.target</file>
<type>target</type>
<classifier>platform</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
[/XML]
Sieht jemand was nicht passt?
EDIT: Tycho Version 0.14.1
Zuletzt bearbeitet von einem Moderator: