[java-identity-provider] branch maint-4.1 updated: Tighten up maven auto-sensing

Rod Widdowson rdw at steadingsoftware.com
Tue Jul 27 08:49:16 UTC 2021


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

rdw pushed a commit to branch maint-4.1
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d1688df043fa03b0d8f73f98abbe2243f547605b

The following commit(s) were added to refs/heads/maint-4.1 by this push:
       new  d1688df04 Tighten up maven auto-sensing
d1688df04 is described below

commit d1688df043fa03b0d8f73f98abbe2243f547605b
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 b89920a92..f75673df0 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
@@ -113,6 +113,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