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 83d7d47367 Avoid bad interaction between maven-release-plugin and
tidy-maven-plugin
83d7d47367 is described below
commit 83d7d473678995ec14b12e80936ca185a1f2a149
Author: Andreas Veithen <[email protected]>
AuthorDate: Sun Jul 10 13:05:16 2022 +0000
Avoid bad interaction between maven-release-plugin and tidy-maven-plugin
---
apidocs/pom.xml | 7 ++++++
databinding-tests/jaxbri-tests/pom.xml | 7 ++++++
databinding-tests/pom.xml | 7 ++++++
modules/samples/java_first_jaxws/pom.xml | 7 ++++++
modules/samples/jaxws-addressbook/pom.xml | 7 ++++++
modules/samples/jaxws-calculator/pom.xml | 7 ++++++
modules/samples/jaxws-interop/pom.xml | 7 ++++++
modules/samples/jaxws-samples/pom.xml | 7 ++++++
modules/samples/jaxws-version/pom.xml | 7 ++++++
modules/samples/pom.xml | 7 ++++++
.../transport/https-sample/httpsClient/pom.xml | 7 ++++++
.../transport/https-sample/httpsService/pom.xml | 7 ++++++
modules/samples/transport/https-sample/pom.xml | 7 ++++++
.../transport/jms-sample/jmsService/pom.xml | 7 ++++++
modules/samples/transport/jms-sample/pom.xml | 7 ++++++
modules/tool/archetype/quickstart-webapp/pom.xml | 7 ++++++
modules/tool/archetype/quickstart/pom.xml | 7 ++++++
pom.xml | 25 ++++++++++++++++++++++
systests/SOAP12TestModuleB/pom.xml | 7 ++++++
systests/SOAP12TestModuleC/pom.xml | 7 ++++++
systests/SOAP12TestServiceB/pom.xml | 7 ++++++
systests/SOAP12TestServiceC/pom.xml | 7 ++++++
systests/echo/pom.xml | 7 ++++++
systests/pom.xml | 7 ++++++
systests/webapp-tests/pom.xml | 7 ++++++
25 files changed, 193 insertions(+)
diff --git a/apidocs/pom.xml b/apidocs/pom.xml
index 7018b02fa2..9634414b01 100644
--- a/apidocs/pom.xml
+++ b/apidocs/pom.xml
@@ -31,6 +31,13 @@
<name>Javadoc</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
diff --git a/databinding-tests/jaxbri-tests/pom.xml
b/databinding-tests/jaxbri-tests/pom.xml
index 24c52b2c41..5f4d525eb3 100644
--- a/databinding-tests/jaxbri-tests/pom.xml
+++ b/databinding-tests/jaxbri-tests/pom.xml
@@ -30,6 +30,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.ws.commons.axiom</groupId>
diff --git a/databinding-tests/pom.xml b/databinding-tests/pom.xml
index b4dc4a9eb2..c275ff02da 100644
--- a/databinding-tests/pom.xml
+++ b/databinding-tests/pom.xml
@@ -35,6 +35,13 @@
<module>jaxbri-tests</module>
</modules>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<plugins>
<plugin>
diff --git a/modules/samples/java_first_jaxws/pom.xml
b/modules/samples/java_first_jaxws/pom.xml
index c3cc437597..bc3f4bb57e 100644
--- a/modules/samples/java_first_jaxws/pom.xml
+++ b/modules/samples/java_first_jaxws/pom.xml
@@ -33,6 +33,13 @@
<name>JAXWS - Starting from Java Example</name>
<inceptionYear>2004</inceptionYear>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
diff --git a/modules/samples/jaxws-addressbook/pom.xml
b/modules/samples/jaxws-addressbook/pom.xml
index 52d3211a1f..2a94031672 100644
--- a/modules/samples/jaxws-addressbook/pom.xml
+++ b/modules/samples/jaxws-addressbook/pom.xml
@@ -32,6 +32,13 @@
<name>JAXWS Addressbook Service</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
diff --git a/modules/samples/jaxws-calculator/pom.xml
b/modules/samples/jaxws-calculator/pom.xml
index 23d049e570..505070fc6b 100644
--- a/modules/samples/jaxws-calculator/pom.xml
+++ b/modules/samples/jaxws-calculator/pom.xml
@@ -32,6 +32,13 @@
<name>JAXWS Calculator Service</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
diff --git a/modules/samples/jaxws-interop/pom.xml
b/modules/samples/jaxws-interop/pom.xml
index ed150b8699..1d4df5a62f 100644
--- a/modules/samples/jaxws-interop/pom.xml
+++ b/modules/samples/jaxws-interop/pom.xml
@@ -32,6 +32,13 @@
<name>JAXWS Interop Sample</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>jakarta.xml.bind</groupId>
diff --git a/modules/samples/jaxws-samples/pom.xml
b/modules/samples/jaxws-samples/pom.xml
index c065cffffa..70e3b30155 100644
--- a/modules/samples/jaxws-samples/pom.xml
+++ b/modules/samples/jaxws-samples/pom.xml
@@ -32,6 +32,13 @@
<name>JAXWS Samples - Echo, Ping, MTOM</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
diff --git a/modules/samples/jaxws-version/pom.xml
b/modules/samples/jaxws-version/pom.xml
index 30fe673e1f..1325cc8eb5 100644
--- a/modules/samples/jaxws-version/pom.xml
+++ b/modules/samples/jaxws-version/pom.xml
@@ -32,6 +32,13 @@
<name>Apache Axis2 -JAXWS Version Service</name>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/modules/samples/pom.xml b/modules/samples/pom.xml
index 58dc60a234..ccbdaaa125 100644
--- a/modules/samples/pom.xml
+++ b/modules/samples/pom.xml
@@ -45,6 +45,13 @@
<module>transport/jms-sample</module>
</modules>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<repositories>
<repository>
<!-- Necessary because the samples are copied into the binary
distribution -->
diff --git a/modules/samples/transport/https-sample/httpsClient/pom.xml
b/modules/samples/transport/https-sample/httpsClient/pom.xml
index e6cf68f85e..a6f4f88890 100644
--- a/modules/samples/transport/https-sample/httpsClient/pom.xml
+++ b/modules/samples/transport/https-sample/httpsClient/pom.xml
@@ -23,4 +23,11 @@
<groupId>org.apache.axis2.examples</groupId>
<artifactId>httpsClient</artifactId>
<version>1.8.2-SNAPSHOT</version>
+
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
</project>
diff --git a/modules/samples/transport/https-sample/httpsService/pom.xml
b/modules/samples/transport/https-sample/httpsService/pom.xml
index 7cf4d86ff7..b506777f0b 100644
--- a/modules/samples/transport/https-sample/httpsService/pom.xml
+++ b/modules/samples/transport/https-sample/httpsService/pom.xml
@@ -25,6 +25,13 @@
<version>1.8.2-SNAPSHOT</version>
<packaging>war</packaging>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<plugins>
<plugin>
diff --git a/modules/samples/transport/https-sample/pom.xml
b/modules/samples/transport/https-sample/pom.xml
index 7acc562bc4..c70c0a1605 100644
--- a/modules/samples/transport/https-sample/pom.xml
+++ b/modules/samples/transport/https-sample/pom.xml
@@ -31,6 +31,13 @@
<module>httpsClient</module>
</modules>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/modules/samples/transport/jms-sample/jmsService/pom.xml
b/modules/samples/transport/jms-sample/jmsService/pom.xml
index 1a331eac9f..20cf4a5a90 100644
--- a/modules/samples/transport/jms-sample/jmsService/pom.xml
+++ b/modules/samples/transport/jms-sample/jmsService/pom.xml
@@ -12,6 +12,13 @@
<artifactId>jmsService</artifactId>
<version>1.8.2-SNAPSHOT</version>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<plugins>
<plugin>
diff --git a/modules/samples/transport/jms-sample/pom.xml
b/modules/samples/transport/jms-sample/pom.xml
index ce1fded88a..3b84792424 100644
--- a/modules/samples/transport/jms-sample/pom.xml
+++ b/modules/samples/transport/jms-sample/pom.xml
@@ -30,6 +30,13 @@
<module>jmsService</module>
</modules>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/modules/tool/archetype/quickstart-webapp/pom.xml
b/modules/tool/archetype/quickstart-webapp/pom.xml
index 7e0b8ec1d9..0ccc78ffde 100644
--- a/modules/tool/archetype/quickstart-webapp/pom.xml
+++ b/modules/tool/archetype/quickstart-webapp/pom.xml
@@ -37,6 +37,13 @@
<name>Axis2 quickstart-web archetype </name>
<description>Maven archetype for creating a Axis2 web Service as a
webapp </description>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<resources>
<resource>
diff --git a/modules/tool/archetype/quickstart/pom.xml
b/modules/tool/archetype/quickstart/pom.xml
index 9cec968126..27550b797e 100644
--- a/modules/tool/archetype/quickstart/pom.xml
+++ b/modules/tool/archetype/quickstart/pom.xml
@@ -37,6 +37,13 @@
<name>Axis2 quickstart archetype </name>
<description>Maven archetype for creating a Axis2 web Service
</description>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<resources>
<resource>
diff --git a/pom.xml b/pom.xml
index 042f5a81a2..c3084e62a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1411,6 +1411,31 @@
</scripts>
</configuration>
</execution>
+ <execution>
+ <id>check-project-metadata</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <scripts>
+ <script><![CDATA[
+ // Ensure that the <scm> element is
present and correctly populated. This prevents
+ // maven-release-plugin from adding an
<scm> element in a location that is then rejected by
+ // tidy-maven-plugin.
+ if (project.scm.url !=
"https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary") {
+ throw new Error('project.scm.url not
set correctly')
+ }
+ if (project.scm.connection !=
"scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git") {
+ throw new
Error('project.scm.connection not set correctly')
+ }
+ if (project.scm.developerConnection !=
"scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git") {
+ throw new
Error('project.scm.developerConnection not set correctly')
+ }
+ ]]></script>
+ </scripts>
+ </configuration>
+ </execution>
<execution>
<id>prepare-site</id>
<phase>pre-site</phase>
diff --git a/systests/SOAP12TestModuleB/pom.xml
b/systests/SOAP12TestModuleB/pom.xml
index 2e5e697076..ca47e2a465 100644
--- a/systests/SOAP12TestModuleB/pom.xml
+++ b/systests/SOAP12TestModuleB/pom.xml
@@ -31,6 +31,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/systests/SOAP12TestModuleC/pom.xml
b/systests/SOAP12TestModuleC/pom.xml
index eb5f8684e2..8239c043fa 100644
--- a/systests/SOAP12TestModuleC/pom.xml
+++ b/systests/SOAP12TestModuleC/pom.xml
@@ -31,6 +31,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/systests/SOAP12TestServiceB/pom.xml
b/systests/SOAP12TestServiceB/pom.xml
index 1af80df0ba..80c51f0e7b 100644
--- a/systests/SOAP12TestServiceB/pom.xml
+++ b/systests/SOAP12TestServiceB/pom.xml
@@ -31,6 +31,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/systests/SOAP12TestServiceC/pom.xml
b/systests/SOAP12TestServiceC/pom.xml
index 3c91338f70..f6c18226ea 100644
--- a/systests/SOAP12TestServiceC/pom.xml
+++ b/systests/SOAP12TestServiceC/pom.xml
@@ -31,6 +31,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/systests/echo/pom.xml b/systests/echo/pom.xml
index e5017cd9e6..a4ae621b0d 100644
--- a/systests/echo/pom.xml
+++ b/systests/echo/pom.xml
@@ -31,6 +31,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>org.apache.axis2</groupId>
diff --git a/systests/pom.xml b/systests/pom.xml
index 2db9b03654..8ea7fa675d 100644
--- a/systests/pom.xml
+++ b/systests/pom.xml
@@ -40,6 +40,13 @@
<module>webapp-tests</module>
</modules>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<build>
<plugins>
<plugin>
diff --git a/systests/webapp-tests/pom.xml b/systests/webapp-tests/pom.xml
index 0a4a533182..3042db4b9f 100644
--- a/systests/webapp-tests/pom.xml
+++ b/systests/webapp-tests/pom.xml
@@ -30,6 +30,13 @@
<url>http://axis.apache.org/axis2/java/core/</url>
+ <scm>
+
<connection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</connection>
+
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git</developerConnection>
+
<url>https://gitbox.apache.org/repos/asf?p=axis-axis2-java-core.git;a=summary</url>
+ <tag>HEAD</tag>
+ </scm>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>