maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r358721 - /maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java
Date Fri, 23 Dec 2005 05:44:45 GMT
Author: brett
Date: Thu Dec 22 21:44:41 2005
New Revision: 358721

URL: http://svn.apache.org/viewcvs?rev=358721&view=rev
Log:
PR: MSITE-44
remove addModules - no need for it any more

Modified:
    maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java

Modified: maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java?rev=358721&r1=358720&r2=358721&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java
(original)
+++ maven/plugins/trunk/maven-site-plugin/src/main/java/org/apache/maven/plugins/site/SiteMojo.java
Thu Dec 22 21:44:41 2005
@@ -132,12 +132,6 @@
     private Map attributes;
 
     /**
-     * @parameter expression="${addModules}"
-     * default-value="true"
-     */
-    private boolean addModules;
-
-    /**
      * Specifies the output encoding.
      *
      * @parameter expression="${outputEncoding}"
@@ -466,7 +460,7 @@
 
         // we require child modules and reactors to process module menu
 
-        if ( addModules && reactorProjects.size() > 1 && project.getModules().size()
> 0 )
+        if ( reactorProjects.size() > 1 && project.getModules().size() > 0
)
         {
             props.put( "modules", getModulesMenu( locale ) );
         }



Mime
View raw message