I was using M4 of OWB, but I had to patch it. Are you sure it works for you? I was getting a NPE.
On Tue, Mar 30, 2010 at 7:22 AM, Cemal Bayramoglu < jweekend_for...@cabouge.com> wrote: > James, > > See the patch below; please double-check but it should be still valid > if you haven't updated your POMs since Sunday AM your time. > > Regards - Cemal > jWeekend > OO & Java Technologies, Wicket > Consulting, Development, Training > http://jWeekend.com > > ====================== PATCH STARTS BELOW ============================= > Index: pom.xml > =================================================================== > --- pom.xml (revision 78) > +++ pom.xml (working copy) > @@ -36,4 +36,22 @@ > </plugin> > </plugins> > </build> > + > + <repositories> > + <repository> > + <id>JBoss Repo</id> > + <url>http://repository.jboss.com/maven2</url> > + </repository> > + > + <repository> > + <id>geronimo-snapshots</id> > + <name>Apache Nexus Snapshots</name> > + > <url>https://repository.apache.org/content/groups/snapshots-group</url> > + <snapshots> > + <enabled>true</enabled> > + </snapshots> > + </repository> > + > + </repositories> > + > </project> > \ No newline at end of file > Index: owb/pom.xml > =================================================================== > --- owb/pom.xml (revision 78) > +++ owb/pom.xml (working copy) > @@ -16,11 +16,12 @@ > <artifactId>wicket-cdi</artifactId> > <version>${project.version}</version> > </dependency> > - <dependency> > - <groupId>org.apache.openwebbeans</groupId> > - <artifactId>openwebbeans-impl</artifactId> > - <version>1.0.0-SNAPSHOT</version> > - </dependency> > +<dependency> > + <groupId>org.apache.openwebbeans</groupId> > + <artifactId>openwebbeans-impl</artifactId> > + <version>1.0.0-M4</version> > +</dependency> > + > <dependency> > <groupId>org.apache.geronimo.specs</groupId> > <artifactId>geronimo-jcdi_1.0_spec</artifactId> > Index: owb-example/pom.xml > =================================================================== > --- owb-example/pom.xml (revision 78) > +++ owb-example/pom.xml (working copy) > @@ -62,15 +62,11 @@ > <artifactId>wicket-cdi-owb</artifactId> > <version>${project.version}</version> > </dependency> > - <dependency> > - <groupId>org.apache.openwebbeans</groupId> > - <artifactId>openwebbeans-web</artifactId> > - <version>1.0.0-SNAPSHOT</version> > - </dependency> > + > <dependency> > <groupId>org.apache.openwebbeans</groupId> > <artifactId>openwebbeans-spi</artifactId> > - <version>1.0.0-SNAPSHOT</version> > + <version>1.0.0-M4</version> > </dependency> > <dependency> > <groupId>org.apache.geronimo.specs</groupId> > ====================== END OF PATCH ABOVE ======================== > > On 30 March 2010 12:09, James Carman <jcar...@carmanconsulting.com> wrote: > > Cemal, > > > > Please feel free to send me a patch if anything looks crazy. I have had > a > > heck of a time getting all this stuff working. It's a delicate balance > > (like herding cats)! :) The OWB folks have checked in my patch to fix > one > > of the issues, but we're still hammering out another. > > > > Thanks, > > > > James > > > > On Tue, Mar 30, 2010 at 7:05 AM, Cemal Bayramoglu < > > jweekend_for...@cabouge.com> wrote: > > > >> Olivier, > >> > >> I got Jame's stuff [1] up and running (thanks James) with just a few > >> small changes to the POMs - maybe he has stuff already in his local > >> Maven repo that is no longer on the main public repos) working with > >> little effort. > >> > >> If you'd like to make (and maintain ;-) an archetype out of those > >> (based on Apache implementations), or a Galssfish based one, we would > >> be happy to include those on our LegUp page [2][3]. > >> > >> Regards - Cemal > >> jWeekend > >> OO & Java Technologies, Wicket > >> Consulting, Development, Training > >> http://jWeekend.com > >> > >> [1] http://svn.carmanconsulting.com/public/wicket-cdi/trunk > >> [2] http://jweekend.com/dev/LegUp > >> [3] http://code.google.com/p/legup/ > >> > >> > >> On 30 March 2010 10:24, Olivier Bourgeois > >> <olivier.bourgeois....@gmail.com> wrote: > >> > I do also think that it's because Wicket is not a managed framework : > >> > everything is simple unmanaged POJOs except for your classes extending > >> > WebPage which are "managed". I've juste had a quick look at JSF 2.0 > and > >> > never worked with it - but I worked with Wicket - so I did not > expected > >> > Wicket JEE6 integration to be a drop in replacement for JSF. I do > think > >> > Wicket is an alternative framework for JEE6, not a replacement of the > >> > reference framework. > >> > > >> > On one hand JSF2 assumes that you are running a JEE6 AS, so it is > tightly > >> > integrated with CDI, and you got all the cool stuff like injection, > >> scopes, > >> > bean validation, etc. On the other hand, Wicket doesn't assume > anything > >> > except a web container implementing the servlet spec, so it can't have > >> all > >> > the cool stuff of CDI because it's not built around CDI. > >> > > >> > I think the next step to make Wicket JEE6 integration going further is > to > >> > provide some Maven quickstart archetypes, the Weld team is looking for > >> > contributors : > >> http://in.relation.to/Bloggers/WeldArchetypesInTheSpotlight > >> > > >> > Now that I have something working, and when I will have some spare > time, > >> my > >> > next step is to create an archetype for Glassfish. And if some people > on > >> > this list have some time, their help is of course welcome :) > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >