You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2021/07/09 13:18:53 UTC
[sling-project-archetype] 02/02: SLING-10595 - Project archetype
should default to Java 11
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch feature/SLING-10595
in repository https://gitbox.apache.org/repos/asf/sling-project-archetype.git
commit ba27631e41e80e73e2a247526c52da7063a0117a
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Fri Jul 9 16:08:58 2021 +0300
SLING-10595 - Project archetype should default to Java 11
Configure the maven-compiler-plugin for Java 11.
---
src/main/resources/archetype-resources/core.example/pom.xml | 4 ++--
src/main/resources/archetype-resources/core/pom.xml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/resources/archetype-resources/core.example/pom.xml b/src/main/resources/archetype-resources/core.example/pom.xml
index ef9304d..d91ed2a 100644
--- a/src/main/resources/archetype-resources/core.example/pom.xml
+++ b/src/main/resources/archetype-resources/core.example/pom.xml
@@ -77,8 +77,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>7</source>
- <target>7</target>
+ <source>11</source>
+ <target>11</target>
</configuration>
</plugin>
<plugin>
diff --git a/src/main/resources/archetype-resources/core/pom.xml b/src/main/resources/archetype-resources/core/pom.xml
index 9dfbbc1..34a0e07 100644
--- a/src/main/resources/archetype-resources/core/pom.xml
+++ b/src/main/resources/archetype-resources/core/pom.xml
@@ -71,8 +71,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>7</source>
- <target>7</target>
+ <source>11</source>
+ <target>11</target>
</configuration>
</plugin>
<plugin>