This will not work. Wagon is simply the transport mechanism for moving files around over various protocols including FTP, HTTP, etc.
What *exactly* is your use case? Do you want to simply "move" an EAR file to a remote server using FTP, or do you want to "deploy" an EAR file into a remote application server, or what exactly? If you simply want to FTP the file, I don't believe there are any M2 plugins that can help. You will need to use an Antrun task or call out to an Operating System ftp command. Wayne On 4/25/06, RobJac <[EMAIL PROTECTED]> wrote: > > Has some one used wagon plugin in your pom xml. I was trying to ftp an ear > using the wagon plugin to a particular location in a remote server but i > dont see any options to provide the destination directory. If wagon can help > me in solving this requirement, could you please send me the entry for this > plugin in your pom xml. The entry for this plugin in my pom xml is > > <plugin> > <groupId>org.apache.myfaces.maven</groupId> > <artifactId>wagon-maven-plugin</artifactId> > <configuration> > <id>10.151.1.202</id> > <inputDirectory>${basedir}</inputDirectory> > <url>10.151.1.202</url> > </configuration> > </plugin> > > is this correct? and finally what is the command that is used to run this > mvn install was not helping me. I would appreciate if some one could throw > some light on this. > -- > View this message in context: > http://www.nabble.com/Doubt-in-using-wagon-plugin-t1506734.html#a4086387 > Sent from the Maven - Users forum at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >