RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?
Hi, Very good! Now, I have two options to do scp: http://myfaces.apache.org/wagon-maven-plugin/usage.html and http://docs.atlassian.com/maven-upload-plugin/1.1/ I will test both. Thank you very much! Thanks Nick to your hint. I will try to do a plugin to wsconsume of jbossws -Mensagem original- De: Luke Daley [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 19:46 Para: Maven Users List Assunto: Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? Also, http://docs.atlassian.com/maven-upload-plugin/1.1/ LD. - 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]
RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?
Hi Wendy, I tested your plugin and worked! I think that other people need of this plugin, but don´t find in web. You can talk with maven developer to add the url http://myfaces.apache.org/wagon-maven-plugin/index.html in http://maven.apache.org/plugins/index.html Thank you very much! -Mensagem original- De: Claudio Ranieri [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 24 de abril de 2008 09:27 Para: Maven Users List Assunto: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? Hi, Very good! Now, I have two options to do scp: http://myfaces.apache.org/wagon-maven-plugin/usage.html and http://docs.atlassian.com/maven-upload-plugin/1.1/ I will test both. Thank you very much! Thanks Nick to your hint. I will try to do a plugin to wsconsume of jbossws -Mensagem original- De: Luke Daley [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 19:46 Para: Maven Users List Assunto: Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? Also, http://docs.atlassian.com/maven-upload-plugin/1.1/ LD. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: users@maven.apache.org 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 buildfinalNamemyname/finalName.../build) How can I do this? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?
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: users@maven.apache.org 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 buildfinalNamemyname/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]
RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?
Ok, I understood, but I never created a maven plugin. I think a complex task. There are another maven plugin to do scp (single file)? (native way) Someone can modify the deploy plugin code or show a sample? Thanks. -Mensagem original- De: Wayne Fay [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 15:02 Para: Maven Users List Assunto: Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? As Nick stated, deploy has a very specific context within Maven. It does not mean deploy a WAR/EAR to a J2EE server nor does it mean copy a file to a path of my choosing. Deploy in the context of Maven means deploy this artifact to a remote Maven repository, and as you've discovered, Maven repos have a very specific layout. If you want the file copied similar to how the deploy plugin works, but without the extra directories, then you will need to investigate one of the 3 options Nick suggested. Easiest would probably be to simply grab the deploy plugin code, modify some things, change the groupId and artifactId, compile and install/deploy it locally, and then start using it. Wayne On 4/23/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is not a part of the deploy plugin. The deploy plugin is used only to put artifacts into a remote repository. Nothing else. To accomplish this, it uses the different wagon artifacts. If you want to accomplish your task, you will have to use one of the three options I gave you. 1) Create your own plugin, using the functionality the wagon implementations give you. 2) Write a little ant script and run it with the antrun plugin 3) Execute scp with the maven-exec-plugin. I hope I made it somewhat clearer. With regards, Nick S. -Original Message- From: Claudio Ranieri [mailto:[EMAIL PROTECTED] Sent: Wed 4/23/2008 19:09 To: Maven Users List Subject: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? 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: users@maven.apache.org 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 buildfinalNamemyname/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] - 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]
Re: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine?
Writing a plugin isn't that hard and it is very good documented [1]. Just take a good look at the deploy plugin code [2] and use the wagon artifacts. Hth, Nick S. [1] http://maven.apache.org/plugin-developers/index.html [2] https://svn.apache.org/repos/asf/maven/plugins/tags/maven-deploy-plugin-2.3 Claudio Ranieri wrote: Ok, I understood, but I never created a maven plugin. I think a complex task. There are another maven plugin to do scp (single file)? (native way) Someone can modify the deploy plugin code or show a sample? Thanks. -Mensagem original- De: Wayne Fay [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 23 de abril de 2008 15:02 Para: Maven Users List Assunto: Re: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? As Nick stated, deploy has a very specific context within Maven. It does not mean deploy a WAR/EAR to a J2EE server nor does it mean copy a file to a path of my choosing. Deploy in the context of Maven means deploy this artifact to a remote Maven repository, and as you've discovered, Maven repos have a very specific layout. If you want the file copied similar to how the deploy plugin works, but without the extra directories, then you will need to investigate one of the 3 options Nick suggested. Easiest would probably be to simply grab the deploy plugin code, modify some things, change the groupId and artifactId, compile and install/deploy it locally, and then start using it. Wayne On 4/23/08, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It is not a part of the deploy plugin. The deploy plugin is used only to put artifacts into a remote repository. Nothing else. To accomplish this, it uses the different wagon artifacts. If you want to accomplish your task, you will have to use one of the three options I gave you. 1) Create your own plugin, using the functionality the wagon implementations give you. 2) Write a little ant script and run it with the antrun plugin 3) Execute scp with the maven-exec-plugin. I hope I made it somewhat clearer. With regards, Nick S. -Original Message- From: Claudio Ranieri [mailto:[EMAIL PROTECTED] Sent: Wed 4/23/2008 19:09 To: Maven Users List Subject: RES: How can I send a single file by scp without generate maven2 repository directory structure in remote machine? 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: users@maven.apache.org 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 buildfinalNamemyname/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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe,