Hi Dave, > Our IT group handles managing Nexus and they say there is no Nexus > interface/feature to do this.
You can use the "Remove Snapshots from Repository" scheduled task. See: https://books.sonatype.com/nexus-book/reference/scheduled-tasks.html Regards, Curtis On Tue, Jul 21, 2015 at 1:20 PM, David Hoffer <[email protected]> wrote: > Our IT group handles managing Nexus and they say there is no Nexus > interface/feature to do this. The last time we requested this they ended > up deleting these directly on the file system. Ideally I'd like to find a > way developers could do this, either using a Maven plugin or something > similar, or by a Nexus API if that exists. > > -Dave > > On Tue, Jul 21, 2015 at 12:07 PM, Jeff MAURY <[email protected]> > wrote: > > > Nexus tasks ? > > Jeff > > Le 21 juil. 2015 18:03, "David Hoffer" <[email protected]> a écrit : > > > > > We use Nexus as our corporate Maven repository and would like to > > > periodically delete certain SNAPSHOT artifacts. We need to be able to > > > filter/select by groupId and by version...so delete all where > > > groupId=com.mycomp.mygroupid.* and version=X.SNAPSHOT. > > > > > > Our use case is that when we refactor part of the build to use new > > groupIds > > > the old ones are not valid anymore however sometimes there is a > lingering > > > reference to the old groupId, if we can delete all the old SNAPSHOTS we > > > could find those errors now instead of when we release. > > > > > > Any ideas on how to do this are much appreciated. > > > > > > -Dave > > > > > >
