build(deps): remove unused deps
We've accumulated some dependencies over time that aren't actually
used in the maven module in which they are required/included.
MODIFY
common/config/pom.xml
common/config/pom.xml
</dependency>
<!-- Third Party Dependencies -->
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
</dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
<dependency>
<groupId>org.picketbox</groupId>
<artifactId>jboss-security-spi</artifactId>

MODIFY
common/es/pom.xml
common/es/pom.xml
<groupId>${project.groupId}</groupId>
<artifactId>apiman-common-util</artifactId>
</dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>

MODIFY
common/logging/log4j2/pom.xml
common/logging/log4j2/pom.xml
<artifactId>apiman-common-logging-log4j2</artifactId>
<name>apiman-common-logging-log4j2</name>
<dependencies>
- <dependency>
- <groupId>io.apiman</groupId>
- <artifactId>apiman-gateway-engine-core</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-common-logging-core</artifactId>

MODIFY
common/logging/slf4j/pom.xml
common/logging/slf4j/pom.xml
<artifactId>apiman-common-logging-slf4j</artifactId>
<name>apiman-common-logging-slf4j</name>
<dependencies>
- <dependency>
- <groupId>io.apiman</groupId>
- <artifactId>apiman-gateway-engine-core</artifactId>
- </dependency>
<dependency>
<groupId>io.apiman</groupId>
<artifactId>apiman-common-logging-core</artifactId>

DELETE
common/net/.gitignore
-/target/

DELETE
common/net/pom.xml
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>io.apiman</groupId>
- <artifactId>apiman-common</artifactId>
- <version>2.0.1-SNAPSHOT</version>
- </parent>
- <artifactId>apiman-common-net</artifactId>
- <name>apiman-common-net</name>
-
- <dependencies>
- <!-- Project Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-config</artifactId>
- </dependency>
-
- <!-- Third Party Dependencies -->
- <dependency>
- <groupId>com.squareup.okhttp</groupId>
- <artifactId>okhttp</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- </dependency>
- </dependencies>
-
-</project>

MODIFY
common/pom.xml
common/pom.xml
<module>auth</module>
<module>config</module>
<module>es</module>
- <module>net</module>
<module>plugin</module>
<module>servlet</module>
<module>util</module>

MODIFY
gateway/engine/es/pom.xml
gateway/engine/es/pom.xml
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpasyncclient</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- </dependency>
</dependencies>
</project>

MODIFY
gateway/engine/filesystem/pom.xml
gateway/engine/filesystem/pom.xml
<dependencies>
<!-- Project Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-util</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-gateway-engine-beans</artifactId>

MODIFY
gateway/engine/hazelcast/pom.xml
gateway/engine/hazelcast/pom.xml
<dependencies>
<!-- Project Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-util</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-gateway-engine-beans</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-gateway-engine-core</artifactId>
-->
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>

MODIFY
gateway/engine/influxdb/pom.xml
gateway/engine/influxdb/pom.xml
<dependencies>
<!-- Project Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-util</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-gateway-engine-beans</artifactId>

MODIFY
gateway/engine/prometheus/pom.xml
gateway/engine/prometheus/pom.xml
<dependencies>
<!-- Project Dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-util</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-gateway-engine-beans</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-gateway-engine-core</artifactId>

MODIFY
gateway/platforms/vertx3/vertx3-common/pom.xml
gateway/platforms/vertx3/vertx3-common/pom.xml
</dependency>
<!-- apiman dependencies -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-gateway-engine-beans</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-gateway-engine-core</artifactId>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-common-util</artifactId>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-common-config</artifactId>
- </dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>apiman-common-logging-core</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-lang3</artifactId>
- </dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
</dependencies>
</project>

MODIFY
gateway/platforms/vertx3/vertx3/pom.xml
gateway/platforms/vertx3/vertx3/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-vertx</artifactId>
</dependency>
- <dependency>
- <groupId>org.jboss.resteasy</groupId>
- <artifactId>resteasy-jackson-provider</artifactId>
- </dependency>
+
<!-- apiman dependencies -->
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-platforms-vertx3-common</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-gateway-engine-policies</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-core</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-beans</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-common-plugin</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-common-util</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-common-config</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-common-logging-core</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-common-logging-log4j2</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-api-rest</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-api-rest-impl</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>apiman-test-common</artifactId>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-es</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-vertx-eb-inmemory</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-vertx-polling</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-influxdb</artifactId>
</dependency>
<dependency>
- <groupId>${project.groupId}</groupId>
+ <groupId>io.apiman</groupId>
<artifactId>apiman-gateway-engine-prometheus</artifactId>
</dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
- <dependency>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- </dependency>
<dependency>
<groupId>com.unboundid</groupId>
<artifactId>unboundid-ldapsdk</artifactId>
<groupId>com.github.seancfoley</groupId>
<artifactId>ipaddress</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.jboss.spec.javax.ws.rs</groupId>
+ <artifactId>jboss-jaxrs-api_2.1_spec</artifactId>
+ </dependency>
+
<!-- For custom Vert.x log4j2 delegate code -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
</dependency>
- <dependency>
- <groupId>org.jboss.spec.javax.ws.rs</groupId>
- <artifactId>jboss-jaxrs-api_2.1_spec</artifactId>
- </dependency>
<!-- Spec Only -->
+ <dependency>
+ <groupId>io.apiman</groupId>
+ <artifactId>apiman-test-common</artifactId>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>

MODIFY
gateway/test/pom.xml
gateway/test/pom.xml
</dependency>
<!-- Required Third Party Libs -->
- <dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- </dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>

MODIFY
manager/api/es/pom.xml
manager/api/es/pom.xml
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpcore</artifactId>
- </dependency>
<!-- Test Libs -->
<dependency>

build(deps): remove unused deps

We've accumulated some dependencies over time that aren't actually 
used in the maven module in which they are required/included.