diff --git a/.travis.yml b/.travis.yml index de2cd35..92f029f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,10 @@ language: scala +dist: trusty scala: - - 2.10.3 + - 2.12.8 jdk: - - oraclejdk7 - - openjdk7 + - oraclejdk8 + - openjdk8 notifications: email: - matthew@farwell.co.uk diff --git a/README.md b/README.md index d648224..ca44560 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Default phase of execution is `verify`. The following is an example of a configu org.scalastyle scalastyle-maven-plugin - 0.8.0 + 1.1.0 false true diff --git a/pom.xml b/pom.xml index 2714406..2a7e7c0 100644 --- a/pom.xml +++ b/pom.xml @@ -10,26 +10,39 @@ maven-plugin 1.1.0-SNAPSHOT Scalastyle Maven Plugin - Integrates Scalastyle style checker for Scala with maven + Integrates Scalastyle style checker for Scala with Maven 2012 - ${maven.version} + ${maven.compat.version} - scalastyle_2.11 - 1.1.0-SNAPSHOT - 3.0 - 1.5 - 1.5 - 4.11 + UTF-8 + + 1.8 + 2.12 + 3.6.1 + 3.0 + + 3.6.0 + 3.8.1 + 3.1.0 + 3.2.0 + 1.6 + 1.0.0 + 3.6.0 + 1.1.0 + 3.3.0 + + 1.0.0 + 4.12 org.scalastyle - ${scalastyle.artifactId} + scalastyle_${compiler.scala.compat.version} ${scalastyle.version} @@ -41,7 +54,7 @@ org.apache.maven.plugin-tools maven-plugin-annotations - 3.2 + ${maven-plugin-annotations.version} provided @@ -53,7 +66,7 @@ org.codehaus.plexus plexus-resources - 1.0-alpha-7 + ${plexus-resources.version} @@ -66,7 +79,7 @@ org.apache.maven.plugin-testing maven-plugin-testing-harness - 1.2 + ${maven-plugin-testing-harness.version} test @@ -77,7 +90,7 @@ org.apache.maven.plugins maven-plugin-plugin - 3.2 + ${maven-plugin-plugin.version} true @@ -99,17 +112,17 @@ org.apache.maven.plugins maven-compiler-plugin - 2.3.2 + ${maven-compiler-plugin.version} - 1.5 - 1.5 - UTF-8 + ${compiler.java.version} + ${compiler.java.version} + ${project.build.sourceEncoding} org.apache.maven.plugins maven-source-plugin - 2.1.2 + ${maven-source-plugin.version} attach-sources @@ -122,7 +135,7 @@ maven-invoker-plugin - 1.5 + ${maven-invoker-plugin.version} src/it/settings.xml ${project.build.directory}/it @@ -157,7 +170,7 @@ org.eclipse.m2e lifecycle-mapping - 1.0.0 + ${lifecycle-mapping.version} @@ -210,7 +223,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.1 + ${maven-gpg-plugin.version} sign-artifacts @@ -250,7 +263,7 @@ ${basedir}/src/test/scala ${basedir}/build-tools/scalastyle_config.xml ${project.build.directory}/scalastyle-output.xml - UTF-8 + ${project.build.sourceEncoding}