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

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


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

commit f38851079312491c967362c8c606cbc30c8a292e
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)
    
    (cherry picked from commit 0c763403e7865abe47e690e0b7ac6a92b1026af3)
---
 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 d9b455d93b..f1054dc34b 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 5694a4e94b..48edd86e51 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 264d2c55f1..e84af9b5d0 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 b4e139ed08..17093870f3 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 a44a6307d2..5cde272892 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 3a7ddb5854..64861d9945 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