mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
Only activate checkstyle (Java 8+) in Java 8+ build
This commit is contained in:
parent
229e5e34db
commit
9a362fc159
18
pom.xml
18
pom.xml
|
@ -117,10 +117,6 @@
|
|||
<groupId>org.apache.rat</groupId>
|
||||
<artifactId>apache-rat-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
|
@ -824,6 +820,20 @@
|
|||
<module>zxing.appspot.com</module>
|
||||
</modules>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>checkstyle</id>
|
||||
<activation>
|
||||
<jdk>[1.8,)</jdk> <!-- won't work with JDK 7 -->
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-checkstyle-plugin</artifactId>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Reference in a new issue