Champ
Champ

Reputation: 1351

How to configure javamelody for grails 2.4.4? Getting "Bad artifact coordinates"!

As per grails javamelody plugin, I have added dependency of "compile ':grails-melody:1.54.0'"

But I get the error: There was an error loading the BuildConfig: Bad artifact coordinates :grails-melody:1.54.0, expected format is < groupId>:< artifactId>[:< extension>[:< classifier>]]:< version> (Use --stacktrace to see the full trace)

I also tried "compile 'grails-melody:grails-melody:1.54.0'" but got the error: Resolve error obtaining dependencies: Could not find artifact grails-melody:grails-melody:jar:1.54.0

Please suggest a solution.

Upvotes: 2

Views: 726

Answers (1)

cfrick
cfrick

Reputation: 37063

you must add it to the plugins{} block (and not to dependencies{})

Upvotes: 3

Related Questions