I have big Maven (Tycho) project witch about 400 plug-ins.
We have specified version of application in each POM file.
Is there a way how to specify the versi
With a Maven version of 3.5 or higher, you should be able to use a placeholder (e.g. ${revision}) in the parent section and inside the rest of the pom, you can use ${project.version}.
Actually, you can also omit project properties outside of parent which are the same, as they will be inherited. The result would look something like this:
build.parent
company
../build.parent/pom.xml
${revision}
4.0.0
artifact
eclipse-plugin
...
For more information, especially on how to resolve the placeholder during publishing, see Maven CI Friendly Versions | Multi Module Setup.