maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1768761 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Date Tue, 08 Nov 2016 18:50:43 GMT
Author: hboutemy
Date: Tue Nov  8 18:50:43 2016
New Revision: 1768761

URL: http://svn.apache.org/viewvc?rev=1768761&view=rev
Log:
[DOXIASITETOOLS-171] use implementation version instead of specification version (that is
limited to major.minor since m-jar-p 3.0.0)

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?rev=1768761&r1=1768760&r2=1768761&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Tue Nov  8 18:50:43 2016
@@ -803,7 +803,7 @@ public class DefaultSiteRenderer
                     skinModel.getPrerequisites() == null ? null : skinModel.getPrerequisites().getDoxiaSitetools();
 
                 Package p = DefaultSiteRenderer.class.getPackage();
-                String current = ( p == null ) ? null : p.getSpecificationVersion();
+                String current = ( p == null ) ? null : p.getImplementationVersion();
 
                 if ( StringUtils.isNotBlank( toolsPrerequisite ) && ( current !=
null )
                     && !matchVersion( current, toolsPrerequisite ) )



Mime
View raw message