Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8395351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:16:42+00:00 2026-06-09T20:16:42+00:00

I have some third party plugins that are not available publicly. I would like

  • 0

I have some third party plugins that are not available publicly. I would like to create a local repository so that me and my co-workers can install these plugins easily. I have a server that already has nginx installed. So I’d like to use that if possible. That is, I’m not keen on installing another web server like Tomcat to run something like the grails.org web interface (as the documentation suggests in “Your own plugin portal“).

Based on the grailsRepo() function and getPluginList(), I have created a “grails” directory on my web server like so:

/grails
- /.plugin-meta
  - /plugins-list.xml
- /grails-my-plugin
  - /tags
    - /RELEASE_1_0_123
      - /grails-my-plugin-1.0.123.zip

Where the plugin is named “my-plugin” and the version number of the plugin is 1.0.123.

My plugins-list.xml is like so:

<plugins revision="1">
    <plugin latest-release="1.0.123" name="my-plugin">
        <release tag="RELEASE_1_0_123" type="svn" version="1.0.123">
            <title>MyPlugin</title>
            <author>No Author</author>
            <authoremail>no@email</authoremail>
            <description>An example plugin.</description>
            <file>http://mydev.example.com/grails/grails-my-plugin/tags/RELEASE_1_0_123/grails-my-plugin-1.0.123.zip</file>
        </release>
    </plugin>
</plugins>

With the repository configured as detailed, I created a new Grails application (grails create-app test-app) and adjusted the grails-app/conf/BuildConfig.groovy to include the following configuration:

repositories {
  grailsRepo("http://mydev.example.com/grails", "myDevRepo")
}

Whenever I attempt to install the “my-plugin” plugin to this Grails app I see a request on my web server, and Grails reports that it attempted to download from my repository like so:

==== myDevRepo: tried

  -- artifact org.grails.plugins#my-plugin;latest.integration!my-plugin.zip:

  http://mydev.example.com/grails/grails-my-plugin/tags/LATEST_RELEASE/grails-my-plugin-[revision].zip

It seems to me that Grails is not attempting to read the .plugin-meta/plugins-list.xml file I have created for my repository. What do I need to do to make this repository work with minimal configuration of the local Grails app?

Note: I am using Grails 1.3.7.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T20:16:44+00:00Added an answer on June 9, 2026 at 8:16 pm

    cdeszaq from #grails on irc.freenode.org led me to the following solution:

    Forget about using the “grailsRepo” type repository layout. It’s woefully undocumented and clearly doesn’t work well. Instead, use the Maven repository layout.

    Let’s assume you have a plugin named “foo” at version 1.0.5 and it is packaged into a zip file named “foo-1.0.5.zip”. To create an HTTP based repository we do the following:

    First, create a directory structure on your web server:

    /grails-maven
    -/org
      -/grails
        -/plugins
          -/foo
            -/1.0.5
    

    Place your “foo-1.0.5.zip” file, along with an MD5 sum file (md5sum -b foo-1.0.5.zip > foo-1.0.5.zip.md5), into the deepest directory of this tree. Thus, you’ll have the following URLs:

    http://example.com/grails-maven/org/grails/plugins/foo/1.0.5/foo-1.0.5.zip
    http://example.com/grails-maven/org/grails/plugins/foo/1.0.5/foo-1.0.5.zip.md5
    

    Enable directory indexing output for the grails-maven directory in your web server configuration. In the case of nginx, the following configuration will work:

    server {
      location ^~ /grails-maven {
        autoindex on;
      }
    }
    

    Finally, enable the repository in your Grails app’s BuildConfig.groovy:

    repositories {
      mavenRepo("http://example.com/grails-maven/")
    }
    

    Having completed the above, you can now grails install-plugin foo and get the plugin installed into your Grails app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are some third party Javascript libraries that have some functionality I would like
I have some third-party Javascript that has statements like this: FOO = function() {
I have a dll project which uses some third party dlls. I would like
I have a project that using some third-party libraries. My questions is how to
I have third party sites that link to some images on my site. The
I have a form that submits to a third-party service that runs some validation.
I have some third party code, that invokes double.ToString() . My problem, is that
I have some third party web service documentation formatted into HTML tables like this
I have a java application that uses some third party API. The third party
we are using some third-party library that have some dependencies that must be referenced

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.