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

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


The following commit(s) were added to refs/heads/main by this push:
     new 0c763403e7 KARAF-7987: Use maven-archetype-plugin version from Apache 
POM (#1968)
0c763403e7 is described below

commit 0c763403e7865abe47e690e0b7ac6a92b1026af3
Author: JB Onofré <[email protected]>
AuthorDate: Sat Jul 26 06:54:57 2025 +0200

    KARAF-7987: Use maven-archetype-plugin version from Apache POM (#1968)
---
 archetypes/assembly/pom.xml  | 15 ---------------
 archetypes/blueprint/pom.xml | 15 ---------------
 archetypes/bundle/pom.xml    | 15 ---------------
 archetypes/command/pom.xml   | 16 ----------------
 archetypes/feature/pom.xml   | 15 ---------------
 archetypes/kar/pom.xml       | 15 ---------------
 6 files changed, 91 deletions(-)

diff --git a/archetypes/assembly/pom.xml b/archetypes/assembly/pom.xml
index c005edc597..0ac937259d 100644
--- a/archetypes/assembly/pom.xml
+++ b/archetypes/assembly/pom.xml
@@ -33,10 +33,6 @@
     <name>Apache Karaf :: Archetypes :: Assembly Archetype</name>
     <description>This archetype sets up an empty karaf assembly 
project.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -52,7 +48,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -72,16 +67,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>
diff --git a/archetypes/blueprint/pom.xml b/archetypes/blueprint/pom.xml
index 26211d067b..dbca22b57d 100644
--- a/archetypes/blueprint/pom.xml
+++ b/archetypes/blueprint/pom.xml
@@ -34,10 +34,6 @@
     <name>Apache Karaf :: Archetypes :: Blueprint Archetype</name>
     <description>An archetype for creating a simple blueprint 
bundle.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -53,7 +49,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -73,16 +68,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>
diff --git a/archetypes/bundle/pom.xml b/archetypes/bundle/pom.xml
index 20f1b607df..3bbc2cecba 100644
--- a/archetypes/bundle/pom.xml
+++ b/archetypes/bundle/pom.xml
@@ -34,10 +34,6 @@
     <name>Apache Karaf :: Archetypes :: Bundle Archetype</name>
     <description>A simple bundle archetype.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -53,7 +49,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -83,16 +78,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>
diff --git a/archetypes/command/pom.xml b/archetypes/command/pom.xml
index fb0e3b5c39..a48539f8ca 100644
--- a/archetypes/command/pom.xml
+++ b/archetypes/command/pom.xml
@@ -34,10 +34,6 @@
     <name>Apache Karaf :: Archetypes :: Command Archetype</name>
     <description>A Karaf command archetype.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -53,7 +49,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -73,17 +68,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                    <extensions>true</extensions>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>
diff --git a/archetypes/feature/pom.xml b/archetypes/feature/pom.xml
index a02aee45bc..69113600d3 100644
--- a/archetypes/feature/pom.xml
+++ b/archetypes/feature/pom.xml
@@ -34,10 +34,6 @@
     <name>Apache Karaf :: Archetypes :: Feature Archetype</name>
     <description>This archetype sets up an empty karaf features 
project.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -53,7 +49,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -73,16 +68,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>
diff --git a/archetypes/kar/pom.xml b/archetypes/kar/pom.xml
index 5ff25b97e3..cfb5626494 100644
--- a/archetypes/kar/pom.xml
+++ b/archetypes/kar/pom.xml
@@ -34,10 +34,6 @@
     <name>Apache Karaf :: Archetypes :: Kar Archetype</name>
     <description>This archetype sets up an empty karaf kar 
project.</description>
 
-    <properties>
-        <archetype.version>3.3.1</archetype.version>
-    </properties>
-
     <build>
         <resources>
             <resource>
@@ -53,7 +49,6 @@
             <extension>
                 <groupId>org.apache.maven.archetype</groupId>
                 <artifactId>archetype-packaging</artifactId>
-                <version>${archetype.version}</version>
             </extension>
         </extensions>
 
@@ -73,16 +68,6 @@
                 <artifactId>maven-archetype-plugin</artifactId>
             </plugin>
         </plugins>
-
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>${archetype.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
     </build>
 
 </project>

Reply via email to