forked from phoedos/pmd
Configure the site for every module
This commit is contained in:
@ -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>
|
||||
|
5
pmd-javascript/src/site/markdown/index.md
Normal file
5
pmd-javascript/src/site/markdown/index.md
Normal 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.
|
23
pmd-javascript/src/site/site.pre.xml
Normal file
23
pmd-javascript/src/site/site.pre.xml
Normal 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>
|
Reference in New Issue
Block a user