Could you please explain how you integrate server and app pom.xml? I suggest to use a BOM: https://github.com/wildfly/boms Older releases including classic JavaEE7 are available also. You can add you app's dependencies as you like.
<dependencyManagement> <dependencies> <dependency> <groupId>org.wildfly.bom</groupId> <artifactId>wildfly-jakartaee8-with-tools</artifactId> <scope>import</scope> <type>pom</type> <version>${wildfly.version}</version> </dependency> </dependencies> </dependencyManagement> Am Dienstag, 27. Oktober 2020 18:41:44 UTC+1 schrieb Patrick Buchheit: > > I'm in the process of modernizing one of our legacy applications. As part > of the process, we are migrating from Jboss AS 6 to Wlldfly. Things were > going well until I tried to do a maven build. It turns out wildfly has a > list of maven dependencies that it 'blacklists' via maven-enforcer and one > of those prohibited dependencies is Guice. > > We use Guice extensively across multiple projects, so simply replacing it > is going to be a huge task. I'm sure I could simply override the maven > enforcer settings to allow guice, but I have no idea WHY it was blacklisted > and there doesn't seem to be any documentation. > > Has anyone here successfully used guice with a modern (wildfly 8+) jboss > application server? If so, what steps did you have to take to get it to > play nice and not conflict with the native DI implementations from jboss? > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-guice/f0b82d44-b2b5-474c-9651-ff3548874083o%40googlegroups.com.