This is an automated email from the ASF dual-hosted git repository.
joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new 358a9eb78 Maven: require Java 11
358a9eb78 is described below
commit 358a9eb783823061e3de203c73ad0516a1775095
Author: Josh Tynjala <[email protected]>
AuthorDate: Thu Feb 15 09:47:38 2024 -0800
Maven: require Java 11
---
README | 9 +--------
pom.xml | 26 ++------------------------
2 files changed, 3 insertions(+), 32 deletions(-)
diff --git a/README b/README
index 090b8a4bc..d607edeb6 100644
--- a/README
+++ b/README
@@ -79,11 +79,9 @@ Building the Apache Royale Compiler with Ant
SOFTWARE ENVIRONMENT VARIABLE
(absolute paths)
==================================================================================
- Java SDK 1.8 or greater (*1) JAVA_HOME
- (for Java 1.8 see note at (*2))
+ Java JDK 11 or greater (*1) JAVA_HOME
Ant 1.8 or greater (*1) ANT_HOME
- (for Java 1.8 see note at (*2))
==================================================================================
@@ -100,11 +98,6 @@ Building the Apache Royale Compiler with Ant
On Linux make sure you path include ANT_HOME and JAVA_HOME.
- *2) If you are using Java SDK 1.8 or greater on a Mac you must use Ant 1.8
- or greater. If you use Java 1.8 with Ant 1.7, ant reports the java
- version as 1.6 so the JVM args for the data model (-d32/-d64) will not
- be set correctly and you will get compile errors.
-
Once you've done that, use
ant main (or just ant since the default target is main)
diff --git a/pom.xml b/pom.xml
index 7d9e49221..940032004 100644
--- a/pom.xml
+++ b/pom.xml
@@ -41,7 +41,7 @@
</scm>
<properties>
- <java.version>1.8</java.version>
+ <java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
<maven.version>3.8.1</maven.version>
@@ -344,28 +344,6 @@
</execution>
</executions>
</plugin>
-
- <!-- Plugin to detect problems with JDK incompatibilities -->
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>check-jdk-1.8</id>
- <phase>test</phase>
- <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>
<pluginManagement>
@@ -439,7 +417,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.1</version>
+ <version>3.6.1</version>
</plugin>
<plugin>