You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by ga...@apache.org on 2011/06/23 22:14:10 UTC

svn commit: r1139058 - in /chemistry/opencmis/trunk: pom.xml src/site/site.xml

Author: gabriele
Date: Thu Jun 23 20:14:09 2011
New Revision: 1139058

URL: http://svn.apache.org/viewvc?rev=1139058&view=rev
Log:
fixed site deploy for release

Modified:
    chemistry/opencmis/trunk/pom.xml
    chemistry/opencmis/trunk/src/site/site.xml

Modified: chemistry/opencmis/trunk/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/pom.xml?rev=1139058&r1=1139057&r2=1139058&view=diff
==============================================================================
--- chemistry/opencmis/trunk/pom.xml (original)
+++ chemistry/opencmis/trunk/pom.xml Thu Jun 23 20:14:09 2011
@@ -218,7 +218,7 @@
         <!-- We're using wagon-svn to deploy directly to svn.apache.org to feed CMS with generated docs -->
         <site.staging.protocol>svn:https</site.staging.protocol>
         <site.staging.host>svn.apache.org</site.staging.host>
-        <site.staging.folder>/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven/</site.staging.folder>
+        <site.staging.folder>/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven</site.staging.folder>
         <site.staging.url>${site.staging.protocol}://${site.staging.host}${site.staging.folder}</site.staging.url>
         <parentBasedir>${project.basedir}</parentBasedir>
     </properties>
@@ -269,7 +269,7 @@
                     <useReleaseProfile>false</useReleaseProfile>
                     <!-- TODO: Add autogenerated JIRA release notes -->
                     <preparationGoals>clean verify</preparationGoals>
-                    <goals>deploy site-deploy</goals>
+                    <goals>deploy site</goals>
                     <arguments>-Papache-release</arguments>
                     <autoVersionSubmodules>true</autoVersionSubmodules>
                     <username>${apache.username}</username>
@@ -531,7 +531,6 @@
                         </configuration>
                     </plugin>
                     <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-war-plugin</artifactId>
                         <configuration>
                             <webResources>
@@ -545,6 +544,19 @@
                             </webResources>
                         </configuration>
                     </plugin>
+                    <plugin>
+                        <artifactId>maven-site-plugin</artifactId>
+                        <inherited>false</inherited>
+                        <executions>
+                            <execution>
+                                <id>site-deploy-toplevel</id>
+                                <goals>
+                                    <goal>deploy</goal>
+                                </goals>
+                                <phase>site</phase>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>

Modified: chemistry/opencmis/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/src/site/site.xml?rev=1139058&r1=1139057&r2=1139058&view=diff
==============================================================================
--- chemistry/opencmis/trunk/src/site/site.xml (original)
+++ chemistry/opencmis/trunk/src/site/site.xml Thu Jun 23 20:14:09 2011
@@ -49,7 +49,8 @@
 
     <body>
         <menu ref="parent" inherit="top" />
-        <menu ref="modules" inherit="top" />
+        <!-- Sub modules have no interesting information (all reports are aggregated at top level) so we comment them out for now -->
+        <!-- <menu ref="modules" inherit="top" /> -->
         <menu ref="reports" inherit="top" />
 
         <menu name="Chemistry" inherit="top">