Skip to content

Commit

Permalink
[WFCORE-6237] Deprecated javax.api module is aggregation module that …
Browse files Browse the repository at this point in the history
…is wrapping java.se module.

java.se module is provided by default to all modules which namespace is 1.8 and above
so dependency on that module isn't neccessary to be declared in module config files.
  • Loading branch information
ropalka committed Feb 16, 2023
1 parent 149926d commit d03d0a4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Expand Up @@ -50,8 +50,5 @@
<module name="org.glassfish.jakarta.el" export="true" optional="true" />
<module name="javax.xml.rpc.api" export="true" optional="true" />
<module name="org.omg.api" export="true" optional="true" />

<!-- This one always goes last. -->
<module name="javax.api" export="true" optional="true" />
</dependencies>
</module>
Expand Up @@ -25,12 +25,7 @@
<module xmlns="urn:jboss:module:1.9" name="jakarta.security.auth.message.api">

<resources>
<!--<artifact name="${org.jboss.spec.javax.security.auth.message:jboss-jaspi-api_1.1_spec}"/>-->
<artifact name="${jakarta.authentication:jakarta.authentication-api}"/>
</resources>

<dependencies>
<!-- Needed for javax.security.auth -->
<module name="javax.api" export="false"/>
</dependencies>
</module>
Expand Up @@ -41,7 +41,7 @@
public class ServerDependenciesProcessor implements DeploymentUnitProcessor {

private static ModuleIdentifier[] DEFAULT_MODULES = new ModuleIdentifier[] {
ModuleIdentifier.create("javax.api"),
ModuleIdentifier.create("java.se"),
ModuleIdentifier.create("org.jboss.vfs"),
};

Expand Down

0 comments on commit d03d0a4

Please sign in to comment.