Configure the site for every module

This commit is contained in:
Andreas Dangel
2014-10-08 21:49:23 +02:00
parent bc9469e385
commit 475745e98e
29 changed files with 417 additions and 153 deletions

View File

@ -41,6 +41,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd-build</artifactId>
<configuration>
<rulesetsDirectory>${basedir}/src/main/resources/rulesets</rulesetsDirectory>
<siteXml>${basedir}/src/site/site.pre.xml</siteXml>
<siteXmlTarget>${basedir}/src/site/site.xml</siteXmlTarget>
<target>${basedir}/src/site/xdoc/rules</target>
</configuration>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>pmd-pre-site</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>

View File

@ -0,0 +1,5 @@
# PMD JavaScript
Contains the PMD implementation to support the JavaScript programming language.
For the available rules, see <a href="rules/index.html">rulesets index</a> page.

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/DECORATION/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd"
name="PMD JavaScript">
<body>
<menu ref="parent"/>
<!-- The rulesets part of navigation will be added during pre-site and the
list is build dynamically based on rulesets folder directory layout -->
<menu name="Rule Sets"/>
<!-- *********** -->
<menu ref="reports"/>
</body>
</project>