You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by si...@apache.org on 2012/06/26 11:00:51 UTC

svn commit: r1353878 - in /incubator/any23/trunk: pom.xml src/site/xdoc/release-howto.xml

Author: simonetripodi
Date: Tue Jun 26 09:00:50 2012
New Revision: 1353878

URL: http://svn.apache.org/viewvc?rev=1353878&view=rev
Log:
site not turned on by default since it is not (yet) possible ATM to deploy the site directly on the target, but has to be managed via svn+SvnPubSub - activate it via the 'site' profile

Modified:
    incubator/any23/trunk/pom.xml
    incubator/any23/trunk/src/site/xdoc/release-howto.xml

Modified: incubator/any23/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/pom.xml?rev=1353878&r1=1353877&r2=1353878&view=diff
==============================================================================
--- incubator/any23/trunk/pom.xml (original)
+++ incubator/any23/trunk/pom.xml Tue Jun 26 09:00:50 2012
@@ -672,23 +672,6 @@
           </execution>
         </executions>
       </plugin>
-
-      <!-- Maven site plugin. -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>${maven-site-plugin.version}</version>
-        <dependencies>
-          <dependency>
-            <groupId>org.jvnet.wagon-svn</groupId>
-            <artifactId>wagon-svn</artifactId>
-            <version>${wagon-svn.version}</version>
-          </dependency>
-        </dependencies>
-        <configuration>
-          <stagingSiteURL>${site.deploymentBaseUrl}/${project.version}</stagingSiteURL>
-        </configuration>
-      </plugin>
     </plugins>
 
     <resources>
@@ -974,6 +957,61 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>site</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-site-plugin</artifactId>
+            <version>${maven-site-plugin.version}</version>
+            <configuration>
+              <locales>en</locales>
+              <reportPlugins>
+                <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-project-info-reports-plugin</artifactId>
+                  <version>2.4</version>
+                  <configuration>
+                    <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                    <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+                    <anonymousConnection>scm:svn:http://svn.apache.org/repos/asf/incubator/any23/trunk</anonymousConnection>
+                    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/any23/trunk</developerConnection>
+                    <webAccessUrl>http://svn.apache.org/viewvc/incubator/any23/trunk</webAccessUrl>
+                  </configuration>
+                  <reportSets>
+                    <reportSet>
+                      <reports>
+                        <report>index</report>
+                        <report>mailing-list</report>
+                        <report>project-team</report>
+                        <report>scm</report>
+                        <report>cim</report>
+                        <report>issue-tracking</report>
+                        <report>license</report>
+                      </reports>
+                    </reportSet>
+                  </reportSets>
+                </plugin>
+                <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-javadoc-plugin</artifactId>
+                  <version>${maven-javadoc-plugin.version}</version>
+                  <reportSets>
+                    <reportSet>
+                      <reports>
+                        <report>aggregate</report>
+                      </reports>
+                    </reportSet>
+                  </reportSets>
+                </plugin>
+              </reportPlugins>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>

Modified: incubator/any23/trunk/src/site/xdoc/release-howto.xml
URL: http://svn.apache.org/viewvc/incubator/any23/trunk/src/site/xdoc/release-howto.xml?rev=1353878&r1=1353877&r2=1353878&view=diff
==============================================================================
--- incubator/any23/trunk/src/site/xdoc/release-howto.xml (original)
+++ incubator/any23/trunk/src/site/xdoc/release-howto.xml Tue Jun 26 09:00:50 2012
@@ -180,7 +180,7 @@ gpg: Signature made ...</source>
 svn checkout https://svn.apache.org/repos/asf/incubator/syncope/tags/any23-&lt;version&gt; any23-&lt;version&gt;
 cd any23-&lt;version&gt;
 mvn clean install
-mvn site -Dsite.deploymentBaseUrl=file:///&lt;absolute path to ../site/&lt;version&gt;&gt;
+mvn -P site site-deploy -Dsite.deploymentBaseUrl=file:///&lt;absolute path to ../site/&lt;version&gt;&gt;
 cd ../site/&lt;version&gt;
 svn add &lt;version&gt;
 svn commit -m "staging site for release"</source>