Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14286

Better infer CDI Facet version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.1.0.Beta1
    • 4.1.0.Alpha2
    • maven
    • None

      When cdi-api:1.0-SR4 is added to a web project, a warning message is displayed in the Eclipse Error Log view :

      CDI version 1.0-SP4 has no corresponding Facet, falling back to 1.0

      CDI Facet versions should be better handled.

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>foo.bar</groupId>
        <artifactId>webcdi</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <packaging>war</packaging>
        <dependencies>
        	<dependency>
        		<groupId>javax.enterprise</groupId>
        		<artifactId>cdi-api</artifactId>
        		<version>1.0-SP4</version>
        	</dependency>  
        </dependencies>
      </project>
      

            fbricon@redhat.com Fred Bricon
            fbricon@redhat.com Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: