Hi All, I am trying to accomplish setting the maven project version without changing the pom.xml, so that the same pom.xml can be used across various branches and the maven build is intelligent enough to figure out the version name itself. For this I am currently implementing a maven plugin which sets the MavenProject instance version during the Validate phase. But am not seeing the same being reflected in the final artifact, which is a jar. How should I set this version without changing the pom.xml? The maven versions plugin sets the version, but in the process changes the pom.xml, which in case of multiple branches will become an overhead, as it is a two step process. Also is there any document which can explain the maven-core architecture? The current javadocs are too concise and there is no guide which can show the relation between the various core objects.
Thanks in advance. --Mayur.
