You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2020/02/19 12:38:00 UTC
[jira] [Resolved] (GROOVY-9410) Writable is not on classpath for
compilation when using maven repository
[ https://issues.apache.org/jira/browse/GROOVY-9410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King resolved GROOVY-9410.
-------------------------------
Fix Version/s: 3.0.2
4.0.0-alpha-1
Assignee: Paul King
Resolution: Fixed
Fixed. Thanks for spotting the issue.
> Writable is not on classpath for compilation when using maven repository
> ------------------------------------------------------------------------
>
> Key: GROOVY-9410
> URL: https://issues.apache.org/jira/browse/GROOVY-9410
> Project: Groovy
> Issue Type: Bug
> Components: Templating
> Affects Versions: 3.0.1
> Reporter: jub
> Assignee: Paul King
> Priority: Minor
> Fix For: 4.0.0-alpha-1, 3.0.2
>
>
> TemplateEngine is a part of *groovy-templates* artifact and in its api it returns Template which is in the same artifact. The dependecies for this artifact are
> *groovy-xml*:3.01 (compile) -> *groovy*:3.0.1 (runtime)
> Class Template uses Writable in its interface and unfortunately the runtime maven dependency between groovy-xml and groovy causes that groovy artifact is not on the classpath when compiling against groovy-templates artifact.
>
> Compilation dependency:
> {{+--- org.codehaus.groovy:groovy-templates -> 3.0.1}}
> {{ \--- org.codehaus.groovy:groovy-xml:3.0.1}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)