Skip to content

Commit afd6afc

Browse files
authored
chore: add java 21 profile (#1979)
* chore: add java 21 profile
1 parent 8c95cbe commit afd6afc

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

pom.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,43 @@
610610
</properties>
611611

612612
<profiles>
613+
<profile>
614+
<id>java21</id>
615+
<activation>
616+
<jdk>[21,)</jdk>
617+
</activation>
618+
<build>
619+
<plugins>
620+
<plugin>
621+
<groupId>org.apache.maven.plugins</groupId>
622+
<artifactId>maven-compiler-plugin</artifactId>
623+
<version>3.13.0</version>
624+
<configuration>
625+
<source>1.8</source>
626+
<target>1.8</target>
627+
</configuration>
628+
</plugin>
629+
<plugin>
630+
<groupId>org.apache.maven.plugins</groupId>
631+
<artifactId>maven-javadoc-plugin</artifactId>
632+
<version>3.8.0</version>
633+
<configuration>
634+
<source>1.8</source>
635+
<failOnError>false</failOnError>
636+
</configuration>
637+
<executions>
638+
<execution>
639+
<id>attach-javadocs</id>
640+
<goals>
641+
<goal>jar</goal>
642+
</goals>
643+
</execution>
644+
</executions>
645+
</plugin>
646+
</plugins>
647+
</build>
648+
</profile>
649+
613650
<profile>
614651
<id>native-tests</id>
615652
<build>

0 commit comments

Comments
 (0)