I don't think it actually fixes the problem. The war plugin still complaints about the missing web.xml file. In the karaf example, there is a src/main/webapp folder which actually contains the web.xml, do you have it locally and forgot to check it in ?
On Mon, Nov 22, 2010 at 13:43, <[email protected]> wrote: > Author: cmoulliard > Date: Mon Nov 22 12:43:10 2010 > New Revision: 1037695 > > URL: http://svn.apache.org/viewvc?rev=1037695&view=rev > Log: > Add web.xml > > Modified: > servicemix/smx4/features/trunk/examples/web/pom.xml > > Modified: servicemix/smx4/features/trunk/examples/web/pom.xml > URL: > http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/web/pom.xml?rev=1037695&r1=1037694&r2=1037695&view=diff > ============================================================================== > --- servicemix/smx4/features/trunk/examples/web/pom.xml (original) > +++ servicemix/smx4/features/trunk/examples/web/pom.xml Mon Nov 22 12:43:10 > 2010 > @@ -118,8 +118,11 @@ > <configuration> > <artifactItems> > <artifactItem> > - > <groupId>org.apache.servicemix</groupId> > - > <artifactId>apache-servicemix</artifactId> > + <!--<groupId>org.apache.servicemix</groupId> > + <artifactId>apache-servicemix</artifactId>--> > + <groupId>org.apache.karaf</groupId> > + <artifactId>apache-karaf</artifactId> > + <version>2.1.0</version> > <type>zip</type> > <overWrite>true</overWrite> > > <outputDirectory>${project.build.directory}/smx4/WEB-INF</outputDirectory> > @@ -143,7 +146,8 @@ > <configuration> > <tasks> > <move > todir="${project.build.directory}/smx4/WEB-INF/servicemix"> > - <fileset > dir="${project.build.directory}/smx4/WEB-INF/apache-servicemix-${pom.version}" > /> > + <!-- <fileset > dir="${project.build.directory}/smx4/WEB-INF/apache-servicemix-${pom.version}" > /> --> > + <fileset > dir="${project.build.directory}/smx4/WEB-INF/apache-karaf-2.1.0" /> > </move> > </tasks> > </configuration> > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
