diff --git a/environments/se/build/pom.xml b/environments/se/build/pom.xml
index 50d5f08c5b..45a468bce1 100644
--- a/environments/se/build/pom.xml
+++ b/environments/se/build/pom.xml
@@ -121,12 +121,14 @@
org.apache.maven.plugins
maven-javadoc-plugin
+
+
+ **/module-info.java
+
true
org.jboss.weld:*
org.jboss.weld.se:*
- jakarta.enterprise:*
- jakarta.inject:*
@@ -144,12 +146,6 @@
bcel
${apache.bcel.version}
-
-
- jakarta.ejb
- jakarta.ejb-api
- 4.0.0-RC2
-
diff --git a/environments/servlet/build/pom.xml b/environments/servlet/build/pom.xml
index dbda03197e..78dffd21c5 100644
--- a/environments/servlet/build/pom.xml
+++ b/environments/servlet/build/pom.xml
@@ -138,13 +138,15 @@
org.apache.maven.plugins
maven-javadoc-plugin
+
+
+ **/module-info.java
+
true
org.jboss.weld:*
org.jboss.weld.module:*
org.jboss.weld.servlet:*
- jakarta.enterprise:*
- jakarta.inject:*
@@ -173,7 +175,7 @@
${jsp.api.version}
- org.jboss
+ io.smallrye
jandex
${jandex.version}
@@ -193,8 +195,8 @@
${jetty.version}
- org.eclipse.jetty
- jetty-servlet
+ org.eclipse.jetty.ee10
+ jetty-ee10-servlet
${jetty.version}