On Mon, Aug 16, 2010 at 5:53 PM, Trevor Harmon <tre...@vocaro.com> wrote:
> On Aug 16, 2010, at 12:29 PM, Justin Edelson wrote:
>
>>> Okay, let me make sure I understand this. Say I've got a main artifact
>>> and a customized plugin that it depends on. I can configure the plugin
>>> to deploy to my own remote repository by adding the repository info to
>>> the plugin POM's <distributionManagement>.
>>
>> I would use altDeploymentRepository instead of modifying the POM.
>>
>> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html#altDeploymentRepository
>
> ...
>>
>> * run mvn -DaltDeploymentRepository=foo::default::scp://myrepo/foo deploy
>
> I don't see the advantage of altDeploymentRepository. What's wrong with
> modifying the POM? I'd prefer not to have to remember a command line
> parameter and just do a simple "mvn deploy".

To each his or her own :)

Both have their uses.

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

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

Reply via email to