The Clover-for-Grails plug-in source is stored in Mercurial repository on Bitbucket.org. To get a local copy of the source code, a Mercurial client is required.
The following command will checkout the source code of the atlassian/grails-clover-plugin:
hg clone ssh://hg@bitbucket.org/atlassian/grails-clover-plugin
The plugin can then be built, tested and installed via:
grails package-plugin --plain-output --verbose grails test maven-install --plain-output --verbose # it puts zip into local maven cache ~/.m2
Test it against the enclosed Grails test applications located in testcases directory: daily-groove, petclinic, petclinic203, petclinic210, weceem.
Update plugin clover number in <grails>/testcases/<project>/grails-app/conf/BuildConfig.groovy like
plugins { build ":clover:X.X.X" ... }
To submit a patch:
or
generate a patch by running the following command in your local work area (where XXXX is the id of the JIRA issue created above)
hg diff > CLOV-XXXX.patch
Stable releases can be downloaded from Grails Plugins site.