[java-identity-provider] branch main updated: Tighten up maven auto-sensing
Rod Widdowson
rdw at steadingsoftware.com
Tue Jul 27 08:48:12 UTC 2021
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=0f374b1075770a8a3a407bc444282dcbf664c0b5
The following commit(s) were added to refs/heads/main by this push:
new 0f374b107 Tighten up maven auto-sensing
0f374b107 is described below
commit 0f374b1075770a8a3a407bc444282dcbf664c0b5
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jul 27 09:47:42 2021 +0100
Tighten up maven auto-sensing
---
.../src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java b/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
index 31cb0cb12..9502665cc 100644
--- a/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
+++ b/idp-installer/src/test/java/net/shibboleth/idp/dependencies/DependencyTest.java
@@ -143,6 +143,9 @@ public class DependencyTest extends OpenSAMLInitBaseTestCase implements PomLoade
if (home == null) {
throw new SkipException("Maven Not Located");
}
+ if (!Files.exists(Path.of(home).resolve("bin").resolve("mvn"))) {
+ throw new SkipException("Maven Not found");
+ }
System.setProperty("maven.home", home);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list