Skip to content

Commit 0f25c78

Browse files
committed
drop SCM warn on SNAPSHOT: confusing
fixes #170
1 parent 669dc6f commit 0f25c78

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@ private void printSourceInformation(MavenProject project) {
141141
sourceAvailable = true;
142142
p.println("source.scm.uri=" + project.getScm().getConnection());
143143
p.println("source.scm.tag=" + project.getScm().getTag());
144-
if (project.getArtifact().isSnapshot()) {
145-
log.warn("SCM source tag in buildinfo source.scm.tag="
146-
+ project.getScm().getTag() + " does not permit rebuilders reproducible source checkout");
147-
// TODO is it possible to use Scm API to get SCM version?
148-
}
149144
} else {
150145
p.println("# no scm configured in pom.xml");
151146
}

0 commit comments

Comments
 (0)