-
-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #220: don't use default HEAD tag in pom <scm>
- The pom task now no longer explicitly adds HEAD as the scm tag in pom.xml if no tag is specified and no git commit can be automatically discovered. HEAD is already the Maven default so it wasn't necessary, and it confused other tasks that were looking at the pom.xml and comparing the scm info (see below). - The pom task now correctly supports the <developerConnection> and <connection> elements as children of <scm>. Specify these in the :scm option map via :connection and :developerConnection. (This is probably only useful for creating pom.xml files for Maven to use, but it's in there, anyway.) - The push task no longer throws an exception if the :ensure-tag option is specified but no scm info is available in the pom.xml. It now prints a warning to stderr instead.
- Loading branch information
Showing
3 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d878241
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, great fix!