[java-mvn-enforcer] branch main updated: Setup the isSnapshot field ealier in initialization This helps debugging
Rod Widdowson
rdw at steadingsoftware.com
Sat Apr 19 14:47:09 UTC 2025
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=44cdb43bf5f322392aa0381d78d995200d5cf561
The following commit(s) were added to refs/heads/main by this push:
new 44cdb43 Setup the isSnapshot field ealier in initialization This helps debugging
44cdb43 is described below
commit 44cdb43bf5f322392aa0381d78d995200d5cf561
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Apr 19 15:47:03 2025 +0100
Setup the isSnapshot field ealier in initialization
This helps debugging
---
src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
index a392aca..203128f 100644
--- a/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
+++ b/src/main/java/net/shibboleth/mvn/enforcer/impl/ProjectPomContext.java
@@ -205,6 +205,7 @@ public final class ProjectPomContext implements AutoCloseable {
log.warn("Could not load pom", e);
return false;
}
+ isSnapShot = parentPom.getOurInfo().getVersion().endsWith("-SNAPSHOT");
if (!projectParent.getCompileDependencies().isEmpty()) {
log.error("Project parent contributes compile dependencies");
return false;
@@ -213,7 +214,6 @@ public final class ProjectPomContext implements AutoCloseable {
log.error("Project parent contributes run time dependencies");
return false;
}
- isSnapShot = parentPom.getOurInfo().getVersion().endsWith("-SNAPSHOT");
return true;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list