You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by dk...@apache.org on 2021/05/04 14:45:49 UTC

[ws-xmlschema] 03/04: Update a bunch of maven plugins to newer versions

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

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ws-xmlschema.git

commit bb831354f7d4105b54c5d6e36e029dc95997f75f
Author: Daniel Kulp <dk...@apache.org>
AuthorDate: Tue May 4 10:21:11 2021 -0400

    Update a bunch of maven plugins to newer versions
---
 pom.xml                       | 49 ++++++++++++++++++++++++++-----------------
 xmlschema-bundle-test/pom.xml | 10 +++++----
 xmlschema-core/pom.xml        |  2 +-
 3 files changed, 37 insertions(+), 24 deletions(-)

diff --git a/pom.xml b/pom.xml
index fc55e4d..eea8e15 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
     <parent>
         <groupId>org.apache</groupId>
         <artifactId>apache</artifactId>
-        <version>21</version>
+        <version>23</version>
     </parent>
     <groupId>org.apache.ws.xmlschema</groupId>
     <artifactId>xmlschema</artifactId>
@@ -114,7 +114,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-assembly-plugin</artifactId>
-                    <version>2.4.1</version>
+                    <version>3.3.0</version>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
@@ -204,7 +204,7 @@
                 </plugin>
                 <plugin>
                     <artifactId>maven-surefire-plugin</artifactId>
-                    <version>2.18</version>
+                    <version>2.22.2</version>
                     <configuration>
                         <systemPropertyVariables>
                             <org.apache.ws.commons.schema.protectReadOnlyCollections>true</org.apache.ws.commons.schema.protectReadOnlyCollections>
@@ -224,7 +224,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-javadoc-plugin</artifactId>
-                    <version>2.10.4</version>
+                    <version>3.2.0</version>
                     <configuration>
                         <attach>true</attach>
                         <quiet>true</quiet>
@@ -233,7 +233,7 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-site-plugin</artifactId>
-                    <version>3.4</version>
+                    <version>3.9.1</version>
                 </plugin>
                 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
                 <plugin>
@@ -304,6 +304,28 @@
                 </plugin>
             </plugins>
         </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <version>3.0.0-M3</version>
+                <executions>
+                    <execution>
+                        <id>enforce-maven</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>3.6.1</version>
+                                </requireMavenVersion>
+                            </rules>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
     </build>
     <profiles>
         <profile>
@@ -424,7 +446,7 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-eclipse-plugin</artifactId>
-                        <version>2.9</version>
+                        <version>2.10</version>
                         <inherited>false</inherited>
                         <executions>
                             <execution>
@@ -491,19 +513,8 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-antrun-plugin</artifactId>
+                        <version>3.0.0</version>
                         <inherited>false</inherited>
-                        <dependencies>
-                            <dependency>
-                                <groupId>ant</groupId>
-                                <artifactId>ant-nodeps</artifactId>
-                                <version>1.6.5</version>
-                            </dependency>
-                            <dependency>
-                                <groupId>ant</groupId>
-                                <artifactId>ant-trax</artifactId>
-                                <version>1.6.5</version>
-                            </dependency>
-                        </dependencies>
                         <executions>
                             <execution>
                                 <id>setup.workspace</id>
@@ -622,7 +633,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-project-info-reports-plugin</artifactId>
-                <version>2.9</version>
+                <version>3.1.2</version>
                 <!--configuration>
                     <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
                     <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
diff --git a/xmlschema-bundle-test/pom.xml b/xmlschema-bundle-test/pom.xml
index 4691778..e3039a0 100644
--- a/xmlschema-bundle-test/pom.xml
+++ b/xmlschema-bundle-test/pom.xml
@@ -33,7 +33,7 @@
             <plugin>
                 <groupId>com.github.veithen.alta</groupId>
                 <artifactId>alta-maven-plugin</artifactId>
-                <version>0.4</version>
+                <version>0.7.1</version>
                 <executions>
                     <execution>
                         <goals>
@@ -42,9 +42,11 @@
                         <configuration>
                             <name>%bundle.symbolicName%.link</name>
                             <value>%url%</value>
-                            <dependencySet>
-                                <scope>test</scope>
-                            </dependencySet>
+                            <artifactSet>
+                                <dependencySet>
+                                    <scope>test</scope>
+                                </dependencySet>
+                            </artifactSet>
                         </configuration>
                     </execution>
                 </executions>
diff --git a/xmlschema-core/pom.xml b/xmlschema-core/pom.xml
index 8ad8d47..849b2c7 100644
--- a/xmlschema-core/pom.xml
+++ b/xmlschema-core/pom.xml
@@ -131,7 +131,7 @@
                     <plugin>
                         <groupId>org.apache.maven.plugins</groupId>
                         <artifactId>maven-assembly-plugin</artifactId>
-                        <version>2.2</version>
+                        <version>3.3.0</version>
                         <configuration>
                             <descriptors>
                                 <descriptor>src/main/assembly/bin.xml</descriptor>