Thanks for answering, but I would like to use maven2 deploy plugin with config in pom.xml. Create a own plugin is impracticable for me. I don“t want use antrun or maven exec .... I would like use maven plugin. The plugin makes scp and create the directory structure in remote machine. I need only make scp to single file (is a part of process of deploy plugin) How can I do this?
-----Mensagem original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 12:10 Para: Maven Users List Assunto: RE: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? Looking at the dependencies of the maven deploy plugin [1] I think you have to write your own plugin to do this. You could take a look at the maven-deploy-plugin code to see how they accomplish it. Another option would be the maven-antrun-plugin [2] or the Maven Exec Plugin [3]. Hth, Nick S. [1] http://maven.apache.org/plugins/maven-deploy-plugin/dependencies.html [2] http://maven.apache.org/plugins/maven-antrun-plugin/ [3] http://mojo.codehaus.org/exec-maven-plugin/ -----Original Message----- From: Claudio Ranieri [mailto:[EMAIL PROTECTED] Sent: Wed 4/23/2008 16:32 To: Maven Users List Subject: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? Someone? Please help me -----Mensagem original----- De: Claudio Ranieri [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 18 de abril de 2008 14:25 Para: [email protected] Assunto: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? How can I send a single file by scp without generate maven2 repository directory structure in remote machine? When I use the goal deploy:deploy, the maven2 creates in remote machine: groupId\artifactoryId\version\name-of-artifactory But I would like to: finalName (defined in tag <build><finalName>myname</finalName>...</build>) How can I do this? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
