aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2015-10-30 03:31:26 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2015-10-30 03:31:26 +0000
commitbeb77e7da50a2e9bc761e08010491e2eee98a138 (patch)
tree92ca49bd5f92f20c5d131a0f23d021cf28db57e7 /pom.xml
parentf98954ce8f90ebebc6ce7ae636eb7f7a474b24d4 (diff)
downloadjackcess-beb77e7da50a2e9bc761e08010491e2eee98a138.tar.gz
jackcess-beb77e7da50a2e9bc761e08010491e2eee98a138.zip
pretty up the site
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@959 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml53
1 files changed, 52 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 817a0fa..b678c1d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>com.healthmarketscience</groupId>
<artifactId>openhms-parent</artifactId>
- <version>1.1.1</version>
+ <version>1.1.2</version>
</parent>
<groupId>com.healthmarketscience.jackcess</groupId>
<artifactId>jackcess</artifactId>
@@ -208,6 +208,54 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.google.code.maven-replacer-plugin</groupId>
+ <artifactId>replacer</artifactId>
+ <version>1.5.3</version>
+ <executions>
+ <execution>
+ <id>no-regex</id>
+ <phase>site</phase>
+ <goals>
+ <goal>replace</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>${project.build.directory}/site/apidocs/**/*.html</include>
+ </includes>
+ <regex>false</regex>
+ <replacements>
+ <replacement>
+ <token>&lt;pre&gt;</token>
+ <value>&lt;div class="source"&gt;&lt;pre class="prettyprint linenums"&gt;</value>
+ </replacement>
+ <replacement>
+ <token>&lt;/pre&gt;</token>
+ <value>&lt;/pre&gt;&lt;/div&gt;</value>
+ </replacement>
+ </replacements>
+ </configuration>
+ </execution>
+ <execution>
+ <id>with-regex</id>
+ <phase>site</phase>
+ <goals>
+ <goal>replace</goal>
+ </goals>
+ <configuration>
+ <includes>
+ <include>${project.build.directory}/site/apidocs/**/*.html</include>
+ </includes>
+ <replacements>
+ <replacement>
+ <token>\s+&lt;/pre&gt;</token>
+ <value>&lt;/pre&gt;</value>
+ </replacement>
+ </replacements>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<dependencies>
@@ -293,6 +341,9 @@
</taglet>
</taglets>
<quiet>true</quiet>
+ <top><![CDATA[
+ <script type="text/javascript" src="{@docRoot}/../js/apache-maven-fluido-1.4.min.js"></script>
+ ]]></top>
</configuration>
</plugin>
</plugins>