Lintian Fixes - maven-ejb-plugin

Ready changes

Merge these changes:

Summary

Diff

diff --git a/debian/changelog b/debian/changelog
index db6ef7d..a60fe62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+maven-ejb-plugin (2.5.1-2) UNRELEASED; urgency=medium
+
+  * Use secure copyright file specification URI.
+  * Use secure URI in debian/watch.
+  * Use secure URI in Homepage field.
+  * Bump debhelper from old 10 to 12.
+  * Set debhelper-compat version in Build-Depends.
+  * Set upstream metadata fields: Bug-Database, Repository, Repository-Browse.
+  * Update Vcs-* headers from URL redirect.
+  * Use canonical URL in Vcs-Git.
+  * Remove unnecessary get-orig-source-target.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sat, 15 May 2021 15:28:38 -0000
+
 maven-ejb-plugin (2.5.1-1) unstable; urgency=medium
 
   * Team upload.
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 4c44c8b..02b9afd 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
 Uploaders: Ludovic Claude <ludovic.claude@laposte.net>
 Build-Depends:
- debhelper (>= 10),
+ debhelper-compat (= 12),
  default-jdk,
  libmaven-archiver-java,
  libmaven-invoker-plugin-java (>= 1.3),
@@ -14,9 +14,9 @@ Build-Depends:
  libplexus-utils-java,
  maven-debian-helper
 Standards-Version: 4.0.0
-Vcs-Git: https://anonscm.debian.org/git/pkg-java/maven-ejb-plugin.git
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/maven-ejb-plugin.git
-Homepage: http://maven.apache.org/plugins/maven-ejb-plugin/
+Vcs-Git: https://salsa.debian.org/java-team/maven-ejb-plugin.git
+Vcs-Browser: https://salsa.debian.org/java-team/maven-ejb-plugin
+Homepage: https://maven.apache.org/plugins/maven-ejb-plugin/
 
 Package: libmaven-ejb-plugin-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 6ed0278..fbc2611 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 EJB Plugin
 Upstream-Contact: Apache Maven team
 Source: http://maven.apache.org/
diff --git a/debian/rules b/debian/rules
index 5985cac..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,3 @@
 
 %:
 	dh $@
-
-get-orig-source:
-	uscan --download-current-version --force-download --no-symlink
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..0a6ca37
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,4 @@
+---
+Bug-Database: https://issues.apache.org/jira/browse/MEJB
+Repository: http://svn.apache.org/repos/asf/maven/plugins/tags/maven-ejb-plugin-2.5.1
+Repository-Browse: http://svn.apache.org/viewvc/maven/plugins/tags/maven-ejb-plugin-2.5.1
diff --git a/debian/watch b/debian/watch
index e6fc8b2..c9a14ef 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-  http://svn.apache.org/repos/asf/maven/plugins/tags/ \
+  https://svn.apache.org/repos/asf/maven/plugins/tags/ \
   maven-ejb-plugin-(\d.*)/ debian debian/orig-tar.sh

Run locally

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

debcheckout maven-ejb-plugin
cd maven-ejb-plugin
lintian-brush

More details

Full run details