Skip to content

Commit

Permalink
Issue #5401 - Fixing test failure due to optional JPMS dep.
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Oct 6, 2020
1 parent a22c41e commit cf0c141
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions jetty-http-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
<artifactId>jetty-http-tools</artifactId>
<name>Jetty :: HTTP Testing Utilities</name>

<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
@{argLine} ${jetty.surefire.argLine}
--add-modules org.hamcrest
</argLine>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>org.eclipse.jetty</groupId>
Expand Down
1 change: 1 addition & 0 deletions jetty-http-tools/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
exports org.eclipse.jetty.http.tools.matchers;

requires transitive org.eclipse.jetty.http;

// Optional - only required if you use hamcrest too.
requires static org.hamcrest;
}

0 comments on commit cf0c141

Please sign in to comment.