You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2022/02/23 21:27:45 UTC
[sling-org-apache-sling-commons-threads] branch SLING-11161 created (now f03a3bf)
This is an automated email from the ASF dual-hosted git repository.
olli pushed a change to branch SLING-11161
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git.
at f03a3bf SLING-11161 Support testing with different JDKs
This branch includes the following new commits:
new f03a3bf SLING-11161 Support testing with different JDKs
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[sling-org-apache-sling-commons-threads] 01/01: SLING-11161 Support testing with different JDKs
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch SLING-11161
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git
commit f03a3bf1d203609485fdc2f11a40e065a58a836f
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Feb 23 22:24:09 2022 +0100
SLING-11161 Support testing with different JDKs
configure JDK toolchains for testing
---
pom.xml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 62 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 905093e..90b66cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,13 +46,73 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>toolchain</goal>
+ </goals>
+ </execution>
+ </executions>
<configuration>
- <argLine>--add-opens java.base/java.lang=org.apache.sling.commons.threads</argLine>
+ <toolchains>
+ <jdk>
+ <version>1.8</version>
+ </jdk>
+ <jdk>
+ <version>11</version>
+ </jdk>
+ <jdk>
+ <version>17</version>
+ </jdk>
+ </toolchains>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>3.0.0-M5</version>
+ <executions>
+ <execution>
+ <id>8</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <jdkToolchain>
+ <version>1.8</version>
+ </jdkToolchain>
+ </configuration>
+ </execution>
+ <execution>
+ <id>11</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <argLine>--add-opens java.base/java.lang=org.apache.sling.commons.threads</argLine>
+ <jdkToolchain>
+ <version>11</version>
+ </jdkToolchain>
+ </configuration>
+ </execution>
+ <execution>
+ <id>17</id>
+ <goals>
+ <goal>test</goal>
+ </goals>
+ <configuration>
+ <argLine>--add-opens java.base/java.lang=org.apache.sling.commons.threads</argLine>
+ <jdkToolchain>
+ <version>17</version>
+ </jdkToolchain>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<excludePackageNames>