[
https://issues.apache.org/jira/browse/ARCHETYPE-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hervé Boutemy updated ARCHETYPE-536:
------------------------------------
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:
{code:java}
@Grab(group='org.springframework', module='spring-orm', version='3.2.5.RELEASE')
{code}
was:
the included groovy dependency is already a few years old - we should update to
latest groovy version.
and we should add a dependency to ivy, 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:
{code:java}
@Grab(group='org.springframework', module='spring-orm', version='3.2.5.RELEASE')
{code}
> Update Groovy Dependency and Include Ivy Dependency to enable Groovy Grape
> --------------------------------------------------------------------------
>
> Key: ARCHETYPE-536
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-536
> Project: Maven Archetype
> Issue Type: Improvement
> Components: Generator
> Affects Versions: 3.0.1
> Reporter: Stefan Seifert
> Priority: Major
>
> 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:
> {code:java}
> @Grab(group='org.springframework', module='spring-orm',
> version='3.2.5.RELEASE')
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)