Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Target Platform Definition: Could not resolve target platform specification artifact

Hi,

I am trying to add target definition to my Eclipse RCP project, but the build fails with the following output:

 

[INFO] Scanning for projects...

[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact assist:ch.hilbri.assist.releng.targetplatform:target:1.0.1-SNAPSHOT -> [Help 1]

org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact assist:ch.hilbri.assist.releng.targetplatform:target:1.0.1-SNAPSHOT

 

I defined a target platform definition in a separate project [1]:

 

<project xmlns="http://maven.apache.org/POM/4.0.0"

       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

       <modelVersion>4.0.0</modelVersion>

       <artifactId>ch.hilbri.assist.releng.targetplatform</artifactId>

       <packaging>eclipse-target-definition</packaging>

       <parent>

             <groupId>assist</groupId>

             <artifactId>ch.hilbri.assist.releng</artifactId>

             <version>2.4.0-SNAPSHOT</version>

             <relativePath>../ch.hilbri.assist.releng</relativePath>

       </parent>

</project>

 

I added this project to the main pom [2]:

 

<modules>

<module>../ch.hilbri.assist.releng.targetplatform</module>

</modules>

<plugin>

   <groupId>org.eclipse.tycho</groupId>

       <artifactId>target-platform-configuration</artifactId>

       <version>${tycho.version}</version>

       <configuration>

          <target>

              <artifact>

                 <groupId>assist</groupId>

                <artifactId>ch.hilbri.assist.releng.targetplatform</artifactId>

                <version>${project.version}</version>

             </artifact>

          </target>

..

 

Do you have an idea, what is wrong with this configuration? The entire code is available on GitHub [3]. The target platform works with Eclipse.

 

Thank you for any pointers…

 

Best,

Robert

 

 

[1]: https://github.com/RobertHilbrich/assist-public/blob/master/ch.hilbri.assist.releng.targetplatform/pom.xml

[2]: https://github.com/RobertHilbrich/assist-public/blob/master/ch.hilbri.assist.releng/pom.xml

[3]: https://github.com/RobertHilbrich/assist-public

 

 

 

 

——————————————————————————

Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)

Institut für Verkehrssystemtechnik | Rutherfordstraße 2 | 12489 Berlin

 

Dr. Robert Hilbrich | Gruppenleiter Simulation und Modellierung

Telefon 030 67055-582 | Telefax 030 67055-291 | Robert.Hilbrich@xxxxxx

www.DLR.de | Institut für Verkehrssystemtechnik

 


Back to the top