Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-536

Update Groovy dependency and enable Groovy Grape in archetype-post-generate.groovy script (by including Ivy dependency)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.0
    • Generator
    • None

    Description

      the included Groovy dependency is already a few years old - we should update to more recent Groovy version.

      and we should add a dependency to Ivy (which is an optional dependency of Groovy), to support importing maven artifacts in Groovy scripts via Groovy Grape:
      http://docs.groovy-lang.org/latest/html/documentation/grape.html

      with this it's possible to import maven artifacts in the Groovy script like this:

      @Grab(group='org.springframework', module='spring-orm', version='3.2.5.RELEASE')
      

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m