Lintian Fixes - antlr-maven-plugin

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index 17be210..67c17e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+antlr-maven-plugin (2.2-5) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Mon, 16 Nov 2020 00:52:38 -0000
+
 antlr-maven-plugin (2.2-4) unstable; urgency=medium
 
   * Depend on libwagon-provider-api-java instead of libwagon-java
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index f599e28..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/debian/control b/debian/control
index 1275e14..f68571c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Torsten Werner <twerner@debian.org>,
  Emmanuel Bourg <ebourg@apache.org>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  libcommons-exec-java,
  libmaven-antrun-plugin-java (>= 1.3),
@@ -23,8 +23,8 @@ Build-Depends:
  libwagon-provider-api-java,
  maven-debian-helper (>= 2.2)
 Standards-Version: 4.1.1
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/antlr-maven-plugin.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/antlr-maven-plugin.git
+Vcs-Git: https://salsa.debian.org/java-team/antlr-maven-plugin.git
+Vcs-Browser: https://salsa.debian.org/java-team/antlr-maven-plugin
 Homepage: http://mojo.codehaus.org/antlr-maven-plugin/
 
 Package: libantlr-maven-plugin-java
diff --git a/debian/copyright b/debian/copyright
index c663436..497e105 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: Maven ANTLR Plugin
 Upstream-Contact: Codehaus developers, Vincent Siveton <vsiveton@apache.org>
 Source: http://mojo.codehaus.org/antlr-maven-plugin/
diff --git a/debian/rules b/debian/rules
index 5a6351f..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-current-version --force-download --rename

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

Run locally

Try this locally (using the lintian-brush package):

debcheckout antlr-maven-plugin
cd antlr-maven-plugin
lintian-brush --exclude=upstream-metadata-file

More details

Full run details