Skip to content

Commit

Permalink
#10699 configure surefire's JPMS command line to fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban committed Oct 12, 2023
1 parent f74c9b6 commit 4ae40d6
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions jetty-core/jetty-http-spi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<properties>
<bundle-symbolic-name>${project.groupId}.http.spi</bundle-symbolic-name>
<jacoco.skip>true</jacoco.skip>
<spotbugs.onlyAnalyze>org.eclipse.jetty.http.spi.*</spotbugs.onlyAnalyze>
<jakarta.ws.rs.api.version>3.1.0</jakarta.ws.rs.api.version>
<jakarta.xml.jaxws.impl.version>4.0.1</jakarta.xml.jaxws.impl.version>
<spotbugs.onlyAnalyze>org.eclipse.jetty.http.spi.*</spotbugs.onlyAnalyze>
</properties>
<dependencies>
<dependency>
Expand All @@ -26,6 +26,18 @@
<artifactId>slf4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>${jakarta.xml.jaxws.impl.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>${jakarta.ws.rs.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-client</artifactId>
Expand All @@ -46,18 +58,6 @@
<artifactId>jul-to-slf4j</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>${jakarta.ws.rs.api.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>jaxws-rt</artifactId>
<version>${jakarta.xml.jaxws.impl.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down Expand Up @@ -96,7 +96,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>--add-opens java.base/jdk.internal.misc=ALL-UNNAMED</argLine>
<argLine>--add-opens java.base/jdk.internal.misc=ALL-UNNAMED
--add-reads org.eclipse.jetty.http.spi=org.eclipse.jetty.logging</argLine>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 4ae40d6

Please sign in to comment.