[java-metadata-aggregator] branch master updated: MDA-191 - enforce NO dependency on joda-time
Ian Young
ian at iay.org.uk
Thu Mar 14 08:10:49 EDT 2019
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository java-metadata-aggregator.
View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=9822edc0814ae77f60db58dae2758d92b589dabc
The following commit(s) were added to refs/heads/master by this push:
new 9822edc MDA-191 - enforce NO dependency on joda-time
9822edc is described below
commit 9822edc0814ae77f60db58dae2758d92b589dabc
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Mar 14 12:10:44 2019 +0000
MDA-191 - enforce NO dependency on joda-time
---
aggregator-parent/pom.xml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/aggregator-parent/pom.xml b/aggregator-parent/pom.xml
index 504b0b9..0c23263 100644
--- a/aggregator-parent/pom.xml
+++ b/aggregator-parent/pom.xml
@@ -159,6 +159,34 @@
</archive>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <!--
+ Ensure that we're not either directly or indirectly making use of the
+ joda-time package. Our time handling should be exclusive based on the
+ java.time package introduced in Java 8.
+ -->
+ <execution>
+ <id>no-joda-time</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <bannedDependencies>
+ <excludes>
+ <exclude>joda-time:joda-time</exclude>
+ </excludes>
+ </bannedDependencies>
+ </rules>
+ <fail>true</fail>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list