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

veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git


The following commit(s) were added to refs/heads/master by this push:
     new eb38124525 Avoid using the parent POM with maven-invoker-plugin
eb38124525 is described below

commit eb38124525ce26f16c11c5cd481d8e7d39a0fc36
Author: Andreas Veithen <andreas.veit...@gmail.com>
AuthorDate: Sat Oct 28 15:22:18 2023 +0000

    Avoid using the parent POM with maven-invoker-plugin
    
    The plugin executions configured in the parent POM may have unexpected
    side effects.
---
 modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml  | 15 ++++++++++-----
 modules/tool/axis2-aar-maven-plugin/src/it/test2/pom.xml  | 15 ++++++++++-----
 .../axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml     | 15 ++++++++++-----
 3 files changed, 30 insertions(+), 15 deletions(-)

diff --git a/modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml 
b/modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
index bcf8116f03..ace57e197a 100644
--- a/modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
+++ b/modules/tool/axis2-aar-maven-plugin/src/it/test1/pom.xml
@@ -21,16 +21,21 @@
 
 <project>
     <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>@pom.groupId@</groupId>
-        <artifactId>axis2</artifactId>
-        <version>@pom.version@</version>
-    </parent>
+    <groupId>@pom.groupId@</groupId>
     <artifactId>axis2-aar-plugin-basic-test1</artifactId>
+    <version>@pom.version@</version>
     <name>Test 1 of the axis2-wsdl2code-maven-plugin</name>
     <build>
         <finalName>test1</finalName>
         <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.11.0</version>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>@pom.groupId@</groupId>
                        <artifactId>axis2-aar-maven-plugin</artifactId>
diff --git a/modules/tool/axis2-aar-maven-plugin/src/it/test2/pom.xml 
b/modules/tool/axis2-aar-maven-plugin/src/it/test2/pom.xml
index 51d3517fc1..ee1e8f4cbb 100644
--- a/modules/tool/axis2-aar-maven-plugin/src/it/test2/pom.xml
+++ b/modules/tool/axis2-aar-maven-plugin/src/it/test2/pom.xml
@@ -20,16 +20,21 @@
   -->
 <project>
     <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>@pom.groupId@</groupId>
-        <artifactId>axis2</artifactId>
-        <version>@pom.version@</version>
-    </parent>
+    <groupId>@pom.groupId@</groupId>
     <artifactId>axis2-aar-plugin-configuration-test1</artifactId>
+    <version>@pom.version@</version>
     <name>Test 1 of the axis2-wsdl2code-maven-plugin</name>
     <build>
         <finalName>test2</finalName>
         <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.11.0</version>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>@pom.groupId@</groupId>
                        <artifactId>axis2-aar-maven-plugin</artifactId>
diff --git a/modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml 
b/modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
index a3de66b4c6..6faa8ccaa4 100644
--- a/modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
+++ b/modules/tool/axis2-java2wsdl-maven-plugin/src/it/test1/pom.xml
@@ -21,15 +21,20 @@
 
 <project>
     <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>@pom.groupId@</groupId>
-        <artifactId>axis2</artifactId>
-        <version>@pom.version@</version>
-    </parent>
+    <groupId>@pom.groupId@</groupId>
     <artifactId>axis2-wsdl2code-maven-plugin-test1</artifactId>
+    <version>@pom.version@</version>
     <name>Test 1 of the axis2-wsdl2code-maven-plugin</name>
     <build>
         <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.11.0</version>
+                <configuration>
+                    <source>1.8</source>
+                    <target>1.8</target>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>@pom.groupId@</groupId>
                 <artifactId>axis2-java2wsdl-maven-plugin</artifactId>

Reply via email to