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

fjtiradosarti pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git


The following commit(s) were added to refs/heads/main by this push:
     new ec73695925 [Issue 1926] - plugins mgmt was wrong and some were 
duplicated in the same pom.xml (#4055)
ec73695925 is described below

commit ec736959252a8f1ef389790d6e5c6e2af13f78f3
Author: Marek Novotný <[email protected]>
AuthorDate: Mon Dec 22 13:46:53 2025 +0100

    [Issue 1926] - plugins mgmt was wrong and some were duplicated in the same 
pom.xml (#4055)
    
    * removed duplicated dependency declaration
    
    * removed duplicated openshift-server-mock dependency
    
    * removed duplicated maven compiler plugin block
    
    * wrong format from build element, moving pluginMgmt to be here as parent 
is not build-parent
    
    * [incubator-kie-issues#1926] Declare properly plugins in build parent 
hierarchy
    
    * fixed springboot version after review
---
 addons/common/flyway/pom.xml                       |   5 -
 jbpm/jbpm-xsd-resources/pom.xml                    | 170 ++++++++++-----------
 kogito-build/kogito-build-no-bom-parent/pom.xml    |  22 +++
 quarkus/addons/kubernetes/test-utils/pom.xml       |   4 -
 .../integration-tests-springboot-kafka-it/pom.xml  |   8 -
 5 files changed, 104 insertions(+), 105 deletions(-)

diff --git a/addons/common/flyway/pom.xml b/addons/common/flyway/pom.xml
index 0f87d80d7b..5ab15efa8b 100644
--- a/addons/common/flyway/pom.xml
+++ b/addons/common/flyway/pom.xml
@@ -56,11 +56,6 @@
       <artifactId>junit-jupiter-params</artifactId>
       <scope>test</scope>
     </dependency>
-    <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>org.assertj</groupId>
       <artifactId>assertj-core</artifactId>
diff --git a/jbpm/jbpm-xsd-resources/pom.xml b/jbpm/jbpm-xsd-resources/pom.xml
index 6a975b53b2..48ec4d2128 100644
--- a/jbpm/jbpm-xsd-resources/pom.xml
+++ b/jbpm/jbpm-xsd-resources/pom.xml
@@ -21,9 +21,8 @@
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.kie.kogito</groupId>
-        <artifactId>kogito-runtimes</artifactId>
+        <artifactId>jbpm</artifactId>
         <version>999-SNAPSHOT</version>
-        <relativePath>../../pom.xml</relativePath>
     </parent>
 
     <artifactId>jbpm-xsd-resources</artifactId>
@@ -32,92 +31,87 @@
 
     <properties>
         <java.module.name>org.kie.dmn.xsd.resources</java.module.name>
-        
<output.spec.directory>${project.build.directory}/classes/org/omg/spec/BPMN</output.spec.directory>
+        
<output.spec.directory>${project.build.directory}/classes/org/omg/spec/BPMN</output.spec.directory>
        
     </properties>
 
-<build>
-<plugins>
-    <plugin>
-        <groupId>com.societegenerale.commons</groupId>
-        <artifactId>arch-unit-maven-plugin</artifactId>
-        <configuration>
-            <skip>true</skip>
-        </configuration>
-    </plugin>
-    <plugin>
-        <groupId>io.github.download-maven-plugin</groupId>
-        <artifactId>download-maven-plugin</artifactId>
-        <executions>
-            <!-- BPMN 2.0 -->
-            <execution>
-                <id>20100501_bpmn</id>
-                <phase>generate-resources</phase>
-                <goals>
-                    <goal>wget</goal>
-                </goals>
-                <configuration>
-                    
<url>https://www.omg.org/spec/BPMN/20100501/BPMN20.xsd</url>
-                    <unpack>false</unpack>
-                    
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
-                    <md5>a9ca10c41d60127161609ce9053b45a4</md5>
-                </configuration>
-            </execution>
-            <execution>
-                <id>20100501_bpmndi</id>
-                <phase>generate-resources</phase>
-                <goals>
-                    <goal>wget</goal>
-                </goals>
-                <configuration>
-                    
<url>https://www.omg.org/spec/BPMN/20100501/BPMNDI.xsd</url>
-                    <unpack>false</unpack>
-                    
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
-                    <md5>59cc95a525cc3c045dee8b4b67c06813</md5>
-                </configuration>
-            </execution>
-            <execution>
-                <id>20100501_dc</id>
-                <phase>generate-resources</phase>
-                <goals>
-                    <goal>wget</goal>
-                </goals>
-                <configuration>
-                    <url>https://www.omg.org/spec/BPMN/20100501/DC.xsd</url>
-                    <unpack>false</unpack>
-                    
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
-                    <md5>f7945fe8800f45f6f10b95375a2281bf</md5>
-                </configuration>
-            </execution>
-            <execution>
-                <id>20100501_di</id>
-                <phase>generate-resources</phase>
-                <goals>
-                    <goal>wget</goal>
-                </goals>
-                <configuration>
-                    <url>https://www.omg.org/spec/BPMN/20100501/DI.xsd</url>
-                    <unpack>false</unpack>
-                    
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
-                    <md5>d019b4b9e7e58629c4aac99a33807141</md5>
-                </configuration>
-            </execution>
-            <execution>
-                <id>20100501_semantic</id>
-                <phase>generate-resources</phase>
-                <goals>
-                    <goal>wget</goal>
-                </goals>
-                <configuration>
-                    
<url>https://www.omg.org/spec/BPMN/20100501/Semantic.xsd</url>
-                    <unpack>false</unpack>
-                    
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
-                    <md5>aceeaf99459f3ba31fcf958c5fbd9903</md5>
-                </configuration>
-            </execution>
-        </executions>
-    </plugin>
-</plugins>
-
-</build>
-
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>com.societegenerale.commons</groupId>
+                <artifactId>arch-unit-maven-plugin</artifactId>                
+            </plugin>
+            <plugin>
+                <groupId>io.github.download-maven-plugin</groupId>
+                <artifactId>download-maven-plugin</artifactId>
+                <executions>
+                    <!-- BPMN 2.0 -->
+                    <execution>
+                        <id>20100501_bpmn</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://www.omg.org/spec/BPMN/20100501/BPMN20.xsd</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
+                            <md5>a9ca10c41d60127161609ce9053b45a4</md5>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>20100501_bpmndi</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://www.omg.org/spec/BPMN/20100501/BPMNDI.xsd</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
+                            <md5>59cc95a525cc3c045dee8b4b67c06813</md5>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>20100501_dc</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://www.omg.org/spec/BPMN/20100501/DC.xsd</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
+                            <md5>f7945fe8800f45f6f10b95375a2281bf</md5>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>20100501_di</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://www.omg.org/spec/BPMN/20100501/DI.xsd</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
+                            <md5>d019b4b9e7e58629c4aac99a33807141</md5>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>20100501_semantic</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>wget</goal>
+                        </goals>
+                        <configuration>
+                            
<url>https://www.omg.org/spec/BPMN/20100501/Semantic.xsd</url>
+                            <unpack>false</unpack>
+                            
<outputDirectory>${output.spec.directory}/20100501/</outputDirectory>
+                            <md5>aceeaf99459f3ba31fcf958c5fbd9903</md5>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>
\ No newline at end of file
diff --git a/kogito-build/kogito-build-no-bom-parent/pom.xml 
b/kogito-build/kogito-build-no-bom-parent/pom.xml
index 1e71bad1b8..9e81c2024c 100644
--- a/kogito-build/kogito-build-no-bom-parent/pom.xml
+++ b/kogito-build/kogito-build-no-bom-parent/pom.xml
@@ -120,6 +120,10 @@
 
     <!-- These are added as part of the migration from JBoss to Apache parent 
pom.xml. They may be extracted to a KIE parent bom. -->
     <version.maven-checkstyle>3.3.0</version.maven-checkstyle>
+    
+    <!-- downloading and bundling of BPM XSD files - helper plugin -->
+    
<version.com.societegenerale.commons>4.0.2</version.com.societegenerale.commons>
+    
<version.io.github.download-maven-plugin>2.0.0</version.io.github.download-maven-plugin>
 
     <!-- This is a workaround, until reproducible builds are fixed in Quarkus. 
-->
     <!-- This dependency is used in exec-maven-plugin configuration to remove 
timestamps from properties files generated by Quarkus. -->
@@ -136,6 +140,24 @@
     </extensions>
     <pluginManagement>
       <plugins>
+        <plugin>       
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-maven-plugin</artifactId>
+            <version>${version.org.springframework.boot}</version>             
         
+        </plugin>
+        <plugin>
+            <groupId>com.societegenerale.commons</groupId>
+            <artifactId>arch-unit-maven-plugin</artifactId>
+            <version>${version.com.societegenerale.commons}</version>
+            <configuration>
+                <skip>true</skip>
+            </configuration>
+        </plugin>
+        <plugin>
+            <groupId>io.github.download-maven-plugin</groupId>
+            <artifactId>download-maven-plugin</artifactId>
+            <version>${version.io.github.download-maven-plugin}</version>
+        </plugin>        
         <plugin>
           <groupId>org.xolstice.maven.plugins</groupId>
           <artifactId>protobuf-maven-plugin</artifactId>
diff --git a/quarkus/addons/kubernetes/test-utils/pom.xml 
b/quarkus/addons/kubernetes/test-utils/pom.xml
index 0efe2f4b4f..021303a2d8 100644
--- a/quarkus/addons/kubernetes/test-utils/pom.xml
+++ b/quarkus/addons/kubernetes/test-utils/pom.xml
@@ -53,10 +53,6 @@
             <groupId>io.fabric8</groupId>
             <artifactId>kubernetes-client</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.fabric8</groupId>
-            <artifactId>openshift-server-mock</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.kie</groupId>
             <artifactId>kie-addons-kubernetes</artifactId>
diff --git 
a/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml 
b/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
index 5940bf10db..95c10b64a7 100644
--- a/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
+++ b/springboot/integration-tests/integration-tests-springboot-kafka-it/pom.xml
@@ -141,14 +141,6 @@
           </execution>
         </executions>
       </plugin>
-      <plugin>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>${version.compiler.plugin}</version>
-          <configuration>
-            <release>${maven.compiler.release}</release>
-          </configuration>
-      </plugin>
-
       <plugin>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to