On Mon, Aug 16, 2010 at 5:53 PM, Trevor Harmon <[email protected]> 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: [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