diff --git a/net.sf.eclipsecs.checkstyle/.classpath b/net.sf.eclipsecs.checkstyle/.classpath index ff37644f9..9795c0902 100644 --- a/net.sf.eclipsecs.checkstyle/.classpath +++ b/net.sf.eclipsecs.checkstyle/.classpath @@ -1,6 +1,6 @@ - + diff --git a/net.sf.eclipsecs.checkstyle/.gitignore b/net.sf.eclipsecs.checkstyle/.gitignore index 6c8a351c0..43ae0c321 100644 --- a/net.sf.eclipsecs.checkstyle/.gitignore +++ b/net.sf.eclipsecs.checkstyle/.gitignore @@ -1,2 +1,3 @@ /bin/ /*.zip +checkstyle-*.jar diff --git a/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF b/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF index 997d814fd..234d8a325 100644 --- a/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF +++ b/net.sf.eclipsecs.checkstyle/META-INF/MANIFEST.MF @@ -46,5 +46,5 @@ Export-Package: ., com.puppycrawl.tools.checkstyle.utils, org.apache.commons.beanutils;version="8.35.0" Bundle-ClassPath: ., - checkstyle-8.35-all.jar + checkstyle-all.jar Automatic-Module-Name: net.sf.eclipsecs.checkstyle diff --git a/net.sf.eclipsecs.checkstyle/build.properties b/net.sf.eclipsecs.checkstyle/build.properties index e816eeef1..f44407deb 100644 --- a/net.sf.eclipsecs.checkstyle/build.properties +++ b/net.sf.eclipsecs.checkstyle/build.properties @@ -1,6 +1,6 @@ bin.includes = META-INF/,\ .,\ license/,\ - checkstyle-8.35-all.jar + checkstyle-all.jar jars.compile.order = . source.. = metadata/ diff --git a/net.sf.eclipsecs.checkstyle/checkstyle-8.35-all.jar b/net.sf.eclipsecs.checkstyle/checkstyle-8.35-all.jar deleted file mode 100644 index 37a4f99c0..000000000 Binary files a/net.sf.eclipsecs.checkstyle/checkstyle-8.35-all.jar and /dev/null differ diff --git a/net.sf.eclipsecs.checkstyle/pom.xml b/net.sf.eclipsecs.checkstyle/pom.xml index cdc3b6e3b..a6ccfa82a 100644 --- a/net.sf.eclipsecs.checkstyle/pom.xml +++ b/net.sf.eclipsecs.checkstyle/pom.xml @@ -9,43 +9,34 @@ net.sf.eclipsecs.checkstyle eclipse-plugin Checkstyle Core Library Plugin - + 8.35 + + checkstyle-${checkstyle.version}.zip + https://github.com/checkstyle/checkstyle/archive/${checkstyle.downloadFile} + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + + - - com.googlecode.maven-download-plugin - download-maven-plugin - - - download-checkstyle-src - initialize - - wget - - - . - https://github.com/checkstyle/checkstyle/archive/checkstyle-${checkstyle.version}.zip - checkstyle-checkstyle-${checkstyle.version}.zip - - - - maven-antrun-plugin prepare-package + unpack-checkstyle-src - - - - + @@ -87,4 +78,122 @@ + + + + download-checkstyle-src + + + ${basedir}/checkstyle-checkstyle-8.35.zip + + + + + + com.googlecode.maven-download-plugin + download-maven-plugin + + + download-checkstyle-src + initialize + + wget + + + . + ${checkstyle.srcUrl} + checkstyle-${checkstyle.downloadFile} + + + + + + + + + pack-fat-checkstyle + + + ${basedir}/checkstyle-all-8.35.jar + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.1.2 + + + unpack + initialize + + unpack + + + + + com.puppycrawl.tools + checkstyle + ${checkstyle.version} + ${project.build.directory} + META-INF/MANIFEST.MF + + + + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + jar-with-dependencies + + ${basedir} + checkstyle-all-${checkstyle.version} + false + + jar + + com.puppycrawl.tools + + ${project.build.directory}/META-INF/MANIFEST.MF + + + + + make-assembly + initialize + + single + + + + + + maven-antrun-plugin + + + generate-sources + copy-heckstyle-all-jar + + + + + + + + run + + + + + + + +