Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update dep versions

  • Loading branch information...
commit 2448482dd7d29b072c471facfdeee2d5e9271c7f 1 parent 0d17e8e
@jdillon jdillon authored
View
2  README → README.md
@@ -1,4 +1,4 @@
-Testing Harness for http-based tests.
+# Testing Harness for http-based tests.
The purpose of this harness is to be able to execute the same test code for
many server configurations. Instead of setting up a server fixture in every
View
2  harness-runner/pom.xml
@@ -8,8 +8,6 @@
<artifactId>harness-runner</artifactId>
- <name>Base for SuiteConfiguration test runners</name>
-
<dependencies>
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
View
35 hth-api/pom.xml
@@ -1,13 +1,14 @@
-<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">
+<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>org.sonatype.http-testing-harness</groupId>
<version>0.6-SNAPSHOT</version>
<artifactId>hth-parent</artifactId>
</parent>
+
<artifactId>hth-api</artifactId>
- <name>HTTP Tests API</name>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
@@ -21,21 +22,21 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <configuration>
- <manifestLocation>META-INF</manifestLocation>
- <instructions>
- <Bundle-Version>$(replace;$(project.version);-SNAPSHOT;.$(tstamp;yyyyMMdd-HHmm))</Bundle-Version>
- <Import-Package>
- !org.sonatype.tests.http.runner.api,
- !org.sonatype.tests.http.server.api,
- *
- </Import-Package>
- <Export-Package>
- org.sonatype.tests.http.runner.api,
- org.sonatype.tests.http.server.api
- </Export-Package>
- </instructions>
- </configuration>
+ <configuration>
+ <manifestLocation>META-INF</manifestLocation>
+ <instructions>
+ <Bundle-Version>$(replace;$(project.version);-SNAPSHOT;.$(tstamp;yyyyMMdd-HHmm))</Bundle-Version>
+ <Import-Package>
+ !org.sonatype.tests.http.runner.api,
+ !org.sonatype.tests.http.server.api,
+ *
+ </Import-Package>
+ <Export-Package>
+ org.sonatype.tests.http.runner.api,
+ org.sonatype.tests.http.server.api
+ </Export-Package>
+ </instructions>
+ </configuration>
</plugin>
</plugins>
</build>
View
9 junit-runner/pom.xml
@@ -8,24 +8,25 @@
<artifactId>junit-runner</artifactId>
- <name>JUnit 3/4 SuiteConfiguration Test Runner</name>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
- <scope>compile</scope>
</dependency>
+
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
+
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
<artifactId>hth-api</artifactId>
</dependency>
+
<dependency>
- <groupId>org.sonatype.http-testing-harness</groupId>
- <artifactId>harness-runner</artifactId>
+ <groupId>org.sonatype.http-testing-harness</groupId>
+ <artifactId>harness-runner</artifactId>
</dependency>
</dependencies>
View
131 pom.xml
@@ -1,5 +1,6 @@
<?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/xsd/maven-4.0.0.xsd">
+<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>
@@ -13,8 +14,6 @@
<artifactId>hth-parent</artifactId>
<packaging>pom</packaging>
- <name>http-testing-harness Parent Module</name>
-
<url>http://sonatype.org</url>
<description>Parent and aggregator for the testing harness for HTTP clients.</description>
<inceptionYear>2010</inceptionYear>
@@ -56,101 +55,57 @@
<forgeReleaseUrl>https://repository.sonatype.org/service/local/staging/deploy/maven2</forgeReleaseUrl>
</properties>
-
<dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit-dep</artifactId>
<version>4.10</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <version>1.3</version>
- <scope>test</scope>
</dependency>
+
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- <version>1.3</version>
- <scope>test</scope>
+ <groupId>org.sonatype.sisu.litmus</groupId>
+ <artifactId>litmus-testsupport</artifactId>
+ <version>1.4</version>
</dependency>
+
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
- <version>1.6.1</version>
+ <version>1.7.2</version>
</dependency>
+
+ <!-- INTERNAL -->
+
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
<artifactId>hth-api</artifactId>
<version>${project.version}</version>
</dependency>
+
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
<artifactId>server-provider</artifactId>
<version>${project.version}</version>
</dependency>
+
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
<artifactId>junit-runner</artifactId>
<version>${project.version}</version>
</dependency>
+
<dependency>
- <groupId>org.sonatype.http-testing-harness</groupId>
- <artifactId>harness-runner</artifactId>
- <version>${project.version}</version>
+ <groupId>org.sonatype.http-testing-harness</groupId>
+ <artifactId>harness-runner</artifactId>
+ <version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<defaultGoal>install</defaultGoal>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>animal-sniffer-maven-plugin</artifactId>
- <configuration>
- <signature>
- <groupId>org.codehaus.mojo.signature</groupId>
- <artifactId>java15</artifactId>
- <version>1.0</version>
- </signature>
- </configuration>
- <executions>
- <execution>
- <id>check-java-1.5-compat</id>
- <phase>process-classes</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-versions</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireMavenVersion>
- <version>2.0.9</version>
- </requireMavenVersion>
- <requireJavaVersion>
- <version>1.5</version>
- </requireJavaVersion>
- </rules>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
+
<pluginManagement>
<plugins>
<plugin>
@@ -172,8 +127,8 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>http://java.sun.com/javase/5/docs/api/</link>
@@ -209,6 +164,52 @@
</plugin>
</plugins>
</pluginManagement>
+
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-maven-plugin</artifactId>
+ <configuration>
+ <signature>
+ <groupId>org.codehaus.mojo.signature</groupId>
+ <artifactId>java15</artifactId>
+ <version>1.0</version>
+ </signature>
+ </configuration>
+ <executions>
+ <execution>
+ <id>check-java-1.5-compat</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-versions</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>2.0.9</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>1.5</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
<profiles>
View
64 server-provider/pom.xml
@@ -1,4 +1,5 @@
-<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">
+<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>
@@ -10,64 +11,59 @@
<artifactId>server-provider</artifactId>
<properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jetty.version>8.1.1.v20120215</jetty.version>
</properties>
- <name>Jetty Server Provider</name>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
+
<dependency>
<groupId>org.sonatype.http-testing-harness</groupId>
<artifactId>hth-api</artifactId>
</dependency>
+
<dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-servlet</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-security</artifactId>
- <version>${jetty.version}</version>
- </dependency>
- <dependency>
- <groupId>org.eclipse.jetty</groupId>
- <artifactId>jetty-webapp</artifactId>
- <version>${jetty.version}</version>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-servlet</artifactId>
+ <version>${jetty.version}</version>
</dependency>
+
<dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <version>0.9.26</version>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-security</artifactId>
+ <version>${jetty.version}</version>
</dependency>
+
<dependency>
- <groupId>com.google.collections</groupId>
- <artifactId>google-collections</artifactId>
- <version>1.0</version>
+ <groupId>org.eclipse.jetty</groupId>
+ <artifactId>jetty-webapp</artifactId>
+ <version>${jetty.version}</version>
</dependency>
+
<dependency>
- <groupId>commons-io</groupId>
- <artifactId>commons-io</artifactId>
- <version>2.0.1</version>
+ <groupId>org.sonatype.sisu.litmus</groupId>
+ <artifactId>litmus-testsupport</artifactId>
</dependency>
+
<dependency>
- <groupId>org.sonatype.sisu.goodies</groupId>
- <artifactId>goodies-common</artifactId>
- <version>1.0</version>
+ <groupId>commons-io</groupId>
+ <artifactId>commons-io</artifactId>
+ <version>2.0.1</version>
</dependency>
+
<dependency>
- <groupId>org.sonatype.http-testing-harness</groupId>
- <artifactId>junit-runner</artifactId>
- <scope>test</scope>
+ <groupId>org.sonatype.sisu.goodies</groupId>
+ <artifactId>goodies-common</artifactId>
+ <version>1.4</version>
</dependency>
+
<dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <scope>test</scope>
+ <groupId>org.sonatype.http-testing-harness</groupId>
+ <artifactId>junit-runner</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
View
53 testng-runner/pom.xml
@@ -1,30 +1,31 @@
-<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>
- <artifactId>hth-parent</artifactId>
- <groupId>org.sonatype.http-testing-harness</groupId>
- <version>0.6-SNAPSHOT</version>
- </parent>
+<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>
+ <artifactId>hth-parent</artifactId>
+ <groupId>org.sonatype.http-testing-harness</groupId>
+ <version>0.6-SNAPSHOT</version>
+ </parent>
- <artifactId>testng-runner</artifactId>
+ <artifactId>testng-runner</artifactId>
- <name>TestNG SuiteConfiguration Test Runner</name>
+ <dependencies>
+ <dependency>
+ <groupId>org.testng</groupId>
+ <artifactId>testng</artifactId>
+ <version>5.14.2</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>junit</artifactId>
+ <groupId>junit</groupId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+
+ <dependency>
+ <groupId>org.sonatype.http-testing-harness</groupId>
+ <artifactId>harness-runner</artifactId>
+ </dependency>
+ </dependencies>
- <dependencies>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <version>5.14.2</version>
- <exclusions>
- <exclusion>
- <artifactId>junit</artifactId>
- <groupId>junit</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.sonatype.http-testing-harness</groupId>
- <artifactId>harness-runner</artifactId>
- </dependency>
- </dependencies>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.