hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1434481 - in /hbase/trunk: pom.xml src/docbkx/developer.xml
Date Wed, 16 Jan 2013 23:20:04 GMT
Author: stack
Date: Wed Jan 16 23:20:04 2013
New Revision: 1434481

URL: http://svn.apache.org/viewvc?rev=1434481&view=rev
Log:
HBASE-7593 [site] Adjustments to suit our new publishing process

Modified:
    hbase/trunk/pom.xml
    hbase/trunk/src/docbkx/developer.xml

Modified: hbase/trunk/pom.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/pom.xml?rev=1434481&r1=1434480&r2=1434481&view=diff
==============================================================================
--- hbase/trunk/pom.xml (original)
+++ hbase/trunk/pom.xml Wed Jan 16 23:20:04 2013
@@ -32,7 +32,7 @@
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>8</version>
+    <version>12</version>
     <relativePath/>
     <!-- no parent resolution -->
   </parent>
@@ -747,6 +747,7 @@
         </executions>
       </plugin>
       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
         <version>${maven.resources.plugin.version}</version>
         <!--$NO-MVN-MAN-VER$ -->
@@ -886,7 +887,7 @@
     <findbugs-annotations>1.3.9-1</findbugs-annotations>
     <maven.site.version>3.1</maven.site.version>
     <javadoc.version>2.9</javadoc.version>
-    <maven.resources.plugin.version>2.5</maven.resources.plugin.version>
+    <maven.resources.plugin.version>2.6</maven.resources.plugin.version>
     <!-- General Packaging -->
     <package.prefix>/usr</package.prefix>
     <package.conf.dir>/etc/hbase</package.conf.dir>
@@ -1701,9 +1702,10 @@
     </plugins>
   </reporting>
   <distributionManagement>
-    <site>
-      <id>apache.website</id>
-      <url>scp://people.apache.org/www/hbase.apache.org/</url>
-    </site>
+      <site>
+          <id>hbase.apache.org</id>
+          <name>HBase Website at hbase.apache.org</name>
+          <url>file:///tmp</url>
+      </site>
   </distributionManagement>
 </project>

Modified: hbase/trunk/src/docbkx/developer.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/developer.xml?rev=1434481&r1=1434480&r2=1434481&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/developer.xml (original)
+++ hbase/trunk/src/docbkx/developer.xml Wed Jan 16 23:20:04 2013
@@ -335,12 +335,15 @@ What is the new development version for 
       <title>Publishing hbase.apache.org</title>
       <para>As of <link xlink:href="https://issues.apache.org/jira/browse/INFRA-5680">INFRA-5680
Migrate apache hbase website</link>,
           to publish the website, build it, and then deploy it over a checkout of <filename>https://svn.apache.org/repos/asf/hbase/hbase.apache.org/trunk</filename>,
-          and then check it in.  For example, if trunk is checkout out at <filename>/Users/stack/checkouts/hbase</filename>
+          and then check it in.  For example, if trunk is checked out out at <filename>/Users/stack/checkouts/trunk</filename>
           and hbase.apache.org is checked out at <filename>/Users/stack/checkouts/hbase.apache.org/trunk</filename>,
to update
           the site, do the following:
           <programlisting>
               # Build the site and deploy it to the checked out directory
-              $ MAVEN_OPTS=" -Xmx3g" mvn site site:stage -DskipTests -DstagingDirectory="/Users/stack/checkouts/hbase.apache.org/trunk"
+              # Getting the javadoc into site is a little tricky.  You have to build it independent,
then
+              # 'aggregate' it at top-level so the pre-site site lifecycle step can find
it; that is
+              # what the javadoc:javadoc and javadoc:aggregate is about.
+              $ MAVEN_OPTS=" -Xmx3g" mvn clean -DskipTests javadoc:javadoc javadoc:aggregate
site  site:stage -DstagingDirectory=/Users/stack/checkouts/hbase.apache.org/trunk
               # Check the deployed site by viewing in a brower.
               # If all is good, commit it and it will show up at http://hbase.apache.org
               #



Mime
View raw message