chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gabri...@apache.org
Subject svn commit: r1135620 - in /chemistry/opencmis/trunk: pom.xml src/site/site.xml
Date Tue, 14 Jun 2011 14:50:12 GMT
Author: gabriele
Date: Tue Jun 14 14:50:12 2011
New Revision: 1135620

URL: http://svn.apache.org/viewvc?rev=1135620&view=rev
Log:
closes CMIS-391, site fixed and ready to be deployed to svn.apache.org upon 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=1135620&r1=1135619&r2=1135620&view=diff
==============================================================================
--- chemistry/opencmis/trunk/pom.xml (original)
+++ chemistry/opencmis/trunk/pom.xml Tue Jun 14 14:50:12 2011
@@ -37,7 +37,8 @@
         <url>http://www.apache.org/</url>
     </organization>
 
-    <url>http://chemistry.apache.org/</url>
+    <url>http://chemistry.apache.org/java/</url>
+    
     <ciManagement>
         <system>Hudson Zones Apache</system>
         <url>http://hudson.zones.apache.org/hudson/view/Chemistry/</url>
@@ -63,7 +64,7 @@
 
     <distributionManagement>
         <site>
-            <id>apache-site-staging</id>
+            <id>${site.staging.id}</id>
             <url>${site.staging.protocol}://${site.staging.host}${site.staging.folder}</url>
         </site>
     </distributionManagement>
@@ -201,11 +202,23 @@
         <maven.compile.target>1.5</maven.compile.target>
         <docs.start.url>http://chemistry.apache.org/java/opencmis.html</docs.start.url>
         <docs.download.directory>${project.build.directory}/downloaded-site</docs.download.directory>
-        <!-- Site label can be overriden on the command line to deploy to distinct location
during site development -->
+        <!--  
+            | Here we configure Maven documentation site (incl. Javadocs) deployment 
+            |
+            | By default site is deployed to:
+            | https://svn.apache.org/repos/asf/chemistry/site/trunk/content/java/${site.label}/maven/

+            | where site.label = project.version 
+            
+            | For details/changes see http://chemistry.apache.org/java/documentation-lifecycle.html
+            |
+            | Note: Site label (or any other property) can be overriden on the command line
to deploy to distinct location during site development
+            -->
         <site.label>${project.version}</site.label>
-        <site.staging.protocol>scpexe</site.staging.protocol>
-        <site.staging.host>people.apache.org</site.staging.host>
-        <site.staging.folder>/home/${apache.username}/public_html/chemistry/opencmis/${site.label}/site</site.staging.folder>
+        <site.staging.id>apache-site-staging</site.staging.id>
+        <!-- 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>
         <parentBasedir>${project.basedir}</parentBasedir>
     </properties>
 
@@ -331,7 +344,24 @@
                     </archive>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <dependencies>
+                    <dependency>
+                        <groupId>com.google.code.maven-svn-wagon</groupId>
+                        <artifactId>maven-svn-wagon</artifactId>
+                        <version>1.4</version>
+                    </dependency>
+                </dependencies>
+            </plugin>
         </plugins>
+        <extensions>
+             <extension>
+                 <groupId>com.google.code.maven-svn-wagon</groupId>
+                 <artifactId>maven-svn-wagon</artifactId>
+                 <version>1.4</version>
+             </extension>
+        </extensions>
     </build>
 
     <repositories>
@@ -391,6 +421,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
+                <version>2.8.1</version>
                 <configuration>
                     <aggregate>true</aggregate>
                     <reportsDirectories>

Modified: chemistry/opencmis/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/src/site/site.xml?rev=1135620&r1=1135619&r2=1135620&view=diff
==============================================================================
--- chemistry/opencmis/trunk/src/site/site.xml (original)
+++ chemistry/opencmis/trunk/src/site/site.xml Tue Jun 14 14:50:12 2011
@@ -19,19 +19,19 @@
 -->
 <project name="OpenCMIS">
 
-	<publishDate position="left" />
-	<version position="right" />
+    <publishDate position="left" />
+    <version position="right" />
 
-	<bannerLeft>
-		<name>${project.name}</name>
-		<src>images/chemistry-logo.png</src>
-		<href>http://chemistry.apache.org/</href>
-	</bannerLeft>
+    <bannerLeft>
+        <name>${project.name}</name>
+        <src>images/chemistry-logo.png</src>
+        <href>http://chemistry.apache.org/java</href>
+    </bannerLeft>
 
     <bannerRight>
-		<name>The Apache Software Foundation</name>
-		<src>images/apache-logo.gif</src>
-		<href>http://chemistry.apache.org/</href>
+        <name>The Apache Software Foundation</name>
+        <src>images/apache-logo.gif</src>
+        <href>http://www.apache.org/</href>
 	</bannerRight>
 
 
@@ -41,18 +41,19 @@
     </poweredBy>
 
 
-	<skin>
-		<groupId>org.apache.maven.skins</groupId>
-		<artifactId>maven-default-skin</artifactId>
-	</skin>
+    <skin>
+        <groupId>org.apache.maven.skins</groupId>
+        <artifactId>maven-default-skin</artifactId>
+        <version>1.0</version>
+    </skin>
 
-	<body>
-		<menu ref="parent" inherit="top" />
+    <body>
+        <menu ref="parent" inherit="top" />
         <menu ref="modules" inherit="top" />
-		<menu ref="reports" inherit="top" />
+        <menu ref="reports" inherit="top" />
 
-		<menu name="Chemistry" inherit="top">
-			<item name="Main Website" href="http://chemistry.apache.org" />
-		</menu>
-	</body>
+        <menu name="Chemistry" inherit="top">
+            <item name="Main Website" href="http://chemistry.apache.org" />
+        </menu>
+    </body>
 </project>
\ No newline at end of file



Mime
View raw message