[jbosstools-issues] [JBoss JIRA] (JBIDE-11005) project does not contain the Dynamic Web Module facet or the EJB Module facet

Fred Bricon (JIRA) jira-events at lists.jboss.org
Wed Feb 22 17:44:36 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-11005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670107#comment-12670107 ] 

Fred Bricon commented on JBIDE-11005:
-------------------------------------

OK it's a bit complicated, let's try to explain :-)

The CDI configurator is mapped to the maven-compiler-plugin, so it can be used for ANY java project. It then enables CDI when the project fullfills the requirements. If the project is an EJB or a WAR project, we also try to install the CDI Facet, which requires either the Web or EJB Facets. For this case, the configurator is mapped to the maven-war-plugin and maven-ejb-plugin, as secondary configurator of m2e-wtp (which is responsible for adding these required facets).
Web and EJB projects being also java projects, means the CDI configurator is always invoked BEFORE the m2e-wtp one, that is BEFORE the required facets are installed, hence the confusing logging. If you grok that explanation, you get a +1 in twisted mind.

Long story short, it's no biggie. If you want, I can just remove the logging.
                
> project does not contain the Dynamic Web Module facet or the EJB Module facet
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-11005
>                 URL: https://issues.jboss.org/browse/JBIDE-11005
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>            Reporter: Max Rydahl Andersen
>            Assignee: Fred Bricon
>
> cloned https://github.com/openshift/jbossas-mongoDB-quickstart and I see this weird error in the logs:
> "The testmongo project does not contain the Dynamic Web Module facet or the EJB Module facet."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list