Olá pessoal!
Está nascendo uma nova feature no vraptor-scaffold para agilizar a 'instalação' de plugins disponíveis no github, reunidos no repositório do vraptor-contrib
Eu pensei nela bem assim:
$ vraptor contrib list
lists all submodules in https://github.com/caelum/vraptor-contrib
$ vraptor contrib install vraptor-cep
exists = search_in_maven_official_repo(vraptor-cep) -> http://search.maven.org/solrsearch/select?q=vraptor-cep&wt=json
if (exists)
inject_contrib_into_dependencies_file(exists)
else
clone vraptor-cep from github
cd vraptor-cep
identify the dependency manager tool
run tests
generate artifact
install artifact on local repository
cd ..
rm vraptor-cep
end
call compile task on project
Acham legal? Alguém tem alguma sugestão?
Falou!