Re: Cocoon 2.2 : Maven vs. customized web.xml

2009-07-02 Thread Rosiu1125
You should use xpatch to do this: http://cocoon.apache.org/2.2/maven-plugins/maven-plugin/1.0/1360_1_1.html Maciej Rosiek Tomek Piechowicz wrote: I want to use XQueryServlet in my application so I added servlet configuration to my web.xml but after I started jetty server maven

Cocoon 2.2 : Maven vs. customized web.xml

2009-07-01 Thread Tomek Piechowicz
Hello. I want to use XQueryServlet in my application so I added servlet configuration to my web.xml but after I started jetty server maven overwrited my web.xml :(. Is it possible to prevent maven from changing web.xml every time it starts jetty server ? Regards, Tomasz.

Re: Cocoon 2.2 : Maven vs. customized web.xml

2009-07-01 Thread Barbara Slupik
I use jetty for development. I have my web.xml in my block directory, where pom.xml file is. In my pom.xml file I define: plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId version6.1.7/version configuration ...