me0wster / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

[Grails] Error Failed to install plugin [grails-melody-1.12]. Plugin has missing JAR dependencies. #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. grails install-plugin grails-melody
2. grails run-app

What is the expected output? What do you see instead?

$ grails run-app
| Downloading: itext-2.1.7.jar.sha1
:: problems summary ::
:::: ERRORS
    Server access Error: Operation timed out url=http://maven.glassfish.org/content/groups/public/org/jrobin/jrobin/1.5.9/jrobin-1.5.9.pom
    Server access Error: Operation timed out url=http://maven.glassfish.org/content/groups/public/org/jrobin/jrobin/1.5.9/jrobin-1.5.9.jar
| Error Failed to install plugin [grails-melody-1.12]. Plugin has missing JAR 
dependencies.
| Downloading: itext-2.1.7.jar.sha1.

What version of the product are you using? On what application server, JDK,
operating system?

grails-grails-melody-1.12
grails 2.0.1

Please provide any additional information below.

grails melody depends jrobin-1.5.9.jar and dependencies.groovy :>
....

    repositories {
        grailsPlugins()
        grailsHome()
        mavenCentral()
        mavenRepo "http://maven.glassfish.org/content/groups/public/" //repo for jrobin
    }
    dependencies {
        // change the javamelody version here to upgrade
        compile "net.bull.javamelody:javamelody-core:1.35.0"
        compile ("com.lowagie:itext:2.1.7") {excludes "bcmail-jdk14", "bcprov-jdk14", "bctsp-jdk14"}
        compile "org.jrobin:jrobin:1.5.9"
    }
.....

but http://maven.glassfish.org is down

Solve...
download  javamelody-1.35.0.jar   and put in lib of my grails project
download plugin grails-grails-melody-1.12.zip and unzip in 
$USER/.grails/2.0.1/projects/$MYPROJECT/plugins/
download jrobin-1.5.9.jar and paste in  
$USER/.grails/2.0.1/projects/$MYPROJECT/plugins/grails-grails-melody-1.12

Original issue reported on code.google.com by arkei...@gmail.com on 15 Mar 2012 at 11:53

GoogleCodeExporter commented 9 years ago
Issue 200 has been merged into this issue.

Original comment by evernat@free.fr on 18 Mar 2012 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 18 Mar 2012 at 12:00

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 28 Mar 2012 at 8:49

GoogleCodeExporter commented 9 years ago
The jrobin dependency is now available in the Maven central repository as you 
can see here:
http://search.maven.org/#artifactdetails|org.jrobin|jrobin|1.5.9|jar

Your builds should find it automatically in Maven central since March, the 23rd.

The external repository referenced in the BuildConfig.groovy file of the plugin 
is now useless and it has been removed:
https://svn.codehaus.org/grails-plugins/grails-grails-melody/trunk/grails-app/co
nf/BuildConfig.groovy
(revision 80927)

Original comment by evernat@free.fr on 28 Mar 2012 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 28 Mar 2012 at 9:09