[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-9302) Maven CDI Configurator: Update project configuration fails on EJB / WAR project with CDI dependency

Gonne Martens (JIRA) jira-events at lists.jboss.org
Wed Jul 6 08:35:23 EDT 2011


Maven CDI Configurator: Update project configuration fails on EJB / WAR project with CDI dependency
---------------------------------------------------------------------------------------------------

                 Key: JBIDE-9302
                 URL: https://issues.jboss.org/browse/JBIDE-9302
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: maven
    Affects Versions: 3.3.0.M2
         Environment: Eclipse 3.7, WTP 3.3, m2e 1.0, JBoss Maven CDI Configurator 1.2.0.v20110624-0731-H5-M2, Java 1.6.0_23 64bit, Windows 7 64bit
            Reporter: Gonne Martens
            Assignee: Fred Bricon


Updating the project configuration (Menu Maven -> Update project configuration) for a simple maven EJB/WAR project with a CDI dependency (javax.enterprise:cdi-api:1.0-SP4) results in the following error message:
{code}
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'sandbox-ejb'.
Cannot compare versions of different facets to each other. 
Attempted to compare version 3.1 of facet jst.ejb with version 2.5 of facet jst.web.
{code}
 
The error disappears when the "CDI facet" in Preferences/JBoss Tools/JBoss Maven Integration is disabled.

--
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