[cdi-api] 02/03: Downgraded libservlet3.1-java to a suggested dependency

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 10 23:34:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository cdi-api.

commit b31b3e4e5f50485300dd12805945a086e888e70d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Sat Nov 11 00:31:17 2017 +0100

    Downgraded libservlet3.1-java to a suggested dependency
---
 debian/changelog                                   |  1 +
 debian/patches/01-optional-el-api-dependency.patch | 14 ++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b0d2e64..dd82251 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 cdi-api (1.2-2) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Downgraded libservlet3.1-java to a suggested dependency
   * Standards-Version updated to 4.1.1
 
  -- Emmanuel Bourg <ebourg at apache.org>  Sat, 11 Nov 2017 00:17:34 +0100
diff --git a/debian/patches/01-optional-el-api-dependency.patch b/debian/patches/01-optional-el-api-dependency.patch
new file mode 100644
index 0000000..e629d38
--- /dev/null
+++ b/debian/patches/01-optional-el-api-dependency.patch
@@ -0,0 +1,14 @@
+Description: Makes the el-api optional since it's only used by BeanManager.
+ This optimizes the transitive dependencies pulled when installing Maven.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: no
+--- a/api/pom.xml
++++ b/api/pom.xml
+@@ -140,6 +140,7 @@
+ 		<dependency>
+ 			<groupId>javax.el</groupId>
+ 			<artifactId>javax.el-api</artifactId>
++			<optional>true</optional>
+ 		</dependency>
+ 
+ 		<dependency>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d133d18
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-optional-el-api-dependency.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/cdi-api.git



More information about the pkg-java-commits mailing list