Skip to content

Commit

Permalink
Add dependencies to Jetty test distributions
Browse files Browse the repository at this point in the history
`ServletTester` and `HttpTester` were removed from the
source distributions, so we need to add specific test
distribution for our servlet tests.
  • Loading branch information
arteam committed Nov 21, 2015
1 parent 6a25e34 commit 02a94ae
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dropwizard-bom/pom.xml
Expand Up @@ -210,6 +210,12 @@
<artifactId>jetty-servlet</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<classifier>tests</classifier>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlets</artifactId>
Expand All @@ -220,6 +226,12 @@
<artifactId>jetty-http</artifactId>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<classifier>tests</classifier>
<version>${jetty.version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-alpn-server</artifactId>
Expand Down
14 changes: 14 additions & 0 deletions dropwizard-jetty/pom.xml
Expand Up @@ -59,6 +59,20 @@
<artifactId>jetty-http</artifactId>
</dependency>

<!-- For GzipHandler tests -->
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>

<dependency>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-configuration</artifactId>
Expand Down
12 changes: 12 additions & 0 deletions dropwizard-servlets/pom.xml
Expand Up @@ -59,6 +59,18 @@
<artifactId>jetty-servlet</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-http</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit 02a94ae

Please sign in to comment.