it doesn't backup the whole local repository, only the files that will be
affected by a plugin install. It should be relatively stable in terms of the
backup/restore data transfer size...varying only by the number of
repositories that were consulted for that artifact (because there is a set
of metadata files for each remote repository).

I'm not sure what you mean by encapsulating things needed by the runtime.
What I want to avoid is introducing excessive design changes to the core
just so we can enable plugin manipulation that wouldn't happen in a normal
use case.

-john

On 8/11/06, Jason van Zyl <[EMAIL PROTECTED]> wrote:


On 11 Aug 06, at 9:18 AM 11 Aug 06, John Casey wrote:

> This should be solved by the stage/unstage mojos in the plugin-test
> plugin.
> That's its only current purpose. It will stage a new plugin
> artifact into
> the local repository, backing up what was there before, then clear the
> pluginManager's cache of that plugin, in case it's been resolved
> already.
> Unstaging (de-staging?) will restore the backed up data, and clear
> the cache
> again.
>

We should move toward encapsulating anything the runtime requires so
we could parameterize it on execution so that you don't have to
tamper with the local repository. If someone has a massive local
repository that could get pretty time consuming.

> -john
>
> On 8/11/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> Vincent Massol wrote:
>>
>> > Also, Kenney do you know if the it plugin can now be used to test a
>> plugin
>> > that is being built for the first time? I remember that I didn't
>> activate it
>> > on the clover plugin because it would work only if the clover
>> plugin was
>> > installed in the local repository and this came after integration
>> testing.
>> > Thus you would always run it tests on the previous version of
>> the plugin
>> > (looked up from the local repo). I think I had a jira issue for
>> this.
>> I'm
>> > offline now but I'll try to dig it up if need be.
>>
>> The following issue [1] should provide that: it was blocking the
>> use of
>> the it plugin; once fixed, it worked fine. If the local repository
>> version of the plugin is used instead, then I suggest we re-open the
>> issue.
>>
>> [1] http://jira.codehaus.org/browse/MNG-870
>>
>> -- Kenney
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>

Jason van Zyl
[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to