You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Morgovsky, Alexander (US - Glen Mills)" <am...@deloitte.com> on 2007/12/23 09:08:54 UTC

Deployment in M2

Hello.  Is it possible to disable uploading to the shared Maven
Repository during an M2 deployment?  In my deployment, I have customized
plugins bound to the deployment phase, and I need these to run, but I do
not need the binaries to be deployed themselves.  Thank you. 


This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]

Re: Deployment in M2

Posted by Tom Huybrechts <to...@gmail.com>.
It's a bit of hack, but you could set
<altDeploymentRepository>dulmmy::default::file://c:/temp/repo</altDeploymentRepository
in the POMs of those projects.

See
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository

Tom

On Dec 23, 2007 9:08 AM, Morgovsky, Alexander (US - Glen Mills) <
amorgovsky@deloitte.com> wrote:

> Hello.  Is it possible to disable uploading to the shared Maven
> Repository during an M2 deployment?  In my deployment, I have customized
> plugins bound to the deployment phase, and I need these to run, but I do
> not need the binaries to be deployed themselves.  Thank you.
>
>
> This message (including any attachments) contains confidential information
> intended for a specific individual and purpose, and is protected by law.  If
> you are not the intended recipient, you should delete this message.
>
>
> Any disclosure, copying, or distribution of this message, or the taking of
> any action based on it, is strictly prohibited. [v.E.1]
>