You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Sonnek, Ryan" <Ry...@bpc.com> on 2003/12/18 23:07:51 UTC

new maven goal

I have nearly finished creating a small plugin that I think could be
integrated into the maven clean plugin.  I would like to get feedback on it
and ask about if/how to submit it to the maven community.

I created a plugin that goes through the user's local repository and deletes
out all timestamped artifacts EXCEPT the newest one (should be the same as
SNAPSHOT).  I needed to create this plugin because after several weeks of
development, I'd have over 1 GB tied up in my local repo.  It is not
possible to just "blow away" my local repo since we may or may not be online
to redownload the dependencies, so I created this plugin to do the grunt
work for me. 

I see this as being useful to organizations that develop using SNAPSHOT
dependencies (which kicks ass, and I thank maven for implementing this), and
don't want to weed through their local repo to clean up old files.

Any suggestions on how to go about this would be greatly appreciated.
Thanks.
Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: new maven goal

Posted by Jason van Zyl <jv...@maven.org>.
On Thu, 2003-12-18 at 17:07, Sonnek, Ryan wrote:
> I have nearly finished creating a small plugin that I think could be
> integrated into the maven clean plugin.  I would like to get feedback on it
> and ask about if/how to submit it to the maven community.
> 
> I created a plugin that goes through the user's local repository and deletes
> out all timestamped artifacts EXCEPT the newest one (should be the same as
> SNAPSHOT).  I needed to create this plugin because after several weeks of
> development, I'd have over 1 GB tied up in my local repo.  It is not
> possible to just "blow away" my local repo since we may or may not be online
> to redownload the dependencies, so I created this plugin to do the grunt
> work for me. 
> 
> I see this as being useful to organizations that develop using SNAPSHOT
> dependencies (which kicks ass, and I thank maven for implementing this), and
> don't want to weed through their local repo to clean up old files.
> 
> Any suggestions on how to go about this would be greatly appreciated.
> Thanks.

This is something that you need to be careful about. It can't hurt to
have the goal for those that want to use it. A local repository is
obviously slightly different than ibiblio but one thing that we're
strict about with ibiblio is that no removals occur. This is an
important reason why ibiblio was chosen because it is a form of history
and you could potentially really screw yourself, or someone else, in the
future by removing stuff that doesn't seem important at the time.

In an organization that has a shared repository for development you
probably don't want to start nuking stuff, but this feature probably
can't hurt for a user's local repository.

Just some notions to keep in mind. 

> Ryan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: new maven goal

Posted by di...@multitask.com.au.
It would be great to integrate this into the repository plugin (rather 
than clean).

Could you post it to our bug reporting system?

Thanks,
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



"Sonnek, Ryan" <Ry...@bpc.com> wrote on 19/12/2003 09:07:51 AM:

> I have nearly finished creating a small plugin that I think could be
> integrated into the maven clean plugin.  I would like to get feedback on 
it
> and ask about if/how to submit it to the maven community.
> 
> I created a plugin that goes through the user's local repository and 
deletes
> out all timestamped artifacts EXCEPT the newest one (should be the same 
as
> SNAPSHOT).  I needed to create this plugin because after several weeks 
of
> development, I'd have over 1 GB tied up in my local repo.  It is not
> possible to just "blow away" my local repo since we may or may not be 
online
> to redownload the dependencies, so I created this plugin to do the grunt
> work for me. 
> 
> I see this as being useful to organizations that develop using SNAPSHOT
> dependencies (which kicks ass, and I thank maven for implementing this), 
and
> don't want to weed through their local repo to clean up old files.
> 
> Any suggestions on how to go about this would be greatly appreciated.
> Thanks.
> Ryan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org