java - javax.enterprise.inject.Vetoed Open web beans, which jar? -


i'm wanting try out open web beans 1.6.2, jars lists on it's website adding cdi support java se application

openwebbeans-spi.jar openwebbeans-impl.jar geronimo-jcdi_1.0_spec.jar geronimo-atinject_1.0_spec.jar geronimo-interceptor_1.2_spec.jar geronimo-annotation_1.2_spec.jar 

don't seem contain javax.enterprise.inject.vetoed annotation, i've had add cdi-api 1.2 dependency resolve issue, i'm not sure if correct other cdi dependencies resolved above? here dependencies have in pom, correct?

    <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-impl</artifactid>         <version>1.6.2</version>     </dependency>     <dependency>         <groupid>org.apache.openwebbeans</groupid>         <artifactid>openwebbeans-spi</artifactid>         <version>1.6.2</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-jcdi_1.0_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-atinject_1.0_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-interceptor_1.2_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>org.apache.geronimo.specs</groupid>         <artifactid>geronimo-annotation_1.2_spec</artifactid>         <version>1.0</version>     </dependency>     <dependency>         <groupid>javax.enterprise</groupid>         <artifactid>cdi-api</artifactid>         <version>1.2</version>     </dependency> 

this link seems suggest support @vetoed added in open web beans 1.5.0

please upgrade geronimo-jcdi_1.0_spec jcdi_1.1 version

<dependency>   <groupid>org.apache.geronimo.specs</groupid>   <artifactid>geronimo-jcdi_1.1_spec</artifactid>   <version>1.0</version> </dependency> 

although problem weird, because have following entry:

<dependency>     <groupid>javax.enterprise</groupid>     <artifactid>cdi-api</artifactid>     <version>1.2</version> </dependency 

which contains @vetoed , should enough. maven ignore somehow?


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -