First off, this is an English speaking mailing list..
So ask your questions in plain English.

You can indeed bind a plugin execution to a certain phase.
What is the content of the error message you mentioned?

Cheers
Jo

On 6/4/07, merlin < [EMAIL PROTECTED]> wrote:


dans la documentation maven j ai trouvé le plugin suivant qui me permet de
copier quelques fichiers ds un repertoire cible.

de la maniere suivante:

                <plugin>
                <groupId> org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                                  <executions>
                                    <execution>
                                      <phase>install</phase>
                                      <configuration>
                                        <tasks>
                                          <echo>${ exo.directory.base
}</echo>
                                          <echo>${exo.directory.v2.x
}</echo>

<echo>${exo.directory.working}</echo>
                                          <copy
todir="${exo.directory.working}/exo-tomcat/webapps">
                                            <fileset
dir="${exo.directory.v2.x}/geoserver/web/target">
                                              <include name="**/*.war"/>
                                            </fileset>
                                          </copy>
                                        </tasks>
                                      </configuration>
                                      <goals>
                                        <goal>run</goal>
                                      </goals>
                                    </execution>
                                  </executions>
            </plugin>

cela marche tres bien tel quel ("mvn install" entraine la copie des
fichiers
et se termine avec succes ) sauf que je souhaite que ca se fasse pendant
la
phase de deploiement. or si je change <phase>install</phase> par
<phase>deploy</phase> ,  lors du "mvn deploy " j obtiens alors un msg d
erreur.

est ce que quelqun en connaitrait la cause?
--
View this message in context: 
http://www.nabble.com/maven-antrun-plugin-tf3863830s177.html#a10945960

Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to