Grails installs a plugin due to a corporate firewall that blocks access

The Grails plugin page is available, but when I try to install plugins from the command line, it is blocked by our corporate firewall.

I see that you can download the plugins (the one I'm trying to install is spring-security-core) and then install it. But the download presented on the spring-security page does not download everything. Is there a link / place where I can download the whole plugin and then install them manually?

Update
An example of the error that I get when I install.

Server access Error: Connection refused: connect url=http://grails.org/plugins/grails-spring-security-core/tags/RELEASE_3_0_7_RELEASE/spring-security-core-3.0.7.RELEASE.pom 
+4
source share
3 answers

Abe

Here is a link to the Grails.org page for Spring Security Core: Grails Spring Security Core .

There is a download button that allows you to remove the ZIP file with the latest Spring Security Engine (1.2.7.3) from codehaus.org.

This page also has links to extension plugins for Spring Security (Spring Security OpenID, Spring Security ACL, etc.).

Hope this helps.

UPDATE

The Grails Spring Core 1.2.7.3 Security Plugin, plugin.xml lists the following dependencies:

 <dependencies> <compile> <dependency group='org.springframework.security' name='spring-security-core' version='3.0.7.RELEASE' /> <dependency group='org.springframework.security' name='spring-security-web' version='3.0.7.RELEASE' /> </compile> </dependencies> 

The error message you receive is an attempt by the Grails plugin to resolve dependency on Spring Security Core 3.0.7.

I believe you can just go and download 2 dependencies:

Spring Security Core 3.0.7.RELEASE and Spring Security Web 3.0.7.RELEASE and install them in the local Ivy repository.

Here is the Stackoverflow message (see accepted answer) when installing to the Ivy local repository: Unable to manually add jar file in .ivy cache

Here's a Stackoverflow sitelink: a good ivy tutorial for a local repository

Additional update based on additional research

Grails Spring Security Core Plugin 1.2.7.3 dependencies.groovy

If you finish placing the dependencies in the local Ivy repository, you will need to edit the dependencies.groovy and add mavenLocal() to your repositories.

 repositories { grailsPlugins() grailsHome() grailsCentral() mavenCentral() // Add mavenLocal if you have installed the dependencies to the local Ivy Repository mavenLocal() } 

The ideal scenario would be that if you can find a public repository accessible through your dependency firewall, then you will not need to follow the steps to install Ivy into the local repository.

+3
source

Install an intranet dependency repository such as Artifactory, Nexus or Archiva, and place your jar dependencies and plugins inside your firewall.

+2
source

All Articles