On 4/16/07, Baz <[EMAIL PROTECTED]> wrote:
Davis,
Thanks for replying.
After I reviewed the webpage, I wonder how i can delete/refresh one
single directory... for example, "com" directory under the local repo.
There is only "exclude" but no "include".
With purge-local-repository goal you may refresh (delete and then
download) dependencies for your project (including transitive
dependencies). With resolutionFuzziness you may also 'expand'
'scope' of deletion (see
http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html#resolutionFuzziness).
But this will work only for dependencies listed in your project (pom.xml).
So - it's not designed for removing 'whole repository' but only for those
parts of repository, which are required for your project.
And that's why there's no 'include' - you're 'including artifacts
for deletion' by adding them as dependencies to your project...
For removing whole 'com' tree in local repo simple filesystem operation
will work better IMHO.
Regards,
Tomek
B.
On 4/16/07, Davis Ford <[EMAIL PROTECTED]> wrote:
> http://maven.apache.org/plugins/maven-dependency-plugin/index.html
>
> see purge-local-repository goal
>
>
>
> On 4/16/07, Baz <[EMAIL PROTECTED]> wrote:
> >
> > All,
> >
> > Is there a mvn command that clean the local repo?
> >
> > Thanks.
> >
> > B.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Zeno Consulting, Inc.
> http://www.zenoconsulting.biz
> 248.894.4922 phone
> 313.884.2977 fax
>
---------------------------------------------------------------------
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]