Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
3.31.0
Description
Recreation Steps
- Create maven hosted repository
2. Deploy 2 components with GAs org.example.foo and com.testing.bar
3. Find maven-metadata.xml for com.testing.bar in blobstore. grep -rl "<artifactId>bar</artifactId>" * | xargs grep -l "<metadata"
4. Remove one <version> so it needs to be rebuilt.
5. Create task "Repair - Rebuild Maven repository metadata (maven-metadata.xml) Task"
6. Set group to org.example and run task
7. Look in blobstore and you will see the new metadata file. The old one will be there too waiting to be compacted.
grep -rl "<artifactId>bar</artifactId>" * | xargs grep -l "<metadata"
Expected Results
1. Don't see new metadata file