[prev in list] [next in list] [prev in thread] [next in thread]
List: openejb-user
Subject: Re: Problem with my m2/repo and tomee-maven-plugin
From: Alex Soto <asotobu () gmail ! com>
Date: 2014-04-23 11:57:28
Message-ID: CAGV8jqjwuDVjx6jcVp9YraSQJs2Pu_PSw2BLzNkp26MMPD8zGQ () mail ! gmail ! com
[Download RAW message or body]
There is a groovy script which makes some kind of smart clean of local
repo, if you Google it you will find.
El dimecres, 23 abril de 2014, Andy Gumbrecht <agumbrecht@tomitribe.com> va
escriure:
> Hi Karl,
>
> Deleting your entire .m2/respository directory occasionally is sometimes
> not a bad idea as is can grow to be huge and contain a lot of old file
> versions that you'll never use again.
> There is also the maven-dependency-plugin task which can be used to clean
> up the repository. Putting it in profile means that you can set it up and
> then just tell your developers to activate it occasionally.
>
> http://maven.apache.org/plugins/maven-dependency-
> plugin/purge-local-repository-mojo.html
>
> On 12/04/2014 10:54, Karl Kildén wrote:
>
>> Our m2/repo is corrupted somehow.
>>
>> After some more coffee I realized I can just copy back the backed up
>> /repository folder. When it asks if I want to overwrite file I just go
>> with
>> no and my corrupted stuff in m2 will not be copied back. This worked well.
>> It's a solid solution imo and not that hard to explain in email form.
>>
>> Thanks for tomee-maven-plugin, a time saver if I ever saw one :-)
>>
>>
> Andy.
>
> --
> Andy Gumbrecht
>
> http://www.tomitribe.com
> agumbrecht@tomitribe.com
> https://twitter.com/AndyGeeDe
>
> TomEE treibt Tomitribe! | http://tomee.apache.org
>
>
--
Enviat amb Gmail Mobile
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic