You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/02/21 19:49:59 UTC

[maven-project-info-reports-plugin] 01/03: Replace usage of deprecated expressions

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

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit 547314f7cd71bad658ecad07a8195e8bd5e5dbcc
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Feb 21 20:47:00 2022 +0100

    Replace usage of deprecated expressions
---
 src/it/MPIR-242/pom.xml                      |   2 +-
 src/it/MPIR-300/pom.xml                      |   2 +-
 src/it/MPIR-349/parent/pom.xml               |   2 +-
 src/it/MPIR-362/pom.xml                      |   2 +-
 src/it/MPIR-375/pom.xml                      |   4 +-
 src/it/MPIR-412/pom.xml                      |   2 +-
 src/it/dependencies-java-1.7-and-1.8/pom.xml |   2 +-
 src/it/full-pom/pom.xml                      |   2 +-
 src/it/git/pom.xml                           |   2 +-
 src/it/minimal-pom/pom.xml                   |   2 +-
 src/it/mpir-229/pom.xml                      | 154 +++++++++++++--------------
 src/it/multi-module/pom.xml                  |   2 +-
 12 files changed, 89 insertions(+), 89 deletions(-)

diff --git a/src/it/MPIR-242/pom.xml b/src/it/MPIR-242/pom.xml
index 364c2e5..4a06464 100644
--- a/src/it/MPIR-242/pom.xml
+++ b/src/it/MPIR-242/pom.xml
@@ -58,7 +58,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <configuration>
           <licenseFileEncoding>ISO-8859-5</licenseFileEncoding>
         </configuration>
diff --git a/src/it/MPIR-300/pom.xml b/src/it/MPIR-300/pom.xml
index 0326cba..4a03579 100644
--- a/src/it/MPIR-300/pom.xml
+++ b/src/it/MPIR-300/pom.xml
@@ -81,7 +81,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/it/MPIR-349/parent/pom.xml b/src/it/MPIR-349/parent/pom.xml
index ac6ad92..3852b48 100644
--- a/src/it/MPIR-349/parent/pom.xml
+++ b/src/it/MPIR-349/parent/pom.xml
@@ -53,7 +53,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>
diff --git a/src/it/MPIR-362/pom.xml b/src/it/MPIR-362/pom.xml
index e20fc42..adc6e05 100644
--- a/src/it/MPIR-362/pom.xml
+++ b/src/it/MPIR-362/pom.xml
@@ -62,7 +62,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>
diff --git a/src/it/MPIR-375/pom.xml b/src/it/MPIR-375/pom.xml
index acb0755..289b839 100644
--- a/src/it/MPIR-375/pom.xml
+++ b/src/it/MPIR-375/pom.xml
@@ -92,7 +92,7 @@
       </plugin>
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <configuration>
           <pluginManagementExcludes>
             <pluginManagementExclude>org.eclipse.m2e:lifecycle-mapping</pluginManagementExclude>
@@ -106,7 +106,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>
diff --git a/src/it/MPIR-412/pom.xml b/src/it/MPIR-412/pom.xml
index cbf7e35..82b8380 100644
--- a/src/it/MPIR-412/pom.xml
+++ b/src/it/MPIR-412/pom.xml
@@ -47,7 +47,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
       </plugin>
     </plugins>
   </build>
diff --git a/src/it/dependencies-java-1.7-and-1.8/pom.xml b/src/it/dependencies-java-1.7-and-1.8/pom.xml
index fb10f2f..bb5ee74 100644
--- a/src/it/dependencies-java-1.7-and-1.8/pom.xml
+++ b/src/it/dependencies-java-1.7-and-1.8/pom.xml
@@ -61,7 +61,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>
diff --git a/src/it/full-pom/pom.xml b/src/it/full-pom/pom.xml
index 7080b7c..c6e92f3 100644
--- a/src/it/full-pom/pom.xml
+++ b/src/it/full-pom/pom.xml
@@ -192,7 +192,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <configuration>
           <introduction>mail list intro text foo</introduction>
         </configuration>
diff --git a/src/it/git/pom.xml b/src/it/git/pom.xml
index c0e1a34..3dcc65c 100644
--- a/src/it/git/pom.xml
+++ b/src/it/git/pom.xml
@@ -71,7 +71,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>
diff --git a/src/it/minimal-pom/pom.xml b/src/it/minimal-pom/pom.xml
index ee8bac5..a2c013b 100644
--- a/src/it/minimal-pom/pom.xml
+++ b/src/it/minimal-pom/pom.xml
@@ -62,7 +62,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
       </plugin>
     </plugins>
   </reporting>
diff --git a/src/it/mpir-229/pom.xml b/src/it/mpir-229/pom.xml
index 44c6767..9181d33 100644
--- a/src/it/mpir-229/pom.xml
+++ b/src/it/mpir-229/pom.xml
@@ -1,77 +1,77 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  ~ Licensed to the Apache Software Foundation (ASF) under one
-  ~ or more contributor license agreements.  See the NOTICE file
-  ~ distributed with this work for additional information
-  ~ regarding copyright ownership.  The ASF licenses this file
-  ~ to you under the Apache License, Version 2.0 (the
-  ~ "License"); you may not use this file except in compliance
-  ~ with the License.  You may obtain a copy of the License at
-  ~
-  ~   http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~ Unless required by applicable law or agreed to in writing,
-  ~ software distributed under the License is distributed on an
-  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~ KIND, either express or implied.  See the License for the
-  ~ specific language governing permissions and limitations
-  ~ under the License.
--->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <groupId>org.apache.maven.plugins.project-info-reports.its</groupId>
-  <artifactId>mpir-229</artifactId>
-  <version>1.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <some.property>TEST</some.property>
-    <artifacts.url>http://maven.apache.org/plugins/it/${some.property}</artifacts.url>
-  </properties>
-
-  <url>${artifacts.url}</url>
-
-  <distributionManagement>
-    <site>
-      <id>site</id>
-      <url>scp://my.server/</url>
-    </site>
-  </distributionManagement>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-site-plugin</artifactId>
-        <version>@sitePluginVersion@</version>
-      </plugin>
-    </plugins>
-  </build>
-
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>index</report>
-              <report>modules</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-    </plugins>
-  </reporting>
-  
-  <modules>
-    <module>module1</module>
-  </modules>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <groupId>org.apache.maven.plugins.project-info-reports.its</groupId>
+  <artifactId>mpir-229</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <some.property>TEST</some.property>
+    <artifacts.url>http://maven.apache.org/plugins/it/${some.property}</artifacts.url>
+  </properties>
+
+  <url>${artifacts.url}</url>
+
+  <distributionManagement>
+    <site>
+      <id>site</id>
+      <url>scp://my.server/</url>
+    </site>
+  </distributionManagement>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>@sitePluginVersion@</version>
+      </plugin>
+    </plugins>
+  </build>
+
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>@project.version@</version>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>index</report>
+              <report>modules</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
+    </plugins>
+  </reporting>
+  
+  <modules>
+    <module>module1</module>
+  </modules>
+</project>
diff --git a/src/it/multi-module/pom.xml b/src/it/multi-module/pom.xml
index e242b52..60cd695 100644
--- a/src/it/multi-module/pom.xml
+++ b/src/it/multi-module/pom.xml
@@ -91,7 +91,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>@pom.version@</version>
+        <version>@project.version@</version>
         <reportSets>
           <reportSet>
             <reports>