[java-identity-provider] 02/03: JPAR-175 Fix order of Maven home location

Rod Widdowson rdw at steadingsoftware.com
Thu Jun 17 13:35:15 UTC 2021


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

rdw pushed a commit to branch dev/JPAR-175
in repository java-identity-provider.

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

commit bf1ca42033569677b67aa7150490ff6755c8ca0a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Jun 15 10:53:52 2021 +0100

    JPAR-175 Fix order of Maven home location
    
    https://issues.shibboleth.net/jira/browse/JPAR-175
---
 .../test/java/net/shibboleth/idp/dependencies/DependencyTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 6c9f6fc5b..60dd0d87d 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
@@ -99,12 +99,12 @@ public class DependencyTest extends OpenSAMLInitBaseTestCase {
             mavenAvailable = true;
             return;
         }
-        String home = System.getenv("MAVEN_HOME");
+        String home = LOCAL_MAVEN_HOME;
         if (home == null) {
-            home = System.getenv("_");
+            home = System.getenv("MAVEN_HOME");
         }
         if (home == null) {
-            home = LOCAL_MAVEN_HOME;
+            home = System.getenv("_");
         }
 
         if (home != null) {

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


More information about the commits mailing list