evgeny-goldin / maven-plugins

Maven plugins
http://evgeny-goldin.com/wiki/Maven_Plugins
Other
52 stars 62 forks source link

Build doesn't work #18

Open xylifyx2 opened 9 years ago

xylifyx2 commented 9 years ago

Why is it that build system except from maven doesn't work out of the box?

erikmartino:maven-plugins emartino$ git show commit 5737b64629493cde5ef35b043a8f35d97466c175 ...

erikmartino:maven-plugins emartino$ bash build.sh

Running Gradle [1.6], Groovy [1.8.6], Java [1.7.0_25] Building [:maven-plugins:unspecified] :clean :codenarc [ant:codenarc] log4j:WARN No appenders could be found for logger (org.codenarc.ant.CodeNarcTask). [ant:codenarc] log4j:WARN Please initialize the log4j system properly. [ant:codenarc] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. :codenarc FAILED

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 7.799 secs

evgeny-goldin commented 9 years ago

Hi, the online set of Codenarc rules has moved since I used this project. https://github.com/evgeny-goldin/maven-plugins/blob/master/codenarc.groovy - this files references an up-to-date version of rules, but the CodeNarc version used isn't up-to-date.

https://github.com/evgeny-goldin/maven-plugins/blob/master/build.gradle references http://evgenyg.artifactoryonline.com/evgenyg/libs-releases-local/CodeNarc.gradle which uses CodeNarc 0.19 while the latest one is 0.21 so older CodeNarc fails to work with newer ruleset.