File: 01-optional-el-api-dependency.patch

package info (click to toggle)
cdi-api 1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,140 kB
  • sloc: java: 1,542; xml: 776; sh: 175; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 418 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
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@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>