Skip to content

Commit

Permalink
Jetty 12 - Move test JPMS out of main module-info.java (#9203)
Browse files Browse the repository at this point in the history
* Move test jpms out of main module-info.java
* There's no jetty-core/jetty-security anymore
  • Loading branch information
joakime authored Jan 26, 2023
1 parent 177fc23 commit 7f0294d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 28 deletions.
1 change: 0 additions & 1 deletion jetty-core/jetty-jndi/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

// Only required if using DataSourceCloser.
requires static java.sql;
// requires static org.eclipse.jetty.security;

exports org.eclipse.jetty.jndi;
exports org.eclipse.jetty.jndi.java;
Expand Down
4 changes: 3 additions & 1 deletion jetty-core/jetty-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
@{argLine} ${jetty.surefire.argLine} --add-reads org.eclipse.jetty.server=org.eclipse.jetty.logging --add-opens org.eclipse.jetty.server/org.eclipse.jetty.server=ALL-UNNAMED
@{argLine} ${jetty.surefire.argLine}
--add-reads org.eclipse.jetty.server=org.eclipse.jetty.logging
--add-reads org.eclipse.jetty.server=java.xml
</argLine>
</configuration>
</plugin>
Expand Down
6 changes: 0 additions & 6 deletions jetty-core/jetty-server/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
// Only required if using JMX.
requires static org.eclipse.jetty.jmx;

// TODO needed for testing??
requires static java.xml;

exports org.eclipse.jetty.server;
exports org.eclipse.jetty.server.handler;
exports org.eclipse.jetty.server.handler.gzip;
Expand All @@ -31,7 +28,4 @@

exports org.eclipse.jetty.server.jmx to
org.eclipse.jetty.jmx;

// TODO required for testing ????
exports org.eclipse.jetty.server.ssl;
}

This file was deleted.

0 comments on commit 7f0294d

Please sign in to comment.