You'd have to run a whole bunch of buildhelper:attach goals on the same mvn
command line... and since that will require properties to be passed and
since I don't see any way to specify the same property with multiple values
from the same command, I do not see what you'd gain...

certainly if you do

mvn jar:jar source:jar javadoc:jar deploy:deploy

that will "just work" from the command line and will deploy the three jars
as the three mojos prior will attach artifacts to the reactor for the deploy
mojo to deploy... but if I understand correctly, the deploy:deploy mojo is
designed to deploy multiple artifacts to the same GAV coordinates, and I
suspect you want to deploy multiple artifacts to multiple GAV coordinates

-Stephen

2009/6/3 Jane Young <[email protected]>

> Thanks...
>
> Looks like  maven-deploy-plugin is not intended to execute just the deploy
> goal.
> I asked this question before and Steve Connolly kindly responded a
> workaround by deploying to a staged repository and then merge to the final
> repo.
> A co-worker suggested that I should be able to use the "deploy" goal but
> looks like maven-deploy-plugin does not allow you to directly execute the
> deploy goal.
>
> Jane
>
>
>
> Wayne Fay wrote:
>
>> Does "mvn deploy:deploy" work?  Has anyone successfully executed "deploy"
>>> goal with  maven-deploy-plugin?
>>>
>>>
>>
>> If you've ever deployed anything from Maven via "mvn deploy", then
>> you've used the deploy mojo in the maven-deploy-plugin. That is what
>> runs behind the scenes. So asking this question is a bit silly -- many
>> people have "successfully executed" it.
>>
>> However, this mojo is not designed to be called directly, and thus, is
>> breaking when you try to use it like this. I doubt you could use it
>> like this without a bit of trouble.
>>
>> Maybe you should describe your use case and then people will have
>> better suggestions on how to achieve the results you are looking for.
>>
>> Wayne
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>

Reply via email to