1 Reply Latest reply on Jan 28, 2011 7:29 AM by nickarls Branched to a new discussion.

    update weld in jboss as 6

    nimo22

      Jboss as 6 final includes the weld version 1.1.Beta2.

       

      What should I do to update this version with the newer one (actually version 1.1.0.FINAL). Is it enough to provide this version via my pom:

       

      <dependency>

               <groupId>org.jboss.weld</groupId>

               <artifactId>weld-core</artifactId>

               <version>1.1.0.FINAL</version>

               <scope>provided</scope>

      </dependency>


      Or should I overwrite the weld-core, weld-api, weld-spi within the jboss-lib directory with the newer version? What about the jar-versions.xml which is in the jboss-directory - should I update the related entries, too ?

       

      <jar name="weld-api.jar" ..

      <jar name="weld-core-jsf-only.jar" ..

      <jar name="weld-core-no-jsf.jar" ..

      <jar name="weld-int-deployer-mc-int.jar" ..

      <jar name="weld-int-deployer.jar" ..

      <jar name="weld-int-ejb.jar" ..

      <jar name="weld-int-webtier.jar" ..

      <jar name="weld-spi.jar" ..

       

      What is the best way for such situations?