HBASE-7593 [site] Adjustments to suit our new publishing process
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1434481 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ec117ea67d
commit
ca39e39db9
10
pom.xml
10
pom.xml
|
@ -32,7 +32,7 @@
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.apache</groupId>
|
<groupId>org.apache</groupId>
|
||||||
<artifactId>apache</artifactId>
|
<artifactId>apache</artifactId>
|
||||||
<version>8</version>
|
<version>12</version>
|
||||||
<relativePath/>
|
<relativePath/>
|
||||||
<!-- no parent resolution -->
|
<!-- no parent resolution -->
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -747,6 +747,7 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
<artifactId>maven-resources-plugin</artifactId>
|
||||||
<version>${maven.resources.plugin.version}</version>
|
<version>${maven.resources.plugin.version}</version>
|
||||||
<!--$NO-MVN-MAN-VER$ -->
|
<!--$NO-MVN-MAN-VER$ -->
|
||||||
|
@ -886,7 +887,7 @@
|
||||||
<findbugs-annotations>1.3.9-1</findbugs-annotations>
|
<findbugs-annotations>1.3.9-1</findbugs-annotations>
|
||||||
<maven.site.version>3.1</maven.site.version>
|
<maven.site.version>3.1</maven.site.version>
|
||||||
<javadoc.version>2.9</javadoc.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 -->
|
<!-- General Packaging -->
|
||||||
<package.prefix>/usr</package.prefix>
|
<package.prefix>/usr</package.prefix>
|
||||||
<package.conf.dir>/etc/hbase</package.conf.dir>
|
<package.conf.dir>/etc/hbase</package.conf.dir>
|
||||||
|
@ -1702,8 +1703,9 @@
|
||||||
</reporting>
|
</reporting>
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<site>
|
<site>
|
||||||
<id>apache.website</id>
|
<id>hbase.apache.org</id>
|
||||||
<url>scp://people.apache.org/www/hbase.apache.org/</url>
|
<name>HBase Website at hbase.apache.org</name>
|
||||||
|
<url>file:///tmp</url>
|
||||||
</site>
|
</site>
|
||||||
</distributionManagement>
|
</distributionManagement>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -335,12 +335,15 @@ What is the new development version for "HBase"? (org.apache.hbase:hbase) 0.92.3
|
||||||
<title>Publishing hbase.apache.org</title>
|
<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>,
|
<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>,
|
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
|
and hbase.apache.org is checked out at <filename>/Users/stack/checkouts/hbase.apache.org/trunk</filename>, to update
|
||||||
the site, do the following:
|
the site, do the following:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
# Build the site and deploy it to the checked out directory
|
# 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.
|
# 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
|
# If all is good, commit it and it will show up at http://hbase.apache.org
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue