[java-parent-project-v3] 01/11: INFRA-110 - Make maven-javadoc-plugin version a property.

Tom Zeller tzeller at dragonacea.biz
Tue Jun 14 13:28:09 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-parent-project-v3.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project-v3.git;a=commit;h=561025d59b583ec36fdc6951cc52bc0622122449

commit 561025d59b583ec36fdc6951cc52bc0622122449
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Jun 14 11:23:30 2016 -0500

    INFRA-110 - Make maven-javadoc-plugin version a property.
    
    Reporting plugins seem to require a <version> even if a <version> is
    specified in <pluginManagement>, so use a property to keep the versions
    of the same plugin the same.
    
    https://maven.apache.org/guides/mini/guide-configuring-plugins.html#Configuring_Reporting_Plugins
---
 pom.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 3dfe41f..4a711d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,8 @@
         <checkstyle.version>2.17</checkstyle.version>
         <checkstyle.configLocation>checkstyle.xml</checkstyle.configLocation>
 
+        <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version>
+
         <maven.central.url>http://repo1.maven.org/maven2</maven.central.url>
         <shibboleth.site.url>https://build.shibboleth.net/nexus/content/sites/site/</shibboleth.site.url>
     </properties>
@@ -504,7 +506,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>
-                    <version>2.10.3</version>
+                    <version>${maven-javadoc-plugin.version}</version>
                     <configuration>
                         <links>
                             <link>http://docs.oracle.com/javase/7/docs/api</link>
@@ -662,6 +664,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>
+                <version>${maven-javadoc-plugin.version}</version>
                 <configuration>
                     <links>
                         <link>http://docs.oracle.com/javase/7/docs/api</link>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list