javamelody / grails-melody-plugin

JavaMelody monitoring plugin for Grails, to monitor application performance
https://plugins.grails.org/plugin/grails-melody-plugin
Apache License 2.0
33 stars 31 forks source link

mvn grails:maven-war doesn't work without explicit net.bull.javamelody:javamelody-core dependency #2

Closed evernat closed 6 years ago

evernat commented 11 years ago

Moved from https://code.google.com/p/javamelody/issues/detail?id=284

I'm trying to use grails-melody:1.13 Grails plugin with maven. I have defined plugin in pom.xml. mvn -Dgrails.env=dev grails:maven-war throws an exception: GrailsDataSourceBeanPostProcessor.groovy: 3: unable to resolve class net.bull.javamelody.JdbcWrapper

I can fix it by adding net.bull.javamelody:javamelody-core explicitly:

net.bull.javamelody javamelody-core 1.36.0

Why should I add it to pom.xml?

evernat commented 11 years ago

The grails-melody plugin 1.44 is now published using Grails 2 at http://www.grails.org/plugin/grails-melody It can be installed with: grails install-plugin grails-melody

I do not reproduce the issue using this new version and the following commands: git clone git://github.com/grails-samples/grails-petclinic cd grails-petclinic grails install-plugin grails-melody grails create-pom mvn grails:maven-war

Do you reproduce the issue?

sergiomichels commented 6 years ago

Closing as this reference an old version of Grails and JavaMelody.