diff --git a/config/assembly-bin.xml b/config/assembly-bin.xml new file mode 100644 index 000000000..23f909d3d --- /dev/null +++ b/config/assembly-bin.xml @@ -0,0 +1,41 @@ + + + bin + + tar.gz + zip + + + true + + + + ${project.build.directory}/${project.name}-${project.version}-all.jar + + + + + true + + checkstyle_checks.xml + import-control.xml + sun_checks.xml + suppressions.xml + contrib/** + java.header + LICENSE* + README + RIGHTS.antlr + + + + + + + true + + + diff --git a/config/assembly-src.xml b/config/assembly-src.xml new file mode 100644 index 000000000..575ad8d5f --- /dev/null +++ b/config/assembly-src.xml @@ -0,0 +1,23 @@ + + + src + + tar.gz + zip + + + + + true + + target/** + *.launch + nbactions.xml + lib/** + + + + diff --git a/pom.xml b/pom.xml index 22d7fb248..08223927f 100755 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ checkstyle 5.2-SNAPSHOT jar - Checkstyle + checkstyle http://checkstyle.sourceforge.net/ 2001 @@ -129,20 +129,40 @@ src/tests - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.5 - 1.5 - - - - - + + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + + + + + org.apache.maven.plugins + maven-enforcer-plugin + + + enforce-versions + + enforce + + + + + 1.5 + + + java.vendor + ^Sun Microsystems Inc\.$ + + + + + + + org.codehaus.mojo @@ -243,14 +263,77 @@ - + + org.codehaus.mojo + exec-maven-plugin + + + runner + + java + + + + + com.puppycrawl.tools.checkstyle.gui.Main + runtime + + + org.apache.maven.plugins - maven-javadoc-plugin - + maven-shade-plugin + + + package + + shade + + + true + all + + + com.puppycrawl.tools.checkstyle.Main + + + + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + true + true + + + + + maven-assembly-plugin + + + config/assembly-bin.xml + config/assembly-src.xml + + + + + make-bundle + package + + single + + + + @@ -262,9 +345,17 @@ 1.5 + + + default + + javadoc + + + + - diff --git a/src/site/site.xml b/src/site/site.xml index d79345582..dbe706aa1 100755 --- a/src/site/site.xml +++ b/src/site/site.xml @@ -6,10 +6,10 @@ + - @@ -43,8 +43,6 @@ - -