Skip to content

Commit 1134eee

Browse files
author
TheSnoozer
committed
inside the poml use checkstyle.version 6.11.2 by default and remove the profile that gets activated with java7...if one wants to use a different checkstyle version provide the desired version via command-line args like 'mvn clean verify -Pcheckstyle -Dcheckstyle.version=8.2 -Dmaven.test.skip=true -B'
1 parent f782651 commit 1134eee

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix:
2929
env: CUSTOM_MVN_VERION="3.5.0"
3030
- stage: checkstyle
3131
jdk: oraclejdk9
32-
script: mvn clean verify -Pcheckstyle -Dmaven.test.skip=true -B
32+
script: mvn clean verify -Pcheckstyle -Dcheckstyle.version=8.2 -Dmaven.test.skip=true -B
3333

3434
install:
3535
- if [[ -n "${CUSTOM_MVN_VERION}" ]]; then

pom.xml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -419,22 +419,12 @@
419419
</plugins>
420420
</build>
421421
</profile>
422-
<profile>
423-
<id>checkstyleWithJdk17</id>
424-
<activation>
425-
<jdk>1.7</jdk>
426-
</activation>
427-
<properties>
428-
<!-- if you update the checkstyle version make sure you update the google_checks.xml inside the repository -->
429-
<checkstyle.version>6.11.2</checkstyle.version>
430-
</properties>
431-
</profile>
432422
<profile>
433423
<id>checkstyle</id>
434424
<properties>
435425
<maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version>
436426
<!-- if you update the checkstyle version make sure you update the google_checks.xml inside the repository -->
437-
<checkstyle.version>8.2</checkstyle.version>
427+
<checkstyle.version>6.11.2</checkstyle.version>
438428
</properties>
439429
<build>
440430
<pluginManagement>

0 commit comments

Comments
 (0)