Drop JDK 7 profile Signed-off-by: jansupol <jan.supol@oracle.com>
diff --git a/pom.xml b/pom.xml index 0badc27..0c43a83 100644 --- a/pom.xml +++ b/pom.xml
@@ -875,6 +875,27 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <executions> + <execution> + <id>verify</id> + <phase>validate</phase> + <goals> + <!-- Fail the build if checkstyle rules for contributions are not met. --> + <goal>check</goal> + </goals> + <configuration> + <configLocation>etc/config/checkstyle-verify.xml</configLocation> + <consoleOutput>true</consoleOutput> + <failOnViolation>true</failOnViolation> + <includeTestSourceDirectory>true</includeTestSourceDirectory> + <excludes>**/module-info.java</excludes> + </configuration> + </execution> + </executions> + </plugin> </plugins> <extensions> <extension> @@ -1191,37 +1212,6 @@ </distributionManagement> </profile> <profile> - <id>jdk1.7+</id> - <activation> - <jdk>[1.7,)</jdk> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <executions> - <execution> - <id>verify</id> - <phase>validate</phase> - <goals> - <!-- Fail the build if checkstyle rules for contributions are not met. --> - <goal>check</goal> - </goals> - <configuration> - <configLocation>etc/config/checkstyle-verify.xml</configLocation> - <consoleOutput>true</consoleOutput> - <failOnViolation>true</failOnViolation> - <includeTestSourceDirectory>true</includeTestSourceDirectory> - <excludes>**/module-info.java</excludes> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - <profile> <id>sonar</id> <properties> <!-- Sonar/Reporting settings (heavily inspired at http://www.aheritier.net/maven-failsafe-sonar-and-jacoco-are-in-a-boat/ -->