You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/01/21 16:03:40 UTC

[camel] branch main updated: (chores) Adjust archetypes so that generated projects use Java 11 at minimum (#6800)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 7783ae7  (chores) Adjust archetypes so that generated projects use Java 11 at minimum (#6800)
7783ae7 is described below

commit 7783ae7298d2ecdda80b955d0981ac8597b3bcb0
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Fri Jan 21 17:03:02 2022 +0100

    (chores) Adjust archetypes so that generated projects use Java 11 at minimum (#6800)
---
 .../camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml | 3 +--
 .../src/main/resources/archetype-resources/pom.xml                     | 3 +--
 .../src/main/resources/archetype-resources/pom.xml                     | 3 +--
 .../src/main/resources/archetype-resources/pom.xml                     | 3 +--
 .../src/main/resources/archetype-resources/pom.xml                     | 3 +--
 .../src/main/resources/archetype-resources/pom.xml                     | 3 +--
 6 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
index 8ac178b..dc092b4 100644
--- a/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-cdi/src/main/resources/archetype-resources/pom.xml
@@ -99,8 +99,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
index 7000fd5..69520df 100644
--- a/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-component/src/main/resources/archetype-resources/pom.xml
@@ -78,8 +78,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
       
diff --git a/archetypes/camel-archetype-dataformat/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-dataformat/src/main/resources/archetype-resources/pom.xml
index b88ca2f..7839d93 100644
--- a/archetypes/camel-archetype-dataformat/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-dataformat/src/main/resources/archetype-resources/pom.xml
@@ -77,8 +77,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
 
diff --git a/archetypes/camel-archetype-java/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-java/src/main/resources/archetype-resources/pom.xml
index 484cb4c..0dacc5b 100644
--- a/archetypes/camel-archetype-java/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-java/src/main/resources/archetype-resources/pom.xml
@@ -82,8 +82,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/archetypes/camel-archetype-main/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-main/src/main/resources/archetype-resources/pom.xml
index fd1b010..25fb854 100644
--- a/archetypes/camel-archetype-main/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-main/src/main/resources/archetype-resources/pom.xml
@@ -98,8 +98,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/archetypes/camel-archetype-spring/src/main/resources/archetype-resources/pom.xml b/archetypes/camel-archetype-spring/src/main/resources/archetype-resources/pom.xml
index 096ff77..0ea1568 100644
--- a/archetypes/camel-archetype-spring/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/camel-archetype-spring/src/main/resources/archetype-resources/pom.xml
@@ -85,8 +85,7 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin-version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <release>11</release>
         </configuration>
       </plugin>
       <plugin>