Hi,

the problem is that AFAIK m2 does not provide any means to define the
order of plugin executions within the same phase. I even see different
execution orders of the same pom.xml on two different linux machines
here. All you can do is try moving the goal to a different phase, e.g.
verify.
I use
http://cvs.peopleware.be/training/maven/maven2/buildLifecyclePhases.html#war
as a good reference of the execution order within maven.

Regards,

Stefan Seidel

Am Mittwoch, den 18.04.2007, 09:57 +0200 schrieb Guillaume Lederrey:
>   Hello !
> 
>   I'm trying to precompile JSPs for WebLogic. I have a working ant
> script to do that. I tried to include it in my maven process, but
> without success sofar. I cant get to run this script at the right
> moment.
> 
>   My script needs the exploded war to be ready. So I tried to set the
> phase of the ant script like to "package". But the ant script gets
> called before the files are in place. Especially, the WEB-INF/web.xml
> file isnt there yet.
> 
>   Any idea ?
>      Thanks for your help !
> 
>   And here is the ant included in my pom.xml
> 
>             <plugin>
>               <artifactId>maven-antrun-plugin</artifactId>
>               <executions>
>                 <execution>
>                   <phase>package</phase>
>                   <configuration>
>                     <tasks>
>                       <mkdir dir="${jsp.generated.src.dir}" />
>                       <mkdir dir="${jsp.classes.dir}" />
> 
>                       <java classname="weblogic.jspc" fork="yes"
> maxmemory="512m">
>                         <classpath refid="maven.compile.classpath"/>
>                         <sysproperty
> key="weblogic.jsp.windows.caseSensitive" value="true" />
>                         <arg
>                           line="-forceGeneration -depend
> -keepgenerated -compileAll -webapp ${jsp.src.dir} -d
> ${jsp.generated.src.dir}" />
>                       </java>
>                       <move todir="${jsp.classes.dir}/jsp_servlet">
>                         <fileset dir="${jsp.generated.src.dir}/jsp_servlet">
>                           <include name="**/*.class" />
>                         </fileset>
>                       </move>
>                     </tasks>
>                   </configuration>
>                   <goals>
>                     <goal>run</goal>
>                   </goals>
>                 </execution>
>               </executions>
>             </plugin>
> 

-- 
best regards,

Stefan Seidel
software developer
________________________
VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.    +49 (341) 9 60 50 07
fax.    +49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED] 
web.    www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to