Thank you. I shall send a note to maven-antlr-plugin group.
Thanks,
Sahoo
Stephen Connolly wrote:
You do not have to specify the version if you are happy with how Maven
determines the versions. Also if you do not specify the version your build
is not reproducible.
Can you please file a JIRA against the antlr-maven-plugin to get the usage
page to show the version in accordance with best practice.
Thanks,
-Stephen
P.S. you should not be happy with how maven determines which version of a
plugin to use... primarily because it is out of your control and relies on
the correct metadata.xml files in the repositories available to you... and
if you build a project which has defined additional repositories and those
repositories contain different metadata for the same plugin and the project
uses that plugin, you can even corrupt the metadata such that your build
breaks.
Another thing is that for plugins, you really have to follow the maven
version number rules or else lock down the version number.
2009/4/30 Sahoo <[email protected]>
Hi,
I always thought I had to specify the version while trying to use a custom
plugin, but that seems not to be the case. e.g., see [1] which does not
specify the plugin version. In such a case, which version is picked up.
Thanks,
Sahoo
[1] http://mojo.codehaus.org/antlr-maven-plugin/usage.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]