[java-mvn-enforcer] branch main updated: Define basedir as well as project.basedir

Rod Widdowson rdw at steadingsoftware.com
Sun Oct 9 14:31:14 UTC 2022


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=5ebf00ab63880bc2e74c44a876d092092e91ea1b

The following commit(s) were added to refs/heads/main by this push:
     new 5ebf00a  Define basedir as well as project.basedir
5ebf00a is described below

commit 5ebf00ab63880bc2e74c44a876d092092e91ea1b
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Oct 9 15:30:31 2022 +0100

    Define basedir as well as project.basedir
    
    This makes handling properties including basedir work.
---
 src/main/java/net/shibboleth/mvn/enforcer/impl/ParsedPom.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/net/shibboleth/mvn/enforcer/impl/ParsedPom.java b/src/main/java/net/shibboleth/mvn/enforcer/impl/ParsedPom.java
index e39bc0b..c640150 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/ParsedPom.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/ParsedPom.java
@@ -137,6 +137,7 @@ public class ParsedPom {
             String pName = (String) p;
             properties.setProperty(pName, parentPomProperties.getProperty(pName));
         }
+        properties.setProperty("basedir", "<bogus_base_dir>");
         properties.setProperty("project.basedir", "<bogus_base_dir>");
         properties.setProperty("project.build.directory", "<bogus_build_dir>");
         properties.setProperty("project.version", us.getVersion());

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


More information about the commits mailing list