Using the parent pom to specify the versions of dependencies solves this problem for most people.

If there are no SNAPSHOTS in the parent's properties and the parent poms version is not a SNAPSHOT, then your project is not being built with SNAPSHOTS.

We never worry about the SNAPSHOTs in the repo.

Ron

On 21/07/2015 2:42 PM, David Hoffer wrote:
Yeah it appears our IT group is right...Nexus doesn't have a UI/feature to
do what we want.  What other options are there?

This would seem a common need, major project does a refactor of Maven GA
and want to delete all SNAPSHOTS used by the project to verify the refactor
is 100% complete.  We have had too many cases where the build is still
pointing to an old artifact that isn't part of the build anymore yet the
build is happy because old artifacts are still in Nexus.

-Dave

On Tue, Jul 21, 2015 at 12:36 PM, Karl Heinz Marbaise <khmarba...@gmx.de>
wrote:

Hi David,

On 7/21/15 6:03 PM, David Hoffer wrote:

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.

You can only delete all kind of SNAPSHOT's in Nexus based on a time frame
for example delete all SNAPSHOT's which are older than 30 days etc..



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


Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to