Skip to content

Commit

Permalink
chore: add java 21 profile (#1979)
Browse files Browse the repository at this point in the history
* chore: add java 21 profile
  • Loading branch information
mpeddada1 authored Aug 16, 2024
1 parent 8c95cbe commit afd6afc
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,43 @@
</properties>

<profiles>
<profile>
<id>java21</id>
<activation>
<jdk>[21,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>native-tests</id>
<build>
Expand Down

0 comments on commit afd6afc

Please sign in to comment.