You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2015/11/21 03:13:08 UTC

svn commit: r1715454 - /maven/doxia/site/trunk/pom.xml

Author: hboutemy
Date: Sat Nov 21 02:13:08 2015
New Revision: 1715454

URL: http://svn.apache.org/viewvc?rev=1715454&view=rev
Log:
improved plugins configuration (using Maven site's config snippets)

Modified:
    maven/doxia/site/trunk/pom.xml

Modified: maven/doxia/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/doxia/site/trunk/pom.xml?rev=1715454&r1=1715453&r2=1715454&view=diff
==============================================================================
--- maven/doxia/site/trunk/pom.xml (original)
+++ maven/doxia/site/trunk/pom.xml Sat Nov 21 02:13:08 2015
@@ -187,19 +187,11 @@ under the License.
           <configuration>
             <siteDirectory>${basedir}/content</siteDirectory>
           </configuration>
-          <dependencies><!-- TODO remove when upgrading m-site-p to 3.4 -->
-            <dependency>
-              <groupId>org.apache.maven.doxia</groupId>
-              <artifactId>doxia-module-markdown</artifactId>
-              <version>1.5</version>
-            </dependency>
-          </dependencies>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-pdf-plugin</artifactId>
-          <version>1.2</version>
-
+          <version>1.3</version>
         </plugin>
       </plugins>
     </pluginManagement>
@@ -249,9 +241,11 @@ under the License.
           <execution>
             <id>site</id>
             <phase>site</phase>
+            <goals>
+              <goal>run</goal>
+            </goals>
             <configuration>
               <target>
-
                 <copy todir="${project.reporting.outputDirectory}/doxia-example-book/">
                   <fileset dir="${project.build.directory}/generated-site/pdf/doxia-example-book">
                     <include name="**/*.pdf"/>
@@ -260,12 +254,20 @@ under the License.
                     <include name="**/*.rtf"/>
                   </fileset>
                 </copy>
-
               </target>
             </configuration>
+          </execution>
+          <execution>
+            <id>chmod</id>
+            <phase>site</phase>
             <goals>
               <goal>run</goal>
             </goals>
+            <configuration>
+              <target>
+                <chmod file="${project.reporting.outputDirectory}/download.cgi" perm="ugo+rx"/>
+              </target>
+            </configuration>
           </execution>
         </executions>
       </plugin>
@@ -306,15 +308,20 @@ under the License.
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <reportSets>
-          <reportSet>
+          <reportSet><!-- don't execute inherited reports, since some are useless and cannot be removed -->
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </reportSet>
+          <reportSet><!-- execute only reports necessary for main site, in a dedicated reportSet -->
+            <id>site-mpir</id>
             <reports>
-              <report>cim</report>
-              <report>issue-tracking</report>
-              <report>license</report>
-              <report>mailing-list</report>
+              <report>index</report>          <!-- apt/index.apt.vm -->
               <report>project-team</report>
+              <report>mailing-list</report>
               <report>scm</report>
-              <report>summary</report>
+              <report>issue-tracking</report>
+              <report>cim</report>
             </reports>
           </reportSet>
         </reportSets>