Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Tycho versions plugin with aggregator pom

I am trying to figure out how to use the tycho versions plugin to set a new version in a project that uses aggregator poms. An example would be

This project has an aggregator pom in the repository's root directory which references another aggregator pom in com.vogella.tycho.aggregator. The parent pom is in com.vogella.tycho.parent

When I call mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.0.1-SNAPSHOT in the project root directory or com.vogella.tycho.aggregator only the pom.xml there is updated.

If I add the artifact ID of the parent pom (-Dartifacts=com.vogella.tycho.parent) I get an error:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-versions-plugin:0.23.0:set-version (default-cli) on project com.vogella.tycho.main: Could not set version: Project with artifactId=com.vogella.tycho.parent cound not be found -> [Help 1]

Is this supported at all? And if yes, where do I invoke the mvn command and which parameters do I need?


Back to the top