Remove dependency on servlet API
This commit is contained in:
parent
4aa8936e09
commit
97e0e7c18d
@ -9,7 +9,6 @@ BuildArch: noarch
|
||||
Source0: https://osgi.org/download/r7/osgi.cmpn-%{version}.jar
|
||||
|
||||
BuildRequires: maven-local
|
||||
BuildRequires: mvn(javax.servlet:javax.servlet-api)
|
||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||
BuildRequires: mvn(org.osgi:osgi.annotation)
|
||||
BuildRequires: mvn(org.osgi:osgi.core)
|
||||
@ -62,8 +61,8 @@ mv META-INF/maven/org.osgi/osgi.cmpn/pom.xml .
|
||||
|
||||
%pom_add_dep org.osgi:osgi.annotation::provided
|
||||
%pom_add_dep org.osgi:osgi.core::provided
|
||||
%pom_add_dep javax.servlet:javax.servlet-api::provided
|
||||
# Don't compile in Jax RS and JPA support when jp_minimal is activated
|
||||
# Don't compile in Servlet, Jax RS and JPA support
|
||||
rm -r src/main/java/org/osgi/service/http
|
||||
rm -r src/main/java/org/osgi/service/jaxrs
|
||||
rm -r src/main/java/org/osgi/service/jpa
|
||||
rm -r src/main/java/org/osgi/service/transaction/control/jpa
|
||||
|
Loading…
Reference in New Issue
Block a user