Grails unable to install plugin
Asked Answered
R

2

11

I am trying to install webflow plugin version with my grails 1.3.9 version.

I have tried the following thing.,

  1. Using command grails intall-plugin webflow 1.3.8 Result was : org.grails#grails-webflow;1.3.8: not found

  2. Modifying buildConfig file and adding the line

    plugins { compile ":webflow:1.3.8"

When running app result was:

UNRESOLVED DEPENDENCIES
org.grails.plugins#webflow;1.3.8: not found

I don't know what else to try. Please help.

Raybourne answered 25/2, 2015 at 9:50 Comment(0)
F
19

The repository changed and it's causing problem for older Grails versions.

See my answer at: Grails Url shortener plugin not getting installed :

Please use

mavenRepo "https://repo.grails.org/grails/plugins"

As a repository definition.

http://grails.1312388.n4.nabble.com/Grails-central-repo-seemingly-missing-plugin-versions-td4658720.html

Foreknowledge answered 25/2, 2015 at 10:15 Comment(2)
Its not working for Spring security plugin. Dependencies are still not resolved for Spring security plugin.Committeeman
Awesome! Thanks. I was getting the error for Shiro plugin and adding this solved the issue.Meda
T
0

I also faced similar issue when installing dependencies.

I also changed the maven repo URL in Build.config file as nolonger rails repos available. However, due to my JDK being 1.6 it also failed as it is not support TLS1.2 out of the box.

repositories {
        grailsCentral()
        grailsPlugins()
        grailsHome()
        mavenRepo "https://repo.grails.org/artifactory/plugins/"

}

Hence used a reverse proxy to point to the grails repo as mentioned in the below stack overflow thread.

How to use TLS 1.2 in Java 6

Theone answered 24/2, 2023 at 4:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.