[doc] Remove old maven site
@ -1,44 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
source .travis/common-functions.sh
|
||||
|
||||
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.5.0:exec | tail -1)
|
||||
echo "Building PMD Site ${VERSION} on branch ${TRAVIS_BRANCH}"
|
||||
|
||||
if ! travis_isPush; then
|
||||
echo "Not building site, since this is not a push!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
(
|
||||
# Run the build, truncate output due to Travis log limits
|
||||
|
||||
echo -e "\n\nExecuting ./mvnw install..."
|
||||
travis_wait ./mvnw install -DskipTests=true -B -V -q
|
||||
echo "Finished executing ./mvnw install"
|
||||
|
||||
echo -e "\n\nExecuting ./mvnw site site:stage...
|
||||
travis_wait 40 ./mvnw site site:stage -DskipTests=true -Psite -B -V -q
|
||||
echo "Finished executing ./mvnw site site:stage..."
|
||||
)
|
||||
|
||||
echo -e "\n\nCreating pmd-doc archive...\n\n"
|
||||
(
|
||||
cd target
|
||||
mv staging pmd-doc-${VERSION}
|
||||
zip -qr pmd-doc-${VERSION}.zip pmd-doc-${VERSION}/
|
||||
)
|
||||
|
||||
# Uploading pmd doc distribution to sourceforge
|
||||
if [[ "$TRAVIS_TAG" != "" || "$VERSION" == *-SNAPSHOT ]]; then
|
||||
rsync -avh target/pmd-doc-${VERSION}.zip ${PMD_SF_USER}@web.sourceforge.net:/home/frs/project/pmd/pmd/${VERSION}/
|
||||
fi
|
||||
|
||||
(
|
||||
if [[ "$VERSION" == *-SNAPSHOT && "$TRAVIS_BRANCH" == "master" ]]; then
|
||||
echo -e "\n\nUploading snapshot site...\n\n"
|
||||
travis_wait rsync -ah --stats --delete target/pmd-doc-${VERSION}/ ${PMD_SF_USER}@web.sourceforge.net:/home/project-web/pmd/htdocs/snapshot/
|
||||
fi
|
||||
)
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@ -10,6 +10,9 @@ folder: pmd/devdocs
|
||||
|
||||
# XPath Rule tutorial
|
||||
|
||||
{% include note.html content="For a translation to Gregorian, see [webhostinggeeks.com/science/xpath-sourceforge-ka](http://webhostinggeeks.com/science/xpath-sourceforge-ka)" %}
|
||||
|
||||
|
||||
Writing PMD rules with XPath can be a bit easier than writing rules with Java code. Here’s an introduction on how to do that.
|
||||
|
||||
## Introduction
|
||||
|
@ -1,5 +0,0 @@
|
||||
# PMD Apex
|
||||
|
||||
Contains the PMD implementation to support the Apex programming language.
|
||||
|
||||
Please note, that this module requires a Java 8 runtime environment.
|
@ -1,23 +0,0 @@
|
||||
<?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 Apex">
|
||||
|
||||
<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>
|
@ -1,3 +0,0 @@
|
||||
# PMD
|
||||
|
||||
Contains the core packages and API needed to implement support for specific languages.
|
@ -1,3 +0,0 @@
|
||||
# PMD C++
|
||||
|
||||
Only CPD is supported. There are no PMD rules for C++.
|
@ -1,3 +0,0 @@
|
||||
# PMD C##
|
||||
|
||||
Only CPD is supported. There are no PMD rules for C#.
|
@ -1,3 +0,0 @@
|
||||
# PMD Distribution Packages
|
||||
|
||||
This is the maven module, which generates the binary and source packages of PMD.
|
@ -1,3 +0,0 @@
|
||||
# PMD Fortran
|
||||
|
||||
Only CPD is supported. There are no PMD rules for Fortran.
|
@ -1,3 +0,0 @@
|
||||
# PMD Go
|
||||
|
||||
Only CPD is supported. There are no PMD rules for [Go](https://golang.org/).
|
@ -1,3 +0,0 @@
|
||||
# PMD Groovy
|
||||
|
||||
Only CPD is supported. There are no PMD rules for Groovy at the moment.
|
@ -1,5 +0,0 @@
|
||||
# PMD Java
|
||||
|
||||
Contains the PMD implementation to support the Java programming language.
|
||||
|
||||
For the available rules, see <a href="rules/index.html">rulesets index</a> page.
|
@ -1,23 +0,0 @@
|
||||
<?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 Java">
|
||||
|
||||
<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>
|
@ -1,5 +0,0 @@
|
||||
# PMD Java8 Integration Tests
|
||||
|
||||
Some integrations test for the language module pmd-java require
|
||||
compiled java classes, which use the class format of java8.
|
||||
This module contains these test classes.
|
@ -1,5 +0,0 @@
|
||||
# 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.
|
@ -1,23 +0,0 @@
|
||||
<?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>
|
@ -1,5 +0,0 @@
|
||||
# PMD JSP
|
||||
|
||||
Contains the PMD implementation to support Java Server Pages.
|
||||
|
||||
For the available rules, see <a href="rules/index.html">rulesets index</a> page.
|
@ -1,23 +0,0 @@
|
||||
<?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 JSP">
|
||||
|
||||
<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>
|
@ -1,3 +0,0 @@
|
||||
# PMD Matlab
|
||||
|
||||
Only CPD is supported. There are no PMD rules for Matlab.
|
@ -1,3 +0,0 @@
|
||||
# PMD Objective-C
|
||||
|
||||
Only CPD is supported. There are no PMD rules for Objective-C.
|
@ -1,5 +0,0 @@
|
||||
# PMD Perl
|
||||
|
||||
Contains the PMD implementation to support the Perl programming language.
|
||||
|
||||
Only very basic CPD support is implemented currently.
|
@ -1,3 +0,0 @@
|
||||
# PMD PHP
|
||||
|
||||
Only CPD is supported. There are no PMD rules for PHP.
|
@ -1,5 +0,0 @@
|
||||
# PMD PL/SQL
|
||||
|
||||
Contains the PMD implementation to support PL/SQL.
|
||||
|
||||
For the available rules, see <a href="rules/index.html">rulesets index</a> page.
|
@ -1,23 +0,0 @@
|
||||
<?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 PL/SQL">
|
||||
|
||||
<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>
|