Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[all] Enabling the support of JDK 12, 13 and 14 for the SARL users.
JDK 12 to 14 could be used for running the SARL maven compiler and the sarlc compiler. see #955 Signed-off-by: Stéphane Galland <galland@arakhne.org>
- Loading branch information
1 parent
972a123
commit b656b88
Showing
13 changed files
with
710 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<parent> | ||
<groupId>io.sarl</groupId> | ||
<artifactId>io.sarl.tests</artifactId> | ||
<version>0.12.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>crossplatform.tests</artifactId> | ||
<name>Tests of SARL on different JDK</name> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.sarl.maven</groupId> | ||
<artifactId>sarl-maven-plugin</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.sarl.lang</groupId> | ||
<artifactId>io.sarl.lang.core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>io.sarl.lang</groupId> | ||
<artifactId>io.sarl.lang</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-engine</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.junit.jupiter</groupId> | ||
<artifactId>junit-jupiter-params</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.maven.shared</groupId> | ||
<artifactId>maven-verifier</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.maven</groupId> | ||
<artifactId>maven-plugin-api</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.google.code.maven-replacer-plugin</groupId> | ||
<artifactId>replacer</artifactId> | ||
<executions> | ||
<execution> | ||
<id>prepare-test-resources</id> | ||
<phase>generate-test-resources</phase> | ||
<goals> | ||
<goal>replace</goal> | ||
</goals> | ||
<configuration> | ||
<encoding>${project.build.sourceEncoding}</encoding> | ||
<basedir>${project.basedir}/test-resource-templates</basedir> | ||
<includes> | ||
<include>*/**/pom.xml</include> | ||
</includes> | ||
<outputBasedir>${project.basedir}</outputBasedir> | ||
<outputDir>src/test/resources/</outputDir> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<replacements> | ||
<replacement> | ||
<token>%javaversion%</token> | ||
<value>${sarl-dsl.min.jdk.version}</value> | ||
</replacement> | ||
<replacement> | ||
<token>%fileencoding%</token> | ||
<value>${project.build.sourceEncoding}</value> | ||
</replacement> | ||
<replacement> | ||
<token>%sarlreleaseversion%</token> | ||
<value>${sarl.version}</value> | ||
</replacement> | ||
<replacement> | ||
<token>%janusreleaseversion%</token> | ||
<value>${janus.version}</value> | ||
</replacement> | ||
<replacement> | ||
<token>%mavencompilerversion%</token> | ||
<value>${mavencompiler.version}</value> | ||
</replacement> | ||
</replacements> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |
Oops, something went wrong.