Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-versions-plugin does not replace ${sub.dir} properties for child projects

Hello everybody,

I encounter a problem when using the tycho-versions-plugin (tested both with 0.19 and 0.20).

I have a parent pom in a "releng folder" where I define child modules like:

<module>${plugins.dir}/my.plugin</module>

Now I execute the versions plugin like this:

$ mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion="1.1.0-SNAPSHOT"

The result is that all the child projects are listed in the "reactor build order", but then I receive output like:

"[INFO] Project does not exist at d:\path\to\project\releng\${plugins.dir}\my.plugin"

for every child project, and as a result only the parent pom is adapted.

As soon as I replace the property with the real path everything works correctly, i.e. the plugin's pom and manifest are updated correctly:

<module>../../plugins/my.plugin</module>

Am I missing something or is this a bug I should report (tested with tycho 0.19 and 0.20)?

Best regards,
Alexander


Back to the top