[Git][java-team/maven-debian-helper][master] Always run Maven in batch mode and enable the colors if the terminal supports them
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Wed Oct 28 14:58:12 GMT 2026
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / maven-debian-helper
Commits:
6ab1b866 by Emmanuel Bourg at 2026-10-28T15:49:28+01:00
Always run Maven in batch mode and enable the colors if the terminal supports them
- - - - -
2 changed files:
- debian/changelog
- share/perl/maven.pm
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+maven-debian-helper (2.8.2) unstable; urgency=medium
+
+ * Always run Maven in batch mode and enable the colors if the terminal
+ supports them
+
+ -- Emmanuel Bourg <ebourg at apache.org> Wed, 28 Oct 2026 15:49:21 +0100
+
maven-debian-helper (2.8.1) unstable; urgency=medium
* Removed Torsten Werner from the Uploaders list (Closes: #1139027)
=====================================
share/perl/maven.pm
=====================================
@@ -50,8 +50,9 @@ sub new {
"-s/etc/maven/settings-debian.xml",
"-Ddebian.dir=$this->{cwd}/debian",
"-Dmaven.repo.local=$this->{cwd}/debian/maven-repo");
- if (!(`tput colors 2>/dev/null` >= 8)) {
- push (@{$this->{maven_cmd}}, "--batch-mode");
+ push (@{$this->{maven_cmd}}, "--batch-mode");
+ if (`tput colors 2>/dev/null` >= 8) {
+ push (@{$this->{maven_cmd}}, "-Dstyle.color=always");
}
return $this;
}
View it on GitLab: https://salsa.debian.org/java-team/maven-debian-helper/-/commit/6ab1b86626334a25167d463e27d3a1b791e3421c
--
View it on GitLab: https://salsa.debian.org/java-team/maven-debian-helper/-/commit/6ab1b86626334a25167d463e27d3a1b791e3421c
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20261028/0d7ca03b/attachment.htm>
More information about the pkg-java-commits
mailing list