If I understand well, it is possible !
If you want to do it manually, go to your home directory's ".m2" hidden
folder, then remove whatever you want from the repository folder.
If you want to do it from a project pom, just use maven-clean-plugin on
${settings.localRepository}/org/.../myproject/3.0.1 in the build section
of the pom. You can also remove the root of "myproject" since your local
repository is just a workspace and the latest version will be installed by
the build after the clean phase.
If you want to do it from .m2/settings.xml you can also create a profile
doing this (not sure but I use a profile in my pom to do so, and you can
add profiles in settings.xml so I guess it is possible).
Best Regards,
Julien Plaquevent
Thales Critical Information Systems
2012/1/4 Jesse Farinacci <[email protected]>
> Greetings,
>
> On Tue, Jan 3, 2012 at 11:02 PM, zuxiong lin <[email protected]
> >wrote:
>
> > Append
> > like:
> > repository\org\springframework\spring-core
> > -3.0.5.RELEASE
> > -3.0.6.RELEASE
> > -3.1.0.RELEASE
> >
> > I want to remove 3.0.5 and 3.0.6.
>
>
> I don't think this is possible with an existing plugin. I don't think it
> would even be advisable for non-SNAPSHOT artifacts..
>
> -Jesse
>
> --
> There are 10 types of people in this world, those
> that can read binary and those that can not.
>