Artifactory: Auto-generate archetype catalog?
Asked Answered
F

2

6

Is there a way to have Artifactory automatically generate the archetype-catalog.xml file for a repository? At the moment, I maintain it by hand and publish it via HTTP PUT. While this is doable for our small internal repository, it would be nice to do this automatically, and I was rather surprised it doesn't seem to happen out of the box.

Any ideas? Thanks!

Fishback answered 24/6, 2009 at 17:23 Comment(1)
Can you share how you generate your archetype-catalog.xml?Namely
A
2

Edited according to the comment

What version of artifactory are you using? According to this issue, in version 1.3 it is done using HTTP PUT, while in 2.0 it takes the catalog form the proxied repositories.

I'd suggest you open a ticket for artifactory at http://issues.jfrog.org/jira/browse/RTFACT - it's an open source project after all...

Aptitude answered 24/6, 2009 at 19:14 Comment(1)
I'm on the latest version, 2.0.6. I'm afraid the issue only says that Artifactory mirrors the archetype-catalog.xml from one of the repositories it is proxying. I see that behaviour too.Fishback
F
0

JFrog will not fix under the current road map (07/2014) the behavior described by @Henning because this issue can be developed as a user plugin or maven plugin.

There is an example of a plugin there : https://github.com/dm-conti/maven-archetype-catalog-plugin

Fusspot answered 1/12, 2015 at 15:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.