Skip to content

Commit afe7818

Browse files
committed
[ci] Cleanup java 7 check using configuration properties instead
1 parent c269462 commit afe7818

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

pom.xml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080
<maven.compiler.testTarget>1.7</maven.compiler.testTarget>
8181
<maven.compiler.testSource>1.7</maven.compiler.testSource>
8282

83+
<signature.artifact>java17</signature.artifact>
84+
<signature.version>1.0</signature.version>
85+
8386
<clirr.comparisonVersion>1.1.2</clirr.comparisonVersion>
8487
</properties>
8588

@@ -116,30 +119,4 @@
116119
</dependency>
117120
</dependencies>
118121

119-
<build>
120-
<plugins>
121-
<plugin>
122-
<groupId>org.codehaus.mojo</groupId>
123-
<artifactId>animal-sniffer-maven-plugin</artifactId>
124-
<version>1.15</version>
125-
<configuration>
126-
<signature>
127-
<groupId>org.codehaus.mojo.signature</groupId>
128-
<artifactId>java17</artifactId>
129-
<version>1.0</version>
130-
</signature>
131-
</configuration>
132-
<executions>
133-
<execution>
134-
<id>check-java-1.7-compat</id>
135-
<phase>process-classes</phase>
136-
<goals>
137-
<goal>check</goal>
138-
</goals>
139-
</execution>
140-
</executions>
141-
</plugin>
142-
</plugins>
143-
</build>
144-
145122
</project>

0 commit comments

Comments
 (0)