The EAR archetype adds the wildfly-maven-plugin to its in its root pom.xml: https://github.com/wildfly/wildfly-archetypes/blob/f5432111dc59e24578b59b07b0769dbb28efb659/wildfly-jakartaee-ear-archetype/src/main/resources-filtered/archetype-resources/pom.xml#L185C1-L193C22
This forces to skip it for web and ejb module and unskip it for the ear.
It would be better to simply define it the ear module as this module is the only one that would actually deploy something to WildFly.
The EAR archetype adds the wildfly-maven-plugin to its in its root pom.xml: https://github.com/wildfly/wildfly-archetypes/blob/f5432111dc59e24578b59b07b0769dbb28efb659/wildfly-jakartaee-ear-archetype/src/main/resources-filtered/archetype-resources/pom.xml#L185C1-L193C22
This forces to skip it for web and ejb module and unskip it for the ear.
It would be better to simply define it the
earmodule as this module is the only one that would actually deploy something to WildFly.