How to clean Maven cache from Grails command/SDK? -
i'm looking grails sdk command (i.e. grails maven-clean
) clean local .m2\
cache, forcing rest of grails build (grails war
, grails run-app
, etc.) re-fetch them remote repos. ideas?
have u tried ..> refresh dependencies
, issue grails clean
on command line ...some time deleting bogus file
under ./m2
, refresh dependencies
might save lot of time...
also : related grails maven-clean -u
command check one
grails maven help
mavenrepo ("http://my.server/repos/my-grails-plugins") { updatepolicy 'always' }
here possible values updatepolicy:
never – never check new snapshots – check new snapshots daily – check once day new snapshots (the default) interval:x – check once every x minutes new snapshots
Comments
Post a Comment