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 <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]


Reply via email to