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)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: Generator
    • Labels:
      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

              • Assignee:
                hboutemy Hervé Boutemy
                Reporter:
                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