You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@twill.apache.org by ch...@apache.org on 2016/06/21 23:23:42 UTC
[5/5] incubator-twill git commit: Moved site generation to it’s own profile.
Moved site generation to it\u2019s own profile.
Project: http://git-wip-us.apache.org/repos/asf/incubator-twill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-twill/commit/6c7809d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-twill/tree/6c7809d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-twill/diff/6c7809d1
Branch: refs/heads/site
Commit: 6c7809d19f14235525c7dc6ff92e33c5cad92a8d
Parents: 85d5db1
Author: Terence Yim <ch...@apache.org>
Authored: Tue Jun 21 16:23:33 2016 -0700
Committer: Terence Yim <ch...@apache.org>
Committed: Tue Jun 21 16:23:33 2016 -0700
----------------------------------------------------------------------
pom.xml | 118 +++++++++++++++++++++++++++++++++++++++++++++++++
src/site/site.xml | 5 +++
2 files changed, 123 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/6c7809d1/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index aa6cf53..e65930f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -734,6 +734,124 @@
<module>twill-java8-test</module>
</modules>
</profile>
+ <profile>
+ <id>site</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.4</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-core</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.doxia</groupId>
+ <artifactId>doxia-module-markdown</artifactId>
+ <version>1.6</version>
+ </dependency>
+ <dependency>
+ <groupId>lt.velykis.maven.skins</groupId>
+ <artifactId>reflow-velocity-tools</artifactId>
+ <version>1.1.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.velocity</groupId>
+ <artifactId>velocity</artifactId>
+ <version>1.7</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.11</version>
+ <configuration>
+ <excludes>
+ <exclude>.git/**/*</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>target/**/*</exclude>
+ <exclude>**/README</exclude>
+ <exclude>src/test/resources/header.txt</exclude>
+ <exclude>**/zookeeper.out</exclude>
+ <exclude>twill-java8-test/target/**</exclude>
+ <exclude>src/site/resources/**</exclude>
+ </excludes>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ <version>2.7</version>
+ <reportSets>
+ <reportSet>
+ <reports/>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <inherited>false</inherited>
+ <reports>
+ <report>index</report>
+ <report>mailing-list</report>
+ <report>scm</report>
+ <report>issue-tracking</report>
+ <report>project-team</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9.1</version>
+ <configuration>
+ <failOnError>false</failOnError>
+ <excludePackageNames>*.internal.*:echo:*.example.*</excludePackageNames>
+ <links>
+ <link>http://download.oracle.com/javase/6/docs/api/</link>
+ </links>
+ <bottom>
+ <![CDATA[Copyright © 2013-2016 <a href="http://www.apache.org">The Apache Software Foundation</a>. All rights reserved.]]>
+ </bottom>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>javadoc</report>
+ </reports>
+ </reportSet>
+ <reportSet>
+ <id>aggregate</id>
+ <inherited>false</inherited>
+ <reports>
+ <report>aggregate</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.14.1</version>
+ </plugin>
+ </plugins>
+ </reporting>
+ </profile>
</profiles>
<dependencyManagement>
http://git-wip-us.apache.org/repos/asf/incubator-twill/blob/6c7809d1/src/site/site.xml
----------------------------------------------------------------------
diff --git a/src/site/site.xml b/src/site/site.xml
index bed9695..ca9370a 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -46,6 +46,9 @@
</skin>
<body>
+ <head>
+ <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/styles/default.min.css"/>
+ </head>
<breadcrumbs position="left">
<item name="Apache Twill" href="http://twill.incubator.apache.org/index.html"/>
</breadcrumbs>
@@ -88,6 +91,7 @@
and the Apache Twill project logos are trademarks of The Apache Software Foundation.
All other marks mentioned may be trademarks or registered trademarks of their respective owners.
</div>
+ <script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.4.0/highlight.min.js"></script>
</footer>
</body>
@@ -95,6 +99,7 @@
<reflowSkin>
<theme>bootswatch-flatly</theme>
<smoothScroll>true</smoothScroll>
+ <markPageHeader>false</markPageHeader>
<bottomNav maxSpan="9" >
<column>Documentation</column>
<column>Releases</column>