packaging of the war is at package phase. So you are out of luck to intercept it before the actual war file is built.
-D On 10/7/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
hello, i suspect to have your war without lib you will need to define proper scope of your dependencies.... anyone pls correct me if i m wrong hth marco On 10/7/06, Neeraj Bisht <[EMAIL PROTECTED]> wrote: > > hi all > i want the war file without lib and classes for this i write ant > task and merze in my pom > the ant task as follow > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-antrun-plugin</artifactId> > <executions> > <execution> > <phase>package</phase> > <configuration> > <tasks> > > <delete failonerror="false" includeemptydirs="true"> > <fileset dir="${project.build.dir}/${project.artifactId > }/WEB-INF/classes"> > </fileset> > <fileset dir="${project.build.dir}/${project.artifactId}/WEB-INF/lib"> > </fileset> > </delete> > > > </tasks> > </configuration> > <goals> > <goal>run</goal> > </goals> > </execution> > </executions> > </plugin> > > it is working but i am unable to define the phase ,i mean at which > phase i > will call this plugin run goal so that i will get the war without lib and > classes > > if any one have alternative solution or know right phase is most welcome > > > Regards > Neeraj > >