Question is, whether you really want to use Maven in that case.

Using Maven is the proper thing to do, if you want to be able to
deploy to multiple targets by just specifying a different URL, as in
scp://... or https://....

If you have a fixed target (like a Nexus repository), it is much more
likely that all you need to do is to program a single HTTP PUT request
or something similar, which can be done with a few lines of code and
without depending on the whole Maven infrastructure, like local
repository, and so on.



On Wed, Apr 20, 2011 at 9:43 AM, kgiannou <kgian...@iti.gr> wrote:
> As a separate step, but no with command line but with Java code if possible
> :)
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/Deploy-artifact-programmatically-tp4315124p4315136.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



-- 
I Am What I Am And That's All What I Yam (Popeye)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to