Try using PM to set javadoc to 2.4


git-svn-id: https://svn.apache.org/repos/asf/geronimo/javamail/trunk@641819 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/geronimo-javamail_1.4/pom.xml b/geronimo-javamail_1.4/pom.xml
index 1a7807e..cee0cdf 100644
--- a/geronimo-javamail_1.4/pom.xml
+++ b/geronimo-javamail_1.4/pom.xml
@@ -27,7 +27,7 @@
     <parent>
         <groupId>org.apache.geronimo.genesis.config</groupId>
         <artifactId>project-config</artifactId>
-        <version>1.5-SNAPSHOT</version>
+        <version>1.4</version>
     </parent>
 
     <groupId>org.apache.geronimo.javamail</groupId>
@@ -90,6 +90,16 @@
                     <artifactId>maven-shade-plugin</artifactId>
                     <version>1.0.1</version>
                 </plugin>
+                
+                <!--
+                HACK: Force the use of 2.4, since 2.3 causes the release profile to fail for this project.
+                      Upgrading here to avoid needing to wait for another Genesis release.
+                -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>2.4</version>
+                </plugin>
             </plugins>
         </pluginManagement>