Hi Sahoo,
Thanks for noticing this. This error occurs because we do not specify
version for antlr-maven-plugin.
Jane, Sahoo,
Can you please review attached diff to fix this issue. Please note that
I am continuing the pattern of specifying the plugin version directly
here instead of defining a property.
% svn diff pom.xml
Index: pom.xml
===================================================================
--- pom.xml (revision 26651)
+++ pom.xml (working copy)
@@ -496,6 +496,12 @@
<artifactId>maven-release-plugin</artifactId>
<version>RELEASE</version>
</plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>antlr-maven-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
</plugins>
</pluginManagement>
Thannks,
Mitesh
Sahoo wrote:
> When I did a re-build this morning, I saw maven downloading a new
> version of this plugin as shown below:
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building support-sqlstore module for cmp
> [INFO] task-segment: [clean]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] artifact org.codehaus.mojo:antlr-maven-plugin: checking for
> updates from glassfish-repo-archive
> [INFO] artifact org.codehaus.mojo:antlr-maven-plugin: checking for
> updates from glassfish-repository
> [INFO] artifact org.codehaus.mojo:antlr-maven-plugin: checking for
> updates from glassfish-repository-wsinterop
> [INFO] artifact org.codehaus.mojo:antlr-maven-plugin: checking for
> updates from maven2.java.net
> [INFO] artifact org.codehaus.mojo:antlr-maven-plugin: checking for
> updates from maven2.java.net-wsinterop
> [INFO] snapshot org.codehaus.mojo:antlr-maven-plugin:2.2-SNAPSHOT:
> checking for updates from glassfish-repo-archive
> [INFO] snapshot org.codehaus.mojo:antlr-maven-plugin:2.2-SNAPSHOT:
> checking for updates from glassfish-repository
> [INFO] snapshot org.codehaus.mojo:antlr-maven-plugin:2.2-SNAPSHOT:
> checking for updates from glassfish-repository-wsinterop
> [INFO] snapshot org.codehaus.mojo:antlr-maven-plugin:2.2-SNAPSHOT:
> checking for updates from maven2.java.net
> [INFO] snapshot org.codehaus.mojo:antlr-maven-plugin:2.2-SNAPSHOT:
> checking for updates from maven2.java.net-wsinterop
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/codehaus/mojo/antlr-maven-plugin/2.2-SNAPSHOT/antlr-maven-plugin-2.2-20090106.220305-1.pom
>
> Downloading:
> http://maven.glassfish.org/content/groups/glassfish/org/codehaus/mojo/antlr-maven-plugin/2.2-SNAPSHOT/antlr-maven-plugin-2.2-20090106.220305-1.jar
>
> 35K downloaded
>
>
> Interesting, I don't see the version of the plugin mentioned anywhere
> in our pom.xmls. That itself caught me by surprise; I am still under
> the impression that version is mandatory.
>
> Thanks,
> Sahoo