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 2006/10/16 01:12:38 UTC
Deployment to repositories
Hi. I have 2 repositories in my distributionManagement section. How do
I set up Maven 2 to deploy my released code (with versions like
1-alpha-1) to my internal-release repository and to deploy my SNAPSHOT
code to my internal-snapshot repository while executing the deploy
phase. Thank you.
<distributionManagement>
<repository>
<id>internal-snapshot</id>
<name>internal-snapshot</name>
<url>x</url>
</repository>
<repository>
<id>internal-release</id>
<name>internal-release</name>
<url>x</url>
</repository>
</distributionManagement>
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 to repositories
Posted by Dan Tran <da...@gmail.com>.
try "mvn deploy", if it does not work out post your problem
btw, you need to enable one of your repos as a snapshot repo, checkout the
POM at
maven site for detail.
-D
On 10/15/06, Morgovsky, Alexander (US - Glen Mills) <am...@deloitte.com>
wrote:
>
> Hi. I have 2 repositories in my distributionManagement section. How do
> I set up Maven 2 to deploy my released code (with versions like
> 1-alpha-1) to my internal-release repository and to deploy my SNAPSHOT
> code to my internal-snapshot repository while executing the deploy
> phase. Thank you.
> <distributionManagement>
> <repository>
> <id>internal-snapshot</id>
> <name>internal-snapshot</name>
> <url>x</url>
> </repository>
> <repository>
> <id>internal-release</id>
> <name>internal-release</name>
> <url>x</url>
> </repository>
> </distributionManagement>
>
>
> 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]
>
>