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

Rod Widdowson rdw at steadingsoftware.com
Wed Jan 11 16:16:02 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=04f58d33450e4a98c96ea8ccced0256e76b3c752

commit 04f58d33450e4a98c96ea8ccced0256e76b3c752
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jan 10 14:31:29 2023 +0000

    JMVN-45 Investigate building a parent pom with the minimum subset of JPAR
    
    https://shibboleth.atlassian.net/browse/JMVN-45
    
    Initial cut at a parent pom - which is everything from JPAR but with
    the <dependencyManagement> cut down to just be the things that the
    enforcer needs
---
 parent/pom.xml | 591 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 pom.xml        |  65 ++-----
 2 files changed, 610 insertions(+), 46 deletions(-)

diff --git a/parent/pom.xml b/parent/pom.xml
new file mode 100644
index 0000000..fa0951f
--- /dev/null
+++ b/parent/pom.xml
@@ -0,0 +1,591 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>net.shibboleth.maven.enforcer.rules</groupId>
+    <artifactId>maven-dist-enforcer-parent</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
+    <packaging>pom</packaging>
+
+    <name>Shibboleth Maven Enforcer</name>
+    <description>Parent project for the Shibboleth-specific enforcers and their data</description>
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <maven.compiler.release>11</maven.compiler.release>
+        <current-dist-enforcer.version>3.1.1</current-dist-enforcer.version>
+        <current-dist-enforcer-data.version>1.0.12</current-dist-enforcer-data.version>
+
+        <!-- Dependencies -->
+        <java-support.version>8.3.1</java-support.version>
+        <spring-extensions.version>6.2.0</spring-extensions.version>
+        <slf4j.version>2.0.6</slf4j.version>
+        <bouncycastle.pg.version>1.72.2</bouncycastle.pg.version>
+        <bouncycastle.version>1.72</bouncycastle.version>
+        <findbugs.version>3.0.2</findbugs.version>
+        <spring.version>6.0.3</spring.version>
+        <commons.compress.version>1.22</commons.compress.version>
+        <jcommander.version>1.81</jcommander.version>
+        <maven-invoker.version>3.2.0</maven-invoker.version>
+        <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
+
+        <!-- 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>
+        <maven-deploy-plugin.version>3.0.0-M2</maven-deploy-plugin.version>
+        <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
+        <maven-install-plugin.version>3.0.0-M1</maven-install-plugin.version>
+        <maven-jar-plugin.version>3.2.2</maven-jar-plugin.version>
+        <maven-javadoc-plugin.version>3.3.0.2</maven-javadoc-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-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>
+
+    <dependencyManagement>
+	<dependencies>
+            <!-- Compile Dependencies -->
+
+            <dependency>
+		<groupId>net.shibboleth.utilities</groupId>
+		<artifactId>java-support</artifactId>
+		<version>${java-support.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>net.shibboleth.ext</groupId>
+		<artifactId>spring-extensions</artifactId>
+		<version>${spring-extensions.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.slf4j</groupId>
+		<artifactId>slf4j-api</artifactId>
+		<version>${slf4j.version}</version>
+            </dependency> 
+            <dependency>
+		<groupId>org.bouncycastle</groupId>
+		<artifactId>bcpg-jdk18on</artifactId>
+		<version>${bouncycastle.pg.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.bouncycastle</groupId>
+		<artifactId>bcprov-jdk18on</artifactId>
+		<version>${bouncycastle.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.bouncycastle</groupId>
+		<artifactId>bcpkix-jdk18on</artifactId>
+		<version>${bouncycastle.version}</version>
+            </dependency> 
+            <dependency>
+		<groupId>com.google.code.findbugs</groupId>
+		<artifactId>jsr305</artifactId>
+		<version>${findbugs.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.springframework</groupId>
+		<artifactId>spring-core</artifactId>
+		<version>${spring.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.springframework</groupId>
+		<artifactId>spring-context</artifactId>
+		<version>${spring.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.apache.commons</groupId>
+		<artifactId>commons-compress</artifactId>
+		<version>${commons.compress.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>com.beust</groupId>
+		<artifactId>jcommander</artifactId>
+		<version>${jcommander.version}</version>
+            </dependency>
+            <dependency>
+		<groupId>org.apache.maven.shared</groupId>
+		<artifactId>maven-invoker</artifactId>
+		<version>${maven-invoker.version}</version>
+            </dependency>
+            <!--  Provided because we are inside maven  -->
+            <dependency>
+		<groupId>org.apache.maven.plugins</groupId>
+		<artifactId>maven-enforcer-plugin</artifactId>
+		<version>${maven-enforcer-plugin.version}</version>
+            </dependency>
+	</dependencies>
+    </dependencyManagement>
+
+    <repositories>
+        <repository>
+            <id>shib-release</id>
+            <url>https://build.shibboleth.net/nexus/content/groups/public</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+        <repository>
+            <id>shib-snapshot</id>
+            <url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
+            <releases>
+                <enabled>false</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
+    <build>
+        <pluginManagement>
+            <!-- Cut and paste from the shibboleth parent project -->
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <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>
+                    <version>${maven-clean-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>${maven-compiler-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-dependency-plugin</artifactId>
+                    <version>${maven-dependency-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-deploy-plugin</artifactId>
+                    <version>${maven-deploy-plugin.version}</version>
+                    <configuration>
+                        <deployAtEnd>true</deployAtEnd>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-enforcer-plugin</artifactId>
+                    <version>${maven-enforcer-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-gpg-plugin</artifactId>
+                    <version>${maven-gpg-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-install-plugin</artifactId>
+                    <version>${maven-install-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <version>${maven-jar-plugin.version}</version>
+                </plugin>
+                <!--
+                    Patched version of this plugin, see:
+
+https://issues.shibboleth.net/jira/browse/JPAR-164
+https://shibboleth.atlassian.net/browse/JPAR-207
+
+Possibly replace with official version post 3.4.0
+                -->
+                <plugin>
+                    <groupId>net.shibboleth.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>${maven-javadoc-plugin.version}</version>
+                    <configuration>
+                        <links>
+                            <!-- The Java SE link is possibly not used (see JPAR-163) -->
+                            <link>${javase.link}</link>
+                            <link>${spring-framework.link}</link>
+                            <link>${spring-webflow.link}</link>
+                            <link>${guava.link}</link>
+                            <link>${joda-time.link}</link>
+                            <link>${ldaptive.link}</link>
+                            <link>${java-support.link}</link>
+                            <link>${java-opensaml.link}</link>
+                            <link>${spring-extensions.link}</link>
+                        </links>
+                        <quiet>true</quiet>
+                        <author>false</author>
+                        <show>private</show>
+                        <version>true</version>
+                        <doctitle>${project.name} ${project.version} API</doctitle>
+                        <windowtitle>${project.name} ${project.version} API</windowtitle>
+                        <tags>
+                            <tag>
+                                <name>parent</name>
+                                <placement>t</placement>
+                                <head>Parent:</head>
+                            </tag>
+                            <tag>
+                                <name>child</name>
+                                <placement>t</placement>
+                                <head>Child:</head>
+                            </tag>
+                            <tag>
+                                <name>added</name>
+                                <placement>t</placement>
+                                <head>Added:</head>
+                            </tag>
+                            <tag>
+                                <name>removed</name>
+                                <placement>t</placement>
+                                <head>Removed:</head>
+                            </tag>
+                            <tag>
+                                <name>event</name>
+                                <placement>t</placement>
+                                <head>Event:</head>
+                            </tag>
+                            <tag>
+                                <name>pre</name>
+                                <placement>t</placement>
+                                <head>Precondition:</head>
+                            </tag>
+                            <tag>
+                                <name>post</name>
+                                <placement>t</placement>
+                                <head>Postcondition:</head>
+                            </tag>
+                        </tags>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <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>
+                    <version>${maven-source-plugin.version}</version>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>${maven-surefire-plugin.version}</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.maven.surefire</groupId>
+                            <artifactId>surefire-testng</artifactId>
+                            <version>${maven-surefire-plugin.version}</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <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>
+                    <version>${jacoco-maven-plugin.version}</version>
+                </plugin>
+            </plugins>
+        </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>
+                <configuration>
+                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-enforcer-plugin</artifactId>
+                <executions>
+                    <!--
+                        Ensure a consistent version of Maven for all builds.
+                    -->
+                    <execution>
+                        <id>maven-version</id>
+                        <goals>
+                            <goal>enforce</goal>
+                        </goals>
+                        <configuration>
+                            <rules>
+                                <requireMavenVersion>
+                                    <version>3.8.4</version>
+                                </requireMavenVersion>
+                            </rules>
+                            <fail>true</fail>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+
+        <!--
+            The "release" profile:
+
+* builds tar assemblies, if specified
+* builds Javadoc artifacts
+* builds source artifacts
+
+It also:
+
+* Invokes the dependency plugin without a goal
+* Enables deprecations and warnings during compilation
+        -->
+        <profile>
+            <id>release</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <configuration>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                            <ignoreMissingDescriptor>true</ignoreMissingDescriptor>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>make-assembly</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>single</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-compiler-plugin</artifactId>
+                        <configuration>
+                            <showDeprecation>true</showDeprecation>
+                            <showWarnings>true</showWarnings>
+                            <debug>true</debug>
+                        </configuration>
+                    </plugin>
+                    <!-- TODO what does this plugin do ? -->
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                    </plugin>
+                    <plugin>
+                        <groupId>net.shibboleth.maven.plugins</groupId>
+                        <artifactId>maven-javadoc-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-javadocs</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                    <goal>test-jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-source-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-sources</id>
+                                <goals>
+                                    <goal>jar</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+        <!--
+            The "sign" profile gpg-signs resulting artifacts. Normally used
+            only when building products for publication.
+        -->
+        <profile>
+            <id>sign</id>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </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 OFF from the command line by specifying -D no-check-m2
+        -->
+        <profile>
+            <id>check-m2</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+                <file>
+                    <exists>.check-m2</exists>
+                </file>
+                <property>
+                    <name>!no-check-m2</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-enforcer-plugin</artifactId>
+                        <dependencies>
+                            <dependency>
+                                <groupId>net.shibboleth.maven.enforcer.rules</groupId>
+                                <artifactId>maven-dist-enforcer</artifactId>
+                                <version>${current-dist-enforcer.version}</version>
+                            </dependency>
+                        </dependencies>
+                        <executions>
+                            <execution>
+                                <id>M2-enforce</id>
+                                <phase>install</phase>
+                                <goals>
+                                    <goal>enforce</goal>
+                                </goals>
+                                <configuration>
+                                    <rules>
+                                        <jarEnforcer implementation="net.shibboleth.mvn.enforcer.impl.JarEnforcer">
+                                            <dataGroupId>net.shibboleth.maven.enforcer.rules</dataGroupId>
+                                            <dataArtifactId>maven-dist-enforcer-data</dataArtifactId>
+                                            <dataVersion>${current-dist-enforcer-data.version}</dataVersion>
+                                            <dataKeyRing>${basedir}/src/main/enforcer/shibbolethKeys.gpg</dataKeyRing>
+                                            <parentPomDir>${basedir}</parentPomDir>
+                                            <zipFiles/>
+                                            <tgzFiles/>
+                                            <checkSignatures>false</checkSignatures>
+                                            <checkDependencies>false</checkDependencies>
+                                            <compileRuntimeArtifactFatal>false</compileRuntimeArtifactFatal>
+                                            <listJarSources>false</listJarSources>
+                                            <checkM2>true</checkM2>
+                                        </jarEnforcer>
+                                    </rules>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+        <!--
+            Disable JaCoCo under unsupported versions of Java.
+        -->
+        <profile>
+            <id>nojacoco</id>
+            <activation>
+                <jdk>[19,</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jacoco</groupId>
+                        <artifactId>jacoco-maven-plugin</artifactId>
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+    </profiles>
+
+</project>
diff --git a/pom.xml b/pom.xml
index da5faf8..f5c80be 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,58 +3,34 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 
     <modelVersion>4.0.0</modelVersion>
-
     <parent>
-        <groupId>net.shibboleth</groupId>
-        <artifactId>parent</artifactId>
-        <!-- NOTE that the parent project references this project so this must
-             always be a released version at the risk of hugely disruptive re-entrancy  -->
-        <version>11.3.2</version>
+        <groupId>net.shibboleth.maven.enforcer.rules</groupId>
+        <artifactId>maven-dist-enforcer-parent</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
     </parent>
 
     <groupId>net.shibboleth.maven.enforcer.rules</groupId>
     <artifactId>maven-dist-enforcer</artifactId>
-    <name>Shibboleth Maven Enforcer</name>
     <version>3.2.0-SNAPSHOT</version>
     <packaging>jar</packaging>
 
+    <name>Shibboleth Maven Enforcer</name>
+    <description>A project to do Shibboleth-specific checks during a build</description>
+
     <properties>
-        <java-support.version>8.3.1</java-support.version>
-        <spring-extensions.version>6.2.0</spring-extensions.version>
         <automatic.module.name>net.shibboleth.maven.enforcer.rules.dist</automatic.module.name>
-        <bouncycastle.pg.version>1.72.2</bouncycastle.pg.version>
-        <bouncycastle.version>1.72</bouncycastle.version>
     </properties>
 
-    <repositories>
-        <repository>
-            <id>shib-release</id>
-            <url>https://build.shibboleth.net/nexus/content/groups/public</url>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </repository>
-        <repository>
-            <id>shib-snapshot</id>
-            <url>https://build.shibboleth.net/nexus/content/repositories/snapshots</url>
-            <releases>
-                <enabled>false</enabled>
-            </releases>
-        </repository>
-    </repositories>
-
     <dependencies>
         <!-- Compile Dependencies -->
 
         <dependency>
             <groupId>net.shibboleth.utilities</groupId>
             <artifactId>java-support</artifactId>
-            <version>${java-support.version}</version>
         </dependency>
         <dependency>
             <groupId>net.shibboleth.ext</groupId>
             <artifactId>spring-extensions</artifactId>
-            <version>${spring-extensions.version}</version>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
@@ -63,52 +39,50 @@
         <dependency>
             <groupId>org.bouncycastle</groupId>
             <artifactId>bcpg-jdk18on</artifactId>
-	    <version>${bouncycastle.pg.version}</version>
         </dependency>
         <dependency>
             <groupId>org.bouncycastle</groupId>
             <artifactId>bcprov-jdk18on</artifactId>
-	    <version>${bouncycastle.version}</version>
         </dependency>
         <dependency>
             <groupId>org.bouncycastle</groupId>
             <artifactId>bcpkix-jdk18on</artifactId>
-	    <version>${bouncycastle.version}</version>
         </dependency> 
         <dependency>
             <groupId>com.google.code.findbugs</groupId>
             <artifactId>jsr305</artifactId>
-         </dependency>
+        </dependency>
+	<!-- Test -->
         <dependency>
-            <groupId>${spring.groupId}</groupId>
+            <groupId>org.springframework</groupId>
             <artifactId>spring-core</artifactId>
+            <scope>test</scope>
         </dependency>
-
         <dependency>
-            <groupId>${spring.groupId}</groupId>
+            <groupId>org.springframework</groupId>
             <artifactId>spring-context</artifactId>
+            <scope>test</scope>
         </dependency>
         <dependency>
           <groupId>org.apache.commons</groupId>
           <artifactId>commons-compress</artifactId>
         </dependency>
-
         <dependency>
-            <groupId>com.beust</groupId>
-            <artifactId>jcommander</artifactId>
             <!-- Required for command line classes. -->
-            <scope>test</scope>
+           <groupId>com.beust</groupId>
+            <artifactId>jcommander</artifactId>
+             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.apache.maven.shared</groupId>
             <artifactId>maven-invoker</artifactId>
-            <version>3.2.0</version>
         </dependency>
-        <!--  Provided because we are inside maven  -->
-         <dependency>
+        <!-- Provided
+             (because we are inside) maven
+        -->
+        <dependency>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-enforcer-plugin</artifactId>
-            <version>${maven-enforcer-plugin.version}</version>
             <scope>provided</scope>
         </dependency>
     </dependencies>
@@ -129,5 +103,4 @@
             </plugin>
         </plugins>
     </build>
-
 </project>

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


More information about the commits mailing list