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 6968893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:30:40+00:00 2026-05-27T16:30:40+00:00

How to get grails plugin version from app? Details: my app is also a

  • 0

How to get grails plugin version from app?

Details: my app is also a grails plugin.

When I set version, using

grails set-version 0.5

I can’t get value using grailsApplication.metadata['app.version']
because value is updated in my FooBarGrailsPlugin.groovy class

The application.properties file remains unchanged.

Tks.


When I run set-version, my class change from:

class FooBarGrailsPlugin {
    def version = 0.1
}

to

class FooBarGrailsPlugin {
    def version = 0.5
}
  • 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-05-27T16:30:40+00:00Added an answer on May 27, 2026 at 4:30 pm

    The following code will print out the name and version of all plugins installed in an app

    applicationContext.getBean('pluginManager').allPlugins.each {plugin ->
        println "${plugin.name} - ${plugin.version}"
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Grails 1.3.7 and cannot figure out how to get version 4.0
In grails, you can install a zip version of a plugin with grails install-plugin
Background I'm using the Spring Security Grails plugin. Because my User and Role classes
I'm developing a Grails (Version 1.3.3) Web-Application using the Grails Spring-Security Plugin, Spring-Security-Core-1.0.1 (which,
I have a grails app that is using jsecurity plugin for authentication. How do
I have been trying for 4 days to get app-engine and grails working together
after updating my grails app's security plugins, i get the following error when deploying
I'm using the Grails Jasper report plugin in my application. Im trying to bind
import grails.plugin.spock.* class EventControllerSpec extends ControllerSpec { def Creating a breadcrumb from an event()
I'm using Grails and I have a local-plugin (that I wrote) that I'm using

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.