You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by nadias <na...@cisco.com> on 2008/02/05 02:57:36 UTC

Updating Meta Data

What is the command that updates the metadata when we use Maven's
deploy:deploy?

Thanks.
-- 
View this message in context: http://www.nabble.com/Updating-Meta-Data-tp15282046s177p15282046.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Updating Meta Data

Posted by nadias <na...@cisco.com>.
Let me add some more:

1- I cannot use any scp, so need a solution that uses "file:/"; hence, I am
trying to use deploy-file.

2- Is there a separate command that updates the metadata info that is
wrapped when doing deploy or deploy:deploy?

3- I would like to avoid having to build from source everytime I need to
deploy the plugin to remote sites.

Thanks.



nadias wrote:
> 
> Actually, I would like to use deploy:deploy-file but since it doesn't
> update the metadata, I would like to force it to update the metadata
> somehow - similar to how deploy or deploy:deploy works.
> 
> Is there a way to deploy plugins without having to compile them from
> source?
> 
> 
> 
> Wendy Smoak-3 wrote:
>> 
>> On Feb 4, 2008 6:57 PM, nadias <na...@cisco.com> wrote:
>> 
>>> What is the command that updates the metadata when we use Maven's
>>> deploy:deploy?
>> 
>> -DupdateReleaseInfo=true perhaps?
>> 
>> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
>> 
>> And you probably want 'mvn deploy' (the lifecycle phase) rather than
>> 'mvn deploy:deploy' (plugin:goal syntax).
>> 
>> -- 
>> Wendy
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Updating-Meta-Data-tp15282046s177p15296976.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Updating Meta Data

Posted by nadias <na...@cisco.com>.
I'm looking for a work around since the CR opened for this bug indicates that
there may be a workaround (it's priority has been marked minor).

What did the Maven community use before Maven 2.0.5 to achieve this?  Did
you have to build from source if you wanted a plugin at a remote site? 



Wendy Smoak-3 wrote:
> 
> On Feb 5, 2008 11:54 AM, nadias <na...@cisco.com> wrote:
>>
>> Actually, I would like to use deploy:deploy-file but since it doesn't
>> update
>> the metadata, I would like to force it to update the metadata somehow -
>> similar to how deploy or deploy:deploy works.
> 
> This is circular.  It's a bug.  If you could make it work, it wouldn't
> be a bug. :)
> 
> http://jira.codehaus.org/browse/MDEPLOY-52
> 
> Depending on how badly you want this fixed, you might take a look at
> the deploy plugin source code and see what it would take to make
> deploy-file do the same thing with the metadata that deploy already
> does...
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Updating-Meta-Data-tp15282046s177p15301810.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Updating Meta Data

Posted by Wendy Smoak <ws...@gmail.com>.
On Feb 5, 2008 11:54 AM, nadias <na...@cisco.com> wrote:
>
> Actually, I would like to use deploy:deploy-file but since it doesn't update
> the metadata, I would like to force it to update the metadata somehow -
> similar to how deploy or deploy:deploy works.

This is circular.  It's a bug.  If you could make it work, it wouldn't
be a bug. :)

http://jira.codehaus.org/browse/MDEPLOY-52

Depending on how badly you want this fixed, you might take a look at
the deploy plugin source code and see what it would take to make
deploy-file do the same thing with the metadata that deploy already
does...

-- 
Wendy

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


Re: Updating Meta Data

Posted by nadias <na...@cisco.com>.
Actually, I would like to use deploy:deploy-file but since it doesn't update
the metadata, I would like to force it to update the metadata somehow -
similar to how deploy or deploy:deploy works.

Is there a way to deploy plugins without having to compile them from source?



Wendy Smoak-3 wrote:
> 
> On Feb 4, 2008 6:57 PM, nadias <na...@cisco.com> wrote:
> 
>> What is the command that updates the metadata when we use Maven's
>> deploy:deploy?
> 
> -DupdateReleaseInfo=true perhaps?
> 
> http://maven.apache.org/plugins/maven-deploy-plugin/deploy-mojo.html
> 
> And you probably want 'mvn deploy' (the lifecycle phase) rather than
> 'mvn deploy:deploy' (plugin:goal syntax).
> 
> -- 
> Wendy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Updating-Meta-Data-tp15282046s177p15296974.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: Updating Meta Data

Posted by Wendy Smoak <ws...@gmail.com>.
On Feb 4, 2008 6:57 PM, nadias <na...@cisco.com> wrote:

> What is the command that updates the metadata when we use Maven's
> deploy:deploy?

-DupdateReleaseInfo=true perhaps?

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

And you probably want 'mvn deploy' (the lifecycle phase) rather than
'mvn deploy:deploy' (plugin:goal syntax).

-- 
Wendy

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