How can I download Maven artifacts in chef?
- by recampbell
I want to do something like this in a chef recipe:
maven_artifact "/opt/foo/my.jar" do
source "com.foo:my:0.1:jar"
end
But I can't find a cookbook which provides this. I've written something which basically does this but it doesn't handle snapshots, which requires parsing maven-metadata.xml. Before I plunge into this, I wanted to be sure I wasn't missing something obvious since this seems like a basic usecase.