(Quick Reference)

4 Profile Info

Version: 2023.3.0

4 Profile Info

You can always get information about the provided command and available features executing grace profile-info plugin

You will see an output similar to:

Profile: plugin
Version: 2023.3.0
Extends: base
Description: Profile for plugins designed to work across all profiles

Provided Commands:
----------------------------------------------------------------------------------------------------
Name                           Description
----------------------------------------------------------------------------------------------------
about                          About your application's environment
assemble                       Creates a JAR or WAR archive for production deployment
bug-report                     Creates a zip file that can be attached to issue reports for the current project [deprecated]
clean                          Cleans a Grace application's compiled sources
compile                        Compiles a Grace application
console                        Runs the Grace interactive console
create-command                 Creates an Application Command
create-domain-class            Creates a Domain Class
create-plugin                  Creates a Dynamic Plugin
create-script                  Creates a Groovy Script
create-unit-test               Creates a Unit Test
dependency-report              Prints out the Grace application's dependencies [deprecated]
package                        Packages a Grace application
package-plugin                 Packages the plugin into a JAR file [deprecated]
publish-plugin                 Publishes the plugin to the Maven Central repository [deprecated]
run-app                        Runs a Grace application
run-command                    Executes Grace commands
run-script                     Executes Groovy scripts in a Grace context
shell                          Runs the Grace interactive shell
stats                          Prints statistics about the project
stop-app                       Stops the running Grace application
test-app                       Runs the applications tests

Provided Features:
----------------------------------------------------------------------------------------------------
Name                           Required  Defaults  Description
----------------------------------------------------------------------------------------------------
asset-pipeline                                     Adds support for the Asset Pipeline to the Grace project
async                                              Adds support for the Grace Async
cache                                              Adds support for the Grace Cache abstraction
database-migration                                 Adds support for Grace Database Migration Plugin
events                                             Adds support for the Grace EventBus abstraction
geb                                                Adds Geb 7, Selenium WebDriver 4.x to run functional tests
gsp                                                Adds support for GSP to the project
hibernate                                          Adds GORM for Hibernate to the project
json-views                                         Adds support for JSON Views to the project
markup-views                                       Adds support for Markup Views to the project
maven-publish                              +       Publish plugin artifacts to Maven Central
mongodb                                            Adds GORM for MonogoDB to the project

The above list includes all the commands and features from it’s parent profile. But if you want only show it’s own commands and features, you can execute grace profile-info plugin --only.

You will see the output below:

Profile: plugin
Version: 2023.3.0
Extends: base
Description: Profile for plugins designed to work across all profiles

Provided Commands:
----------------------------------------------------------------------------------------------------
Name                           Description
----------------------------------------------------------------------------------------------------
package-plugin                 Packages the plugin into a JAR file [deprecated]
publish-plugin                 Publishes the plugin to the Maven Central repository [deprecated]

Provided Features:
----------------------------------------------------------------------------------------------------
Name                           Required  Defaults  Description
----------------------------------------------------------------------------------------------------
maven-publish                              +       Publish plugin artifacts to Maven Central

Compared to the plugin, the web-plugin provides asset-pipeline and gsp in addition to maven-publish by default.

The package-plugin and publish-plugin have been deprecated.