I'm not sure if changes to pom.xml files in submodules are subject to
our review
process, but in case they are, please approve the attached diffs.
This is required to fix:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=11168
("BeanManager.getELResolver() is not used in servlet engine")
The dependency on weld-osgi-bundle is copied from
web/weld-integration/pom.xml
Thanks,
Jan
Index: web-glue/pom.xml
===================================================================
--- web-glue/pom.xml (revision 34554)
+++ web-glue/pom.xml (working copy)
@@ -265,5 +265,44 @@
<artifactId>websecurity</artifactId>
<version>${project.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.glassfish.web</groupId>
+ <artifactId>weld-integration</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-osgi-bundle</artifactId>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-logging</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.weld</groupId>
+ <artifactId>weld-spi</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.enterprise</groupId>
+ <artifactId>cdi-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javassist</groupId>
+ <artifactId>javassist</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.collections</groupId>
+ <artifactId>google-collections</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
</project>