blob: 23735b349dab092eb093f2b32c449c537acc4164 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<document xmlns="http://maven.apache.org/XDOC/2.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">
<properties>
<title>How to build this site in maven</title>
</properties>
<body>
<section name="Summary">
<p>We build this site with Maven using the fluido plugin. Due to difficulties with the maven site plugin and munge working together, we build the site using a profile that does not require munge.</p>
<ul>
<li>Start at the parent directory and do <source>mvn -Phadoop_2 clean site -DskipTests</source></li>
<li>Then we need to stage this site since it has multiple modules with <source>mvn -Phadoop_2 site:stage -DskipTests</source></li>
<li>You can check the results of the site building and staging in <source>target/staging</source> and then deploy as necessary.</li>
<li>To deploy, check out the site from svn with <source>svn co https://svn.apache.org/repos/asf/giraph/site</source>. Remove everything and then copy the staged site to the directory and then commit. All changes should be live immediately.</li>
</ul>
</section>
</body>
</document>