Hi Yann,
Yann Albou wrote:
>> So what you describe is normal and has been like this since Maven 2.x
>
> With Maven 2 we used unique snapshot versions.
>
> The issue with Maven 3 is that developers local repositories might grow
> significantly since several timestamp snapshots are downloaded.
>
> Also we don't have a mechanism to purge the local repositories as we do on
> the remote repository with Nexus, or does maven provide one I don't know
> of?
Delete all directories in your local repo that end with "-SNAPSHOT".
Under Linux we use actually an alias:
alias repoclean='find `cat ~/.m2/repoclean` -type d -name "*-SNAPSHOT" -
prune -exec rm -rvf \{} +'
with ~/.m2/repoclean containing a list of paths e.g.
/<repopath>/com/yourcompany
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]