Skip to content
Commits on Source (3)
metro-policy (2.7.2-2) unstable; urgency=medium
* Fixed the build failure with Java 11 (Closes: #912357)
* Standards-Version updated to 4.2.1
-- Emmanuel Bourg <ebourg@apache.org> Fri, 02 Nov 2018 11:21:22 +0100
metro-policy (2.7.2-1) unstable; urgency=medium
* Initial release (Closes: #905278)
......
......@@ -7,12 +7,13 @@ Build-Depends:
debhelper (>= 11~),
default-jdk,
junit,
libactivation-java,
libistack-commons-java,
libmaven-bundle-plugin-java,
libtxw2-java,
libwoodstox-java,
maven-debian-helper (>= 2.1)
Standards-Version: 4.2.0
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/metro-policy.git
Vcs-Browser: https://salsa.debian.org/java-team/metro-policy
Homepage: https://javaee.github.io/metro-policy/
......
......@@ -3,3 +3,4 @@
# maven.test.skip=true
# project.build.sourceEncoding=UTF-8
atGenerated=false
Description: Adds the dependency on the Activation Framework to fix the build failure with Java 11.
This patch can be removed after upgrading to the version 2.7.4 or higher.
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/pom.xml
+++ b/pom.xml
@@ -104,6 +104,11 @@
<scope>runtime</scope>
</dependency>
<dependency>
+ <groupId>com.sun.activation</groupId>
+ <artifactId>javax.activation</artifactId>
+ <version>1.2.0</version>
+ </dependency>
+ <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
01-activation-dependency.patch