maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1544760 - in /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main: java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java resources/META-INF/plexus/components.xml
Date Sat, 23 Nov 2013 07:41:58 GMT
Author: hboutemy
Date: Sat Nov 23 07:41:57 2013
New Revision: 1544760

URL: http://svn.apache.org/r1544760
Log:
[DOXIA-147] renamed role-hint and added comments

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/META-INF/plexus/components.xml

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=1544760&r1=1544759&r2=1544760&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
Sat Nov 23 07:41:57 2013
@@ -99,7 +99,7 @@ public class DefaultSiteRenderer
     // Requirements
     // ----------------------------------------------------------------------
 
-    @Requirement( hint = "doxia-default" )
+    @Requirement( hint = "doxia-site-renderer" ) // DOXIA-147: dedicated component configuration
hand-written in component.xml
     private VelocityComponent velocity;
 
     @Requirement

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/META-INF/plexus/components.xml
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/META-INF/plexus/components.xml?rev=1544760&r1=1544759&r2=1544760&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/META-INF/plexus/components.xml
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/resources/META-INF/plexus/components.xml
Sat Nov 23 07:41:57 2013
@@ -23,7 +23,7 @@ under the License.
   <components>
     <component>
       <role>org.codehaus.plexus.velocity.VelocityComponent</role>
-      <role-hint>doxia-default</role-hint>
+      <role-hint>doxia-site-renderer</role-hint>
       <implementation>org.codehaus.plexus.velocity.DefaultVelocityComponent</implementation>
       <configuration>
         <properties>
@@ -52,6 +52,7 @@ under the License.
             <value>false</value>
           </property>
 
+          <!-- DOXIA-147: doxia-site-renderer specific configuration (not in default from
plexus-velocity) -->
           <property>
             <name>velocimacro.permissions.allow.inline.to.replace.global</name>
             <value>true</value>



Mime
View raw message