[Codenarc-developer] Maven - Snapshot & migrating off of GMaven for Groovy 1.8
Brought to you by:
chrismair
From: Hamlet D'A. <ham...@gm...> - 2011-02-27 07:17:59
|
I tested our codebase with Groovy 1.8. From IDEA everything worked fine. From the command line it broke. The problem, as I understand it, is that the GMaven version we use dictates the version of the Groovy compiler. I can specify Groovy 1.8 in the pom.xml, but that isn't used to compile, only as a dependency to run tests, etc. Perhaps we should use Rene's Gradle build for building, and use Maven only for the site target. Then we can have a 1.7 version and a 1.8 version. *However*, this is not a big deal. You can happily have a 1.8 Groovy project and run CodeNarc+1.7 against it. It is just that some language features may not be recognized. Also, I updated the version number in the pom to 0.13-SNAPSHOT. Is there any way we could upload this to Maven central or have it automatically published? I would like to have people use 0.13 SNAPSHOT to report defects easily and then when we release we are more confident of our quality (and can deliver bug fixes in SNAPSHOT versions faster). It would be nice to get everyone on the snapshot and that way every time we check in a new rule, they could get the rule automatically. -- Hamlet D'Arcy ham...@gm... |