3 Replies Latest reply on Aug 20, 2014 2:52 PM by Tomaz Cerar

    Compilation error for WildFly 9.0.0.Alpha1 snapshot in "Web Feature Pack"

    Juergen Zimmermann Master

      When I try to compile the latest WildFly snapshot from GitHub I'm getting the following error in "Web Feature Pack". Any hint is appreciated.

       

      ...

      [INFO]

      [INFO] --- wildfly-feature-pack-build-maven-plugin:1.0.0.Alpha1:build (feature-pack-build) @ wildfly-web-feature-pack ---

      [INFO] ------------------------------------------------------------------------

      [INFO] Reactor Summary:

      [INFO]

      [INFO] WildFly: Parent Aggregator ......................... SUCCESS [  2.141 s]

      [INFO] WildFly: Naming Subsystem .......................... SUCCESS [ 11.300 s]

      [INFO] WildFly: EE ........................................ SUCCESS [  7.075 s]

      [INFO] WildFly: JacORB Subsystem .......................... SUCCESS [  6.737 s]

      [INFO] WildFly: Transaction Subsystem ..................... SUCCESS [  4.252 s]

      [INFO] WildFly: Clustering Subsystems ..................... SUCCESS [  0.078 s]

      [INFO] WildFly: Common code for clustering subsystems ..... SUCCESS [  2.667 s]

      [INFO] WildFly: JGroups Subsystem ......................... SUCCESS [  3.758 s]

      [INFO] WildFly: Clustering SPI ............................ SUCCESS [  0.594 s]

      [INFO] WildFly: Infinispan Subsystem ...................... SUCCESS [  7.133 s]

      [INFO] WildFly: Security Subsystem parent ................. SUCCESS [  0.031 s]

      [INFO] WildFly: Security Subsystem ........................ SUCCESS [  8.180 s]

      [INFO] WildFly: Connector Subsystem ....................... SUCCESS [ 12.268 s]

      [INFO] WildFly: Clustering public API ..................... SUCCESS [  0.719 s]

      [INFO] WildFly: SFSB clustering ........................... SUCCESS [  0.062 s]

      [INFO] WildFly: SFSB clustering - SPI ..................... SUCCESS [  0.614 s]

      [INFO] WildFly: EJB Subsystem ............................. SUCCESS [ 18.351 s]

      [INFO] WildFly: Web Common Classes ........................ SUCCESS [  1.375 s]

      [INFO] WildFly: Web Subsystem ............................. SUCCESS [  2.406 s]

      [INFO] WildFly: Web Services Subsystem .................... SUCCESS [  0.031 s]

      [INFO] WildFly: Web Services Server Integration Subsystem . SUCCESS [  8.505 s]

      [INFO] WildFly: Application Client Bootstrap .............. SUCCESS [  2.491 s]

      [INFO] WildFly: Batch Integration ......................... SUCCESS [  0.125 s]

      [INFO] WildFly: JBeret Integration ........................ SUCCESS [  1.365 s]

      [INFO] WildFly: Batch Integration Subsystem ............... SUCCESS [  2.079 s]

      [INFO] WildFly: Bean Validation ........................... SUCCESS [  1.733 s]

      [INFO] WildFly: Security Manager Subsystem ................ SUCCESS [  2.161 s]

      [INFO] WildFly: Undertow .................................. SUCCESS [  5.133 s]

      [INFO] WildFly: Web Feature Pack .......................... FAILURE [  4.722 s]

      [INFO] WildFly: JPA Subsystem ............................. SKIPPED

      [INFO] WildFly: Weld Integration .......................... SKIPPED

      [INFO] WildFly: PicketLink Subsystem ...................... SKIPPED

      [INFO] WildFly: Security Subsystem API .................... SKIPPED

      [INFO] WildFly: JAX-RS Integration ........................ SKIPPED

      [INFO] WildFly: RTS Subsystem ............................. SKIPPED

      [INFO] WildFly: EJB Client BOM ............................ SKIPPED

      [INFO] WildFly: JMS Client BOM ............................ SKIPPED

      [INFO] WildFly: EJB and JMS client combined jar ........... SKIPPED

      [INFO] WildFly: SFSB clustering - Infinispan integration .. SKIPPED

      [INFO] WildFly: Singleton service API ..................... SKIPPED

      [INFO] WildFly: Clustering API implementation ............. SKIPPED

      [INFO] WildFly: Web session clustering .................... SKIPPED

      [INFO] WildFly: Web session clustering API ................ SKIPPED

      [INFO] WildFly: Web session clustering SPI ................ SKIPPED

      [INFO] WildFly: Web session clustering - Infinispan service provider SKIPPED

      [INFO] WildFly: Web session clustering - Undertow integration SKIPPED

      [INFO] WildFly: EJB Container Managed Persistence Subsystem SKIPPED

      [INFO] WildFly: Embedded .................................. SKIPPED

      [INFO] WildFly: JAXR Client ............................... SKIPPED

      [INFO] WildFly: JBoss Diagnostic Reporter ................. SKIPPED

      [INFO] WildFly: JDR ....................................... SKIPPED

      [INFO] WildFly: JSF ....................................... SKIPPED

      [INFO] WildFly: JSF Subsystem ............................. SKIPPED

      [INFO] WildFly: JSF Injection Handlers .................... SKIPPED

      [INFO] WildFly: JSR-77 Subsystem .......................... SKIPPED

      [INFO] WildFly: Mail subsystem ............................ SKIPPED

      [INFO] WildFly: Messaging Subsystem ....................... SKIPPED

      [INFO] WildFly: mod_cluster Subsystem ..................... SKIPPED

      [INFO] WildFly: mod_cluster Extension ..................... SKIPPED

      [INFO] WildFly: mod_cluster Undertow Integration .......... SKIPPED

      [INFO] WildFly: POJO Subsystem ............................ SKIPPED

      [INFO] WildFly: Service Archive Subsystem ................. SKIPPED

      [INFO] WildFly: XTS Subsystem ............................. SKIPPED

      [INFO] WildFly: Full Feature Pack ......................... SKIPPED

      [INFO] WildFly: Build ..................................... SKIPPED

      [INFO] WildFly: Distribution .............................. SKIPPED

      [INFO] WildFly: JSF Multi-JSF installer ................... SKIPPED

      [INFO] WildFly: Exported Java EE Specification APIs ....... SKIPPED

      [INFO] WildFly: Validation Tests for Exported Java EE Specification APIs SKIPPED

      [INFO] WildFly: Build Web ................................. SKIPPED

      [INFO] WildFly: Web Distribution .......................... SKIPPED

      [INFO] WildFly: Web Services Tests Integration Subsystem .. SKIPPED

      [INFO] WildFly Test Suite: Shared ......................... SKIPPED

      [INFO] WildFly Test Suite: Aggregator ..................... SKIPPED

      [INFO] WildFly Test Suite: Integration .................... SKIPPED

      [INFO] WildFly Test Suite: Integration - Web .............. SKIPPED

      [INFO] WildFly Test Suite: Integration - Smoke ............ SKIPPED

      [INFO] ------------------------------------------------------------------------

      [INFO] BUILD FAILURE

      [INFO] ------------------------------------------------------------------------

      [INFO] Total time: 02:03 min

      [INFO] Finished at: 2014-08-20T16:26:47+02:00

      [INFO] Final Memory: 214M/615M

      [INFO] ------------------------------------------------------------------------

      [ERROR] Failed to execute goal org.wildfly.build:wildfly-feature-pack-build-maven-plugin:1.0.0.Alpha1:build (feature-pack-build) on project wildfly-web-feature-pack: Execution feature-pack-build of goal org.wildfly.build:wildfly-feature-pack-build-maven-plugin:1.0.0.Alpha1:build failed: java.lang.RuntimeException: Some errors were encountered creating the feature pack

      [ERROR] Missing module ModuleIdentifier{name='io.undertow.core', slot='main'}. Module was required by [ModuleIdentifier{name='io.undertow.servlet', slot='main'}, ModuleIdentifier{name='io.undertow.jsp', slot='main'}, ModuleIdentifier{name='io.undertow.websocket', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.common-beans', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.logging', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.jboss.remote-naming', slot='main'}, ModuleIdentifier{name='javax.validation.api', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.common', slot='main'}, ModuleIdentifier{name='org.jboss.security.negotiation', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='io.undertow.servlet', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.ear', slot='main'}, ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.web', slot='main'}, ModuleIdentifier{name='org.picketbox', slot='main'}, ModuleIdentifier{name='io.undertow.jsp', slot='main'}, ModuleIdentifier{name='io.undertow.websocket', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.remoting', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.remote-naming', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.threads', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='javax.interceptor.api', slot='main'}. Module was required by [ModuleIdentifier{name='javax.transaction.api', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='javax.enterprise.api', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.domain-management', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.xnio.nio', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.core-security', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.common-core', slot='main'}. Module was required by [ModuleIdentifier{name='javax.security.jacc.api', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.xnio', slot='main'}. Module was required by [ModuleIdentifier{name='io.undertow.servlet', slot='main'}, ModuleIdentifier{name='io.undertow.jsp', slot='main'}, ModuleIdentifier{name='io.undertow.websocket', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.threads', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.network', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.modules', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.jboss.as.web-common', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.msc', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.jboss.as.web-common', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.vfs', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='javax.api', slot='main'}. Module was required by [ModuleIdentifier{name='javax.activation.api', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='javax.security.auth.message.api', slot='main'}, ModuleIdentifier{name='org.glassfish.javax.el', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.jboss.remote-naming', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.common', slot='main'}, ModuleIdentifier{name='org.jboss.security.negotiation', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='io.undertow.servlet', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.ear', slot='main'}, ModuleIdentifier{name='org.apache.xalan', slot='main'}, ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='javax.transaction.api', slot='main'}, ModuleIdentifier{name='javax.servlet.jstl.api', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.web', slot='main'}, ModuleIdentifier{name='org.picketbox', slot='main'}, ModuleIdentifier{name='io.undertow.jsp', slot='main'}, ModuleIdentifier{name='io.undertow.websocket', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.controller', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.jboss.as.web-common', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='sun.jdk', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.security.negotiation', slot='main'}, ModuleIdentifier{name='io.undertow.servlet', slot='main'}, ModuleIdentifier{name='io.undertow.jsp', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.invocation', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.version', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.server', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.jboss.as.web-common', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.wildfly.security.manager', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.wildfly.extension.io', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.sasl', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.security', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.jandex', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.as.remoting', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.as.naming', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.staxmapper', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.metadata.ear', slot='main'}, ModuleIdentifier{name='org.jboss.as.security', slot='main'}, ModuleIdentifier{name='org.jboss.as.naming', slot='main'}, ModuleIdentifier{name='org.jboss.as.ee', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.common', slot='main'}, ModuleIdentifier{name='org.jboss.metadata.web', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.security.manager', slot='main'}, ModuleIdentifier{name='org.jboss.as.web-common', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.marshalling.river', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.remote-naming', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.jboss.marshalling', slot='main'}. Module was required by [ModuleIdentifier{name='org.jboss.remote-naming', slot='main'}, ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] Missing module ModuleIdentifier{name='org.wildfly.extension.request-controller', slot='main'}. Module was required by [ModuleIdentifier{name='org.wildfly.extension.undertow', slot='main'}]

      [ERROR] -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [ERROR] Re-run Maven using the -X switch to enable full debug logging.

      [ERROR]

      [ERROR] For more information about the errors and possible solutions, please read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :wildfly-web-feature-pack