[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[tycho-user] POM-less Target Platforms
|
Greetings,
What is the best way to debug issues in a pom-less tyco build?
My build is currently failing with:
Caused by: java.lang.RuntimeException: Could not resolve target platform specification artifact parent.groupId:targetArtifactId:target:1.0.0-SNAPSHOT
at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.addTargetArtifact (DefaultTargetPlatformConfigurationReader.java:389)
at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.setTarget (DefaultTargetPlatformConfigurationReader.java:342)
at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.getTargetPlatformConfiguration (DefaultTargetPlatformConfigurationReader.java:75)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject (DefaultTychoResolver.java:87)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:90)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264)
I can see that Tycho generates a .polyglot.targetArtifactId.target file. Thus, it is processing the target platform definition. I have configured the target platform in the parent.
The thing that is different than the example (https://git.eclipse.org/c/tycho/org.eclipse.tycho.extras.git/tree/tycho-extras/tycho-extras-its/src/test/resources/testpomless-structured/pom.xml) is my folder structure.
pom.xml
/releng/target-platforms/xyz
/bundles
/features
...
Is that supported?
-Gunnar
--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/