I want to FTP and ear from a location in my  local m/c into a particular
location in a remote machine using as soon as i run an mvn install command.
I tried using ant plugin for Maven, but it does not seem to work. Please
find below my entry in the ear pom xml for this
<plugin>
                        <groupId>org.apache.maven.plugins</groupId>             
                        <artifactId>maven-antrun-plugin</artifactId>
                        <executions>
                          <execution>
                            <phase>generate-sources</phase>
                            <configuration>
                              <tasks>
                                <ftp server="10.151.1.202"

                                        remotedir="/opt/jboss403SP1"

                                       depends="yes"

                                      userid="jboss"

                                      password="passw0rd">

                                   <fileset dir="${basedir}"/>

                                 </ftp>                       
                              
                              </tasks>
                            </configuration>
                            <goals>
                              <goal>run</goal>
                            </goals>
                          </execution>
                        </executions>
                </plugin>
--
View this message in context: 
http://www.nabble.com/Doubt-in-using-wagon-plugin-t1506734.html#a4087204
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to