undo attempt to remove javax.servlet dependency

undo attempt to remove javax.servlet dependency
This commit is contained in:
Thomas Andersen 2015-10-05 02:10:05 +02:00
parent e040ef3f43
commit cdf18f00b1
5 changed files with 11 additions and 35 deletions

View File

@ -85,11 +85,11 @@
We provide a dummy implementation of servlet api to reduce size We provide a dummy implementation of servlet api to reduce size
and prevent from rewriting the BaseMethodBinding and friends. and prevent from rewriting the BaseMethodBinding and friends.
--> -->
<!-- dependency> <dependency>
<groupId>javax.servlet</groupId> <groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId> <artifactId>javax.servlet-api</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency--> </dependency>
</dependencies> </dependencies>
@ -147,8 +147,8 @@
<include>org.apache.commons:*</include> <include>org.apache.commons:*</include>
<include>org.apache.httpcomponents:*</include> <include>org.apache.httpcomponents:*</include>
<include>commons-codec:commons-codec</include> <include>commons-codec:commons-codec</include>
<include>javax.servlet:javax.servlet-api</include>
--> -->
<include>javax.servlet:javax.servlet-api</include>
</includes> </includes>
</artifactSet> </artifactSet>
<relocations> <relocations>
@ -176,7 +176,7 @@
<!-- Exclude test stuff which depends on httpservlet --> <!-- Exclude test stuff which depends on httpservlet -->
<exclude>ca/uhn/fhir/util/ITestingUiClientFactory</exclude> <exclude>ca/uhn/fhir/util/ITestingUiClientFactory</exclude>
<!-- Exclude server side stuff. This could be made nicer if code was divided into shared, server and client --> <!-- Exclude server side stuff. This could be made nicer if code was divided into shared, server and client -->
<exclude>ca/uhn/fhir/rest/server/Add*</exclude> <!--exclude>ca/uhn/fhir/rest/server/Add*</exclude>
<exclude>ca/uhn/fhir/rest/server/Apache*</exclude> <exclude>ca/uhn/fhir/rest/server/Apache*</exclude>
<exclude>ca/uhn/fhir/rest/server/Bundle*</exclude> <exclude>ca/uhn/fhir/rest/server/Bundle*</exclude>
<exclude>ca/uhn/fhir/rest/server/ETag*</exclude> <exclude>ca/uhn/fhir/rest/server/ETag*</exclude>
@ -192,7 +192,7 @@
<exclude>ca/uhn/fhir/rest/server/Search*</exclude> <exclude>ca/uhn/fhir/rest/server/Search*</exclude>
<exclude>ca/uhn/fhir/rest/server/Simple*</exclude> <exclude>ca/uhn/fhir/rest/server/Simple*</exclude>
<exclude>ca/uhn/fhir/rest/server/audit/**</exclude> <exclude>ca/uhn/fhir/rest/server/audit/**</exclude>
<exclude>ca/uhn/fhir/rest/server/interceptor/**</exclude> <exclude>ca/uhn/fhir/rest/server/interceptor/**</exclude-->
<!-- Exclude Phloc validator to make android libs small --> <!-- Exclude Phloc validator to make android libs small -->
<exclude>ca/uhn/fhir/validation/schematron/SchematronBaseValidator*</exclude> <exclude>ca/uhn/fhir/validation/schematron/SchematronBaseValidator*</exclude>
<!-- Exclude Thymeleaf to make android libs small --> <!-- Exclude Thymeleaf to make android libs small -->
@ -224,15 +224,15 @@
<include>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu</include> <include>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu</include>
</includes> </includes>
</artifactSet> </artifactSet>
<filters> <!-- Exclude server side stuff, except exceptions which are used clientside -->
<!-- Exclude server side stuff, except exceptions which are used clientside --> <!--filters>
<filter> <filter>
<artifact>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu</artifact> <artifact>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu</artifact>
<excludes> <excludes>
<exclude>ca/uhn/fhir/rest/server/**</exclude> <exclude>ca/uhn/fhir/rest/server/**</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters-->
</configuration> </configuration>
</execution> </execution>
<!-- dstu2 jar --> <!-- dstu2 jar -->
@ -249,15 +249,15 @@
<include>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2</include> <include>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2</include>
</includes> </includes>
</artifactSet> </artifactSet>
<filters> <!-- Exclude server side stuff, except exceptions which are used clientside -->
<!-- Exclude server side stuff, except exceptions which are used clientside --> <!--filters>
<filter> <filter>
<artifact>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2</artifact> <artifact>ca.uhn.hapi.fhir:hapi-fhir-structures-dstu2</artifact>
<excludes> <excludes>
<exclude>ca/uhn/fhir/rest/server/**</exclude> <exclude>ca/uhn/fhir/rest/server/**</exclude>
</excludes> </excludes>
</filter> </filter>
</filters> </filters-->
</configuration> </configuration>
</execution> </execution>
</executions> </executions>

View File

@ -1,5 +0,0 @@
package javax.servlet;
public class ServletRequest {
}

View File

@ -1,5 +0,0 @@
package javax.servlet;
public class ServletResponse {
}

View File

@ -1,7 +0,0 @@
package javax.servlet.http;
import javax.servlet.ServletRequest;
public class HttpServletRequest extends ServletRequest {
}

View File

@ -1,7 +0,0 @@
package javax.servlet.http;
import javax.servlet.ServletResponse;
public class HttpServletResponse extends ServletResponse{
}