[java-mvn-enforcer] 02/02: JMVN-45 Investigate building a parent pom with the minimum subset of JPAR

Rod Widdowson rdw at steadingsoftware.com
Mon Jan 23 16:39:01 UTC 2023


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-mvn-enforcer.

View the commit online:
http://git.shibboleth.net/view/?p=java-mvn-enforcer.git;a=commit;h=83644f14258825fb0a3efe866378b199493d5e07

commit 83644f14258825fb0a3efe866378b199493d5e07
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jan 23 16:38:02 2023 +0000

    JMVN-45 Investigate building a parent pom with the minimum subset of JPAR
    
    https://shibboleth.atlassian.net/browse/JMVN-45
    
    Strip out some more stuff from the 'parent' update the enforer plugin to
    use the new parent.
---
 parent/pom.xml | 73 +++-------------------------------------------------------
 pom.xml        |  2 +-
 2 files changed, 4 insertions(+), 71 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 7b8b2ad..84b82a5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -33,8 +33,6 @@
 
         <!-- Plugin Dependencies -->
         <maven-assembly-plugin.version>3.3.0</maven-assembly-plugin.version>
-        <checkstyle.version>8.45.1</checkstyle.version>
-        <checkstyle-plugin.version>3.1.2</checkstyle-plugin.version>
         <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version>
         <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
         <maven-dependency-plugin.version>3.3.0</maven-dependency-plugin.version>
@@ -43,11 +41,9 @@
         <maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version>
         <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
         <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version>
-        <maven-site-plugin.version>3.11.0</maven-site-plugin.version>
         <maven-source-plugin.version>3.2.1</maven-source-plugin.version>
         <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
         <maven-versions-plugin.version>2.14.1</maven-versions-plugin.version>
-        <maven-war-plugin.version>3.3.2</maven-war-plugin.version>
         <jacoco-maven-plugin.version>0.8.8</jacoco-maven-plugin.version>
 
     </properties>
@@ -134,18 +130,6 @@
                     <artifactId>maven-assembly-plugin</artifactId>
                     <version>${maven-assembly-plugin.version}</version>
                 </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-checkstyle-plugin</artifactId>
-                    <version>${checkstyle-plugin.version}</version>
-                    <dependencies>
-                        <dependency>
-                            <groupId>com.puppycrawl.tools</groupId>
-                            <artifactId>checkstyle</artifactId>
-                            <version>${checkstyle.version}</version>
-                        </dependency>
-                    </dependencies>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-clean-plugin</artifactId>
@@ -194,23 +178,6 @@
                     <artifactId>maven-resources-plugin</artifactId>
                     <version>${maven-resources-plugin.version}</version>
                 </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-site-plugin</artifactId>
-                    <version>${maven-site-plugin.version}</version>
-                    <dependencies>
-                        <dependency>
-                            <groupId>org.apache.maven.wagon</groupId>
-                            <artifactId>wagon-webdav-jackrabbit</artifactId>
-                            <version>3.5.1</version>
-                        </dependency>
-                        <dependency>
-                            <groupId>org.apache.maven.wagon</groupId>
-                            <artifactId>wagon-ssh</artifactId>
-                            <version>3.5.1</version>
-                        </dependency>
-                    </dependencies>
-                </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-source-plugin</artifactId>
@@ -233,11 +200,6 @@
                     <artifactId>versions-maven-plugin</artifactId>
                     <version>${maven-versions-plugin.version}</version>
                 </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-war-plugin</artifactId>
-                    <version>${maven-war-plugin.version}</version>
-                </plugin>
                 <plugin>
                     <groupId>org.jacoco</groupId>
                     <artifactId>jacoco-maven-plugin</artifactId>
@@ -247,13 +209,6 @@
         </pluginManagement>
 
         <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <configuration>
-                    <configLocation>${checkstyle.configLocation}</configLocation>
-                </configuration>
-            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
@@ -375,37 +330,15 @@ It also:
             </build>
         </profile>
 
-        <!--
-            The "lint" profile adds more warnings to compilation. In particular,
-            it enables checking for unsafe or unchecked operations.
-        -->
-        <profile>
-            <id>lint</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <configuration>
-                            <showDeprecation>true</showDeprecation>
-                            <showWarnings>true</showWarnings>
-                            <debug>true</debug>
-                            <compilerArgument>-Xlint:unchecked</compilerArgument>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-
         <!--
             The check-m2 profile enables an signature check of all non test
             non source jars in the local maven repository during the install
             phase.  Individual projects check contents during the verify phase.
 
-This is turned on within a project by creating a file '.check-m2'
-alongside the pom.
+            This is turned on within a project by creating a file '.check-m2'
+            alongside the pom.
 
-This is turned OFF from the command line by specifying -D no-check-m2
+            This is turned OFF from the command line by specifying -D no-check-m2
         -->
         <profile>
             <id>check-m2</id>
diff --git a/pom.xml b/pom.xml
index c882c20..576baa9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>net.shibboleth.maven.enforcer.rules</groupId>
         <artifactId>maven-dist-enforcer-parent</artifactId>
-        <version>1.0.1</version>
+        <version>1.0.2-SNAPSHOT</version>
     </parent>
 
     <groupId>net.shibboleth.maven.enforcer.rules</groupId>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list