jfrog / artifactory-scripts

Scripts for Artifactory (Usually, for REST API), community driven.
Apache License 2.0
148 stars 166 forks source link

Cleanup aborts when maven metadata is missing. #19

Closed idcmp closed 8 years ago

idcmp commented 8 years ago

When running dryRun=true, the cleanup lists the work it would do. When running without dryRun, if a project is missing a maven-metadata.xml (lets say from a failed deploy), the script will abort.

I can generate the metadata for an individual artifact by POSTing to /api/maven/calculateMetadata/..repoId../..groupId../..artifactId.. However, I wind up needing to do this for every artifact in a multimodule project to get the cleanup to work.

markgalpin commented 8 years ago

There are several cleanup-related scripts in this repository. Can I ask which one you are referring to?

idcmp commented 8 years ago

Hi Mark, I'm in the wrong repo. My script is in artfiactory-user-plugins. I'll open it there. Thanks!