[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] POM-less Target Platforms
|
Hi,
yes this is supported but you either need to add an intermediat
connecting pom, add a different default for parent location in
build.properties
It depends a little on your usecase and overall structure, the easiest
way would be to put target projects directly under releng if thats
feasable for you. Also keep in mind that the artifact id can slightly
change if you have configured it previously manuall by pom.
Am 15.01.2020 um 16:33 schrieb Gunnar Wagenknecht:
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