Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] POM-less Target Platforms

by the way if you like to debug the output at least under recent linux the following will work:

tail --retry --follow <path-to-polyglotfile>

now start your build and you will see the generated pom.xml

Am 15.01.20 um 16:33 schrieb Gunnar Wagenknecht:

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 (
     at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.setTarget (
     at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.getTargetPlatformConfiguration (
     at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject (
     at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (
     at org.apache.maven.DefaultMaven.doExecute (

I can see that Tycho generates a 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 ( is my folder structure.


Is that supported?


Back to the top