Sorry i had  ${project.version} and was:  ${apache.openwebbeans.version}
Thanks

2012/4/24 Thomas Andraschko <zoi...@googlemail.com>

> Check your dependencies. project.version isn't the right version for the
> web module.
>
>       <dependency>
>           <groupId>org.apache.openwebbeans</groupId>
>           <artifactId>openwebbeans-web</artifactId>
>           <version>${project.version}</version>
>       </dependency>
>
>
> 2012/4/24 José Luis Cetina <maxtorz...@gmail.com>
>
> > I add these lines to my pom.xml:
> >
> > .
> > .
> > .
> > <apache.openwebbeans.version>1.1.4</apache.openwebbeans.version>
> > .
> > .
> > .
> > <!-- JSR-299 Impl -->
> >        <dependency>
> >            <groupId>org.apache.openwebbeans</groupId>
> >            <artifactId>openwebbeans-impl</artifactId>
> >            <version>${apache.openwebbeans.version}</version>
> >        </dependency>
> >        <dependency>
> >            <groupId>org.apache.openwebbeans</groupId>
> >            <artifactId>openwebbeans-resource</artifactId>
> >            <version>${apache.openwebbeans.version}</version>
> >        </dependency>
> >        <!--APACHE OPEN WEB BEANS JSF Plugin -->
> >        <dependency>
> >            <groupId>org.apache.openwebbeans</groupId>
> >            <artifactId>openwebbeans-jsf</artifactId>
> >            <version>${apache.openwebbeans.version}</version>
> >        </dependency>
> >        <!--APACHE OPEN WEB BEANS Web Plugin -->
> >        <dependency>
> >            <groupId>org.apache.openwebbeans</groupId>
> >            <artifactId>openwebbeans-web</artifactId>
> >            <version>${project.version}</version>
> >        </dependency>
> >        <!--APACHE OPEN WEB BEANS SPI API -->
> >        <dependency>
> >            <groupId>org.apache.openwebbeans</groupId>
> >            <artifactId>openwebbeans-spi</artifactId>
> >            <version>${apache.openwebbeans.version}</version>
> >        </dependency>
> >
> >
> >
> > but i get this Warning:
> > The POM for org.apache.openwebbeans:openwebbeans-web:jar:1.0-SNAPSHOT is
> > missing, no dependency information available.
> >
> > [Help 1]
> >
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> >
> >
> >
> >
> >
> > El 24 de abril de 2012 12:12, José Luis Cetina <maxtorz...@gmail.com
> > >escribió:
> >
> > > is there a way to add OWB with maven?
> > >
> > > El 24 de abril de 2012 12:11, José Luis Cetina <maxtorz...@gmail.com
> > >escribió:
> > >
> > > Correct, i was confusing, trying to understand OWB as CODI but CODI its
> > an
> > >> extension!!!
> > >>
> > >> Thanks
> > >>
> > >>
> > >> 2012/4/24 Thomas Andraschko <zoi...@googlemail.com>
> > >>
> > >>> You use it like WELD. You can use all the stuff from the
> > >>> "javax.enterprise.context" package.
> > >>> CDI is an API and WELD or OWB is an implementation :)
> > >>>
> > >>> 2012/4/24 José Luis Cetina <maxtorz...@gmail.com>
> > >>>
> > >>> > Ok, but:
> > >>> >  how do i use?
> > >>> >  what do i have to do for use it?
> > >>> >  thats the question,
> > >>> > do i have to use annotations???
> > >>> > do you know what i mean???
> > >>> >
> > >>> > Works with the same annotations from WELD? that's the point i cant
> > find
> > >>> > basic information anywhere
> > >>> >
> > >>> > 2012/4/24 Thomas Andraschko <zoi...@googlemail.com>
> > >>> >
> > >>> > > Hi,
> > >>> > >
> > >>> > > it's very easy.
> > >>> > > Just add the dependencies (impl,resource,jsf,web,spi) and
> configure
> > >>> this
> > >>> > > listener in your web.xml:
> > >>> > >
> > >>> > >        <listener>
> > >>> > >
> > >>> > >
> > >>> >
> > >>>
> >
>  
> <listener-class>org.apache.webbeans.servlet.WebBeansConfigurationListener</listener-class>
> > >>> > >        </listener>
> > >>> > >
> > >>> > > Regards,
> > >>> > > Thomas
> > >>> > >
> > >>> > >
> > >>> > >
> > >>> > >
> > >>> > > 2012/4/24 José Luis Cetina <maxtorz...@gmail.com>
> > >>> > >
> > >>> > > > Im starting a project (JSF (Mojarra or MyFaces),JPA,
> > >>> EJB,Primefaces)
> > >>> > and
> > >>> > > i
> > >>> > > > want to use "Apache Open Web Beans" but the information is so
> > >>> poor, i
> > >>> > > can't
> > >>> > > > find enough information for work with it.
> > >>> > > > Can somebody know where i can find example and how to use OWB
> > >>> please!!
> > >>> > > >
> > >>> > > > I had the same problem(not enough information) with MyFaces
> CODI
> > >>> > > > (Navigation,Messages and Security) and  with some effort
> > >>> (questions in
> > >>> > > > mailing list's, reading from a few pages) i could use Apache
> > CODI,
> > >>> now
> > >>> > im
> > >>> > > > trying to implement it in the same project OWB, but i really
> feel
> > >>> so
> > >>> > > > frustated to see excellent frameworks and extensions from
> Apache,
> > >>> but i
> > >>> > > > consider that the information its very but very very POOR!!
> > >>> > > >
> > >>> > > > The only thing i now to OWB its a "replacement" for WELD and
> > works
> > >>> > great
> > >>> > > > with all Apache Products.
> > >>> > > >
> > >>> > > >
> > >>> > > > The user guide still in TODO lines...
> > >>> > > >
> > >>>
> http://openwebbeans.apache.org/1.0.0-SNAPSHOT/documents/userguide.pdf
> > >>> > > >
> > >>> > > >
> > >>> > > > Sorry 4 my english
> > >>> > > >
> > >>> > > >
> > >>> > > >
> > >>> > > >
> > >>> > > > --
> > >>> > > >
> > -------------------------------------------------------------------
> > >>> > > > *SCJA. José Luis Cetina*
> > >>> > > >
> > -------------------------------------------------------------------
> > >>> > > >
> > >>> > >
> > >>> >
> > >>> >
> > >>> >
> > >>> > --
> > >>> > -------------------------------------------------------------------
> > >>> > *SCJA. José Luis Cetina*
> > >>> > -------------------------------------------------------------------
> > >>> >
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> -------------------------------------------------------------------
> > >> *SCJA. José Luis Cetina*
> > >> -------------------------------------------------------------------
> > >>
> > >>
> > >
> > >
> > > --
> > > -------------------------------------------------------------------
> > > *SCJA. José Luis Cetina*
> > > -------------------------------------------------------------------
> > >
> > >
> >
> >
> > --
> > -------------------------------------------------------------------
> > *SCJA. José Luis Cetina*
> > -------------------------------------------------------------------
> >
>



-- 
-------------------------------------------------------------------
*SCJA. José Luis Cetina*
-------------------------------------------------------------------

Reply via email to