[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8962) Creating a maven project from the jboss-javaee6-webapp fails due to unsatisfied constraints for CDI

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Wed Jun 22 07:07:23 EDT 2011


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

Libor Zoubek commented on JBIDE-8962:
-------------------------------------

verified on JBoss Maven CDI Configurator 1.2.0.v20110617-2053-H271-M2

> Creating a maven project from the jboss-javaee6-webapp fails due to unsatisfied constraints for CDI
> ---------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8962
>                 URL: https://issues.jboss.org/browse/JBIDE-8962
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: 3.3.0.M1
>            Reporter: Fred Bricon
>            Assignee: Fred Bricon
>             Fix For: 3.3.0.M2
>
>
> Create a new maven project using the jboss-javaee6-webapp archetype fails with the following error :
> {noformat}
>  One or more constraints have not been satisfied.
> Constraints for CDI (Contexts and Dependency Injection) 1.0 have not been met. 
> {noformat}
> The CDI Facet depends on the Web Module OR the EJB Module Facet. The CDI configurator is declared as secondary to the Java configurator AND the wtp configurator. So it's called BEFORE the WTP configurator, which is responsible for adding the Web or EJB facets.
> It needs to try adding the CDI facet only if Web or EJB is already configured, instead of just logging an exception.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list