Skip to content

Commit

Permalink
fix: animalsniffer to a profile (#975)
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo authored Jan 30, 2025
1 parent 2322b78 commit 83fe0f3
Showing 1 changed file with 31 additions and 20 deletions.
51 changes: 31 additions & 20 deletions java-shared-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -355,26 +355,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.24</version>
<executions>
<execution>
<id>java8</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down Expand Up @@ -717,5 +697,36 @@
</plugins>
</build>
</profile>
<profile>
<id>animal-sniffer</id>
<activation>
<!-- The compatibility check runs by default in CIs -->
<jdk>[1.8,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.24</version>
<executions>
<execution>
<id>java8</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<signature>
<groupId>org.codehaus.mojo.signature</groupId>
<artifactId>java18</artifactId>
<version>1.0</version>
</signature>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 83fe0f3

Please sign in to comment.