Skip to content

Commit 6197235

Browse files
committed
Add comment about source.scm.tag=HEAD warning
Actually it looks like the warning is not actually caused by usage of `HEAD` as value, but rather because the project has a snapshot version during development (which is expected though), see https://github.com/apache/maven-artifact-plugin/blob/maven-artifact-plugin-3.5.0/src/main/java/org/apache/maven/plugins/artifact/buildinfo/BuildInfoWriter.java#L140 But this is not a problem either since during release a non-snapshot version is used.
1 parent 79d04c8 commit 6197235

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pom.xml

+3
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,9 @@
196196
<executions>
197197
<execution>
198198
<goals>
199+
<!-- This logs a warning about `source.scm.tag=HEAD`, but this can be ignored;
200+
during release Maven Release Plugin temporarily changes `source.scm.tag` to the
201+
actual Git tag, which will then not cause a warning -->
199202
<goal>buildinfo</goal>
200203
</goals>
201204
</execution>

0 commit comments

Comments
 (0)