Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Remove direct JAXB/Xerces runtime deps, use APIs only
Browse files Browse the repository at this point in the history
  • Loading branch information
berezovskyi committed Nov 24, 2019
1 parent ff56056 commit a06554c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 27 deletions.
2 changes: 2 additions & 0 deletions oauth-webapp/pom.xml
Expand Up @@ -69,10 +69,12 @@
<groupId>org.apache.wink</groupId>
<artifactId>wink-json4j</artifactId>
</dependency>
<!--
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
</dependency>
-->

<!-- Test -->
<dependency>
Expand Down
12 changes: 4 additions & 8 deletions oauth-webapp/src/main/webapp/WEB-INF/web.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2011 IBM Corporation.
Copyright (c) 2011-2019 IBM Corporation and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
Expand All @@ -9,10 +9,6 @@
The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
and the Eclipse Distribution License is available at
http://www.eclipse.org/org/documents/edl-v10.php.
Contributors:
IBM Corporation - initial API and implementation
-->


Expand All @@ -25,8 +21,8 @@
<description>An example demonstrating the Lyo OAuth provider framework.</description>
<listener>
<listener-class>org.eclipse.lyo.server.oauth.webapp.services.OAuthServletListener</listener-class>
</listener>
<servlet>
</listener>
<!--<servlet>
<servlet-name>JAX-RS Services</servlet-name>
<servlet-class>
org.apache.wink.server.internal.servlet.RestServlet
Expand All @@ -39,5 +35,5 @@
<servlet-mapping>
<servlet-name>JAX-RS Services</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>
</servlet-mapping>-->
</web-app>
6 changes: 3 additions & 3 deletions oslc4j-wink/pom.xml
Expand Up @@ -68,8 +68,8 @@
</dependency>

<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
<build>
Expand All @@ -93,7 +93,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>3.1.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
Expand Down
17 changes: 1 addition & 16 deletions pom.xml
Expand Up @@ -79,26 +79,11 @@
<artifactId>slf4j-api</artifactId>
<version>1.7.25</version>
</dependency>
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.3.04</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.8.0</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.2</version>
</dependency>
<dependency>
<groupId>stax</groupId>
<artifactId>stax-api</artifactId>
Expand Down Expand Up @@ -154,7 +139,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
<version>3.1.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
Expand Down

0 comments on commit a06554c

Please sign in to comment.