
<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">
  <parent>
    <groupId>org.opennms.plugins</groupId>
    <artifactId>opennms-es-rest.parent</artifactId>
    <version>19.0.0-SNAPSHOT</version>
  </parent>

  <!-- Feature Definition -->
  <modelVersion>4.0.0</modelVersion>
  <artifactId>opennms-es-rest</artifactId>
  <name>opennms-es-rest</name>
  <description>Feature definition for opennms-es-rest</description>
  <packaging>pom</packaging>

  <build>

    <plugins>
      <plugin>
        <groupId>org.opennms.maven.plugins</groupId>
        <artifactId>features-maven-plugin</artifactId>
        <configuration>
          <bundles>
            <!-- <bundle>wrap:mvn:io.searchbox/jest-common/${jestVersion}</bundle> -->
            <!-- <bundle>wrap:mvn:io.searchbox/jest/${jestVersion}</bundle> -->
            <!-- <bundle>wrap:mvn:io.searchbox/jest-complete-osgi/${jestVersion}</bundle> -->

            <!-- <bundle>wrap:mvn:org.apache.httpcomponents/httpcore-nio/${httpcoreVersion}</bundle> -->
            <!-- <bundle>wrap:mvn:org.apache.httpcomponents/httpasyncclient/4.1.1</bundle> -->
            <!-- <bundle>wrap:mvn:org.apache.httpcomponents/httpasyncclient/${httpclientVersion}</bundle> -->

            <!-- dropwizard-metrics feature -->
            <bundle>mvn:io.dropwizard.metrics/metrics-core/3.1.2</bundle>

            <!-- rate-limited-logger feature -->
            <bundle>mvn:joda-time/joda-time/${jodaTimeVersion}</bundle>
            <bundle>wrap:mvn:com.swrve/rate-limited-logger/${rateLimitedLoggerVersion}</bundle>

            <!-- opennms-core-ipc-sink-api feature -->
            <bundle>mvn:org.opennms.core.ipc.sink/org.opennms.core.ipc.sink.api/${project.version}</bundle>
            <bundle>mvn:org.opennms.core.ipc.sink/org.opennms.core.ipc.sink.common/${project.version}</bundle>
            <bundle>mvn:org.opennms.core.ipc.sink/org.opennms.core.ipc.sink.xml/${project.version}</bundle>
          </bundles>
        </configuration>
      </plugin>
    </plugins>

  </build>

  <dependencies>

    <dependency>
      <groupId>org.opennms.plugins</groupId>
      <artifactId>${productName}.main-module</artifactId>
      <version>${project.version}</version>
    </dependency>
    <dependency>
      <groupId>org.opennms.plugins</groupId>
      <artifactId>${productName}.product-descriptor</artifactId>
      <version>${project.version}</version>
    </dependency>

    <dependency>
    <groupId>com.googlecode.json-simple</groupId>
    <artifactId>json-simple</artifactId>
    <version>${json-simpleVersion}</version>
    </dependency>

    <!-- <dependency> -->
    <!-- <groupId>io.searchbox</groupId> -->
    <!-- <artifactId>jest</artifactId> -->
    <!-- </dependency> -->
    <dependency>
      <groupId>io.searchbox</groupId>
      <artifactId>jest-complete-osgi</artifactId>
      <version>2.0.3</version>
    </dependency>

    <dependency>
      <groupId>com.google.code.gson</groupId>
      <artifactId>gson</artifactId>
      <version>2.6.2</version>
    </dependency>

    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>
    </dependency>

    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-lang3</artifactId>
      <version>3.4</version> <!-- opennms 3.3.2 -->
    </dependency>

    <!-- <dependency> -->
    <!-- <groupId>org.apache.httpcomponents</groupId> -->
    <!-- <artifactId>httpcore-nio</artifactId> -->
    <!-- <version>4.4.4</version> -->
    <!-- </dependency> -->

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpcore-osgi</artifactId>
    </dependency>

    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient-osgi</artifactId>
    </dependency>

    <!-- <dependency> -->
    <!-- <groupId>org.apache.httpcomponents</groupId> -->
    <!-- <artifactId>httpasyncclient-osgi</artifactId> -->
    <!-- <version>${httpclientVersion}</version> -->
    <!-- </dependency> -->

    <!-- best match derived from httpasyncclient 4.0.2 compiled against httpclient 4.3.5 httpcore 4.3.2  -->
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpasyncclient-osgi</artifactId>
      <!-- <version>4.1.1</version> -->
    </dependency>

    <!-- <dependency> -->
    <!-- <groupId>org.apache.httpcomponents</groupId> -->
    <!-- <artifactId>httpasyncclient</artifactId> -->
    <!-- <version>4.1.1</version> -->
    <!-- </dependency> -->


<!--     <dependency> -->
<!--       <groupId>commons-logging</groupId> -->
<!--       <artifactId>commons-logging</artifactId> -->
<!--       <version>1.2</version> -->
<!--     </dependency> -->

<!--     <dependency> -->
<!--       <groupId>commons-codec</groupId> -->
<!--       <artifactId>commons-codec</artifactId> -->
<!--       <version>1.9</version> -->
<!--     </dependency> -->



    <!-- [INFO] \- io.searchbox:jest:jar:2.0.3:provided -->
    <!-- [INFO] +- io.searchbox:jest-common:jar:2.0.3:provided -->
    <!-- [INFO] | +- com.google.code.gson:gson:jar:2.6.2:provided -->
    <!-- [INFO] | \- org.apache.commons:commons-lang3:jar:3.4:provided -->
    <!-- [INFO] +- org.apache.httpcomponents:httpcore-nio:jar:4.4.4:provided -->
    <!-- [INFO] | \- org.apache.httpcomponents:httpcore:jar:4.4.4:provided -->
    <!-- [INFO] +- org.apache.httpcomponents:httpclient:jar:4.5.2:provided -->
    <!-- [INFO] | +- commons-logging:commons-logging:jar:1.2:provided -->
    <!-- [INFO] | \- commons-codec:commons-codec:jar:1.9:provided -->
    <!-- [INFO] \- org.apache.httpcomponents:httpasyncclient:jar:4.1.1:provided -->

  </dependencies>

</project>
