Grails Maven Plugin

Add option to create POM for existing Grails project

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

One approach is to manually create a POM for the project that contains the bare minimum plus the plugin info. You could then use "mvn grails:create-pom". However, this requires a manual step that doesn't work particularly nicely. Instead, I think we should have a Grails plugin for Maven that has a script that will create the required POM (and the empty "web.xml" file). The main trick would be to ensure that the same template POM is used by said script and the archetype...easier said than done I think.

Activity

Hide
Peter Ledbrook added a comment -

Actually, as long as the Grails Maven plugin is published to the central repository, the "grails:" goals can be used. So it's probably best to go with:

mvn grails:create-pom
Show
Peter Ledbrook added a comment - Actually, as long as the Grails Maven plugin is published to the central repository, the "grails:" goals can be used. So it's probably best to go with:
mvn grails:create-pom

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: