[java-mvn-enforcer] branch main updated: JMVN-9 Enforcer incorrectly reports "No <jarsDirs/> provided"
Rod Widdowson
rdw at steadingsoftware.com
Fri Dec 10 13:46:37 UTC 2021
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=7ca51335b3a81dd0dbcc62976d4c55eef8f01567
The following commit(s) were added to refs/heads/main by this push:
new 7ca5133 JMVN-9 Enforcer incorrectly reports "No <jarsDirs/> provided"
7ca5133 is described below
commit 7ca51335b3a81dd0dbcc62976d4c55eef8f01567
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Dec 10 13:43:53 2021 +0000
JMVN-9 Enforcer incorrectly reports "No <jarsDirs/> provided"
https://shibboleth.atlassian.net/browse/JMVN-9
---
src/main/java/net/shibboleth/mvn/enforcer/impl/JarEnforcer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/mvn/enforcer/impl/JarEnforcer.java b/src/main/java/net/shibboleth/mvn/enforcer/impl/JarEnforcer.java
index 3ac6889..6c64898 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/JarEnforcer.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/JarEnforcer.java
@@ -141,7 +141,7 @@ public class JarEnforcer implements EnforcerRule, MavenLoader{
}
}
if (zipPaths.isEmpty() && tgzPaths.isEmpty()) {
- throw new EnforcerRuleException("No <tgzFiles/> or <zipFiles/> provided");
+ throw new EnforcerRuleException("No <tgzFiles/> or <zipFiles/> provided that exist");
}
try {
repositorySystem = helper.getComponent(org.apache.maven.repository.RepositorySystem.class);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list