aboutsummaryrefslogtreecommitdiffstats
path: root/container-test
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-10-13 15:12:46 +0200
committergjoranv <gv@oath.com>2017-10-13 17:24:37 +0200
commitdd28df37d5db7e75707a936b3c6349ec0e5ef09f (patch)
treeb30c141d777a4bf2a97f5fe1a73d65b3dc66781e /container-test
parentbb1ab33cfd0919c45e2a5053424a8a6061adb5d8 (diff)
Add new artifact container-test.
- To be used by 3rd party projects in scope 'test'.
Diffstat (limited to 'container-test')
-rw-r--r--container-test/OWNERS1
-rw-r--r--container-test/README.md6
-rw-r--r--container-test/pom.xml100
3 files changed, 107 insertions, 0 deletions
diff --git a/container-test/OWNERS b/container-test/OWNERS
new file mode 100644
index 00000000000..3b2ba1ede81
--- /dev/null
+++ b/container-test/OWNERS
@@ -0,0 +1 @@
+gjoranv
diff --git a/container-test/README.md b/container-test/README.md
new file mode 100644
index 00000000000..147618f9851
--- /dev/null
+++ b/container-test/README.md
@@ -0,0 +1,6 @@
+# Container-test
+
+Convenience dependency for users developing OSGi bundles for JDisc.
+Add this maven artifact as a **test** scope dependency in your pom.xml,
+and it will transitively pull in all dependencies needed to unit test
+JDisc components with the `application` test tool. \ No newline at end of file
diff --git a/container-test/pom.xml b/container-test/pom.xml
new file mode 100644
index 00000000000..2642234c8e9
--- /dev/null
+++ b/container-test/pom.xml
@@ -0,0 +1,100 @@
+<?xml version="1.0"?>
+<!-- Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -->
+<!-- This module collects all dependencies needed to test container components with application. -->
+<!-- It should be considered an external Vespa API. -->
+<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">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>parent</artifactId>
+ <version>6-SNAPSHOT</version>
+ </parent>
+ <artifactId>container-test</artifactId>
+ <version>6-SNAPSHOT</version>
+ <packaging>pom</packaging>
+ <dependencies>
+ <dependency>
+ <groupId>com.yahoo.vespa</groupId>
+ <artifactId>application</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <!-- All dependencies that should be visible in test classpath, but not compile classpath,
+ for user projects must be added in compile scope here.
+ These dependencies are explicitly excluded (or set to non-compile scope) in the container-dev module. -->
+ <dependency>
+ <groupId>com.ibm.icu</groupId>
+ <artifactId>icu4j</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr-runtime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.antlr</groupId>
+ <artifactId>antlr4-runtime</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-exec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.hdrhistogram</groupId>
+ <artifactId>HdrHistogram</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>xerces</groupId>
+ <artifactId>xercesImpl</artifactId>
+ </dependency>
+
+ <!-- These dependencies are necessary in test classpath when using jdisc_http_filters -->
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.7.0</version>
+ <exclusions>
+ <exclusion>
+ <!-- To avoid pulling in an older version than what we provide (also affects provided scope). -->
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils-core</artifactId>
+ <version>1.8.0</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-configuration</groupId>
+ <artifactId>commons-configuration</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.8</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpkix-jdk15on</artifactId>
+ <version>${bouncycastle.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcprov-jdk15on</artifactId>
+ <version>${bouncycastle.version}</version>
+ </dependency>
+
+ </dependencies>
+</project>