[ 
http://jira.codehaus.org/browse/MOJO-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=220775#action_220775
 ] 

Marcin Gryszko commented on MOJO-1263:
--------------------------------------

The Groovy dependency has 1.6.5 version. JasperReports 3.7.2 defines 1.5.5 
version dependency. Log4j dependency is not required. Here is my (minimal) 
configuration:

{code}
<plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jasperreports-maven-plugin</artifactId>
        <executions>
                <execution>
                        <goals>
                                <goal>compile-reports</goal>
                        </goals>
                </execution>
        </executions>
        <configuration>
                
<compiler>net.sf.jasperreports.compilers.JRGroovyCompiler</compiler>
        </configuration>
        <dependencies>
                <dependency>
                        <groupId>net.sf.jasperreports</groupId>
                        <artifactId>jasperreports</artifactId>
                        <version>3.7.2</version>
                </dependency>
                <dependency>
                        <groupId>org.codehaus.groovy</groupId>
                        <artifactId>groovy-all</artifactId>
                        <version>1.5.5</version>
                </dependency>
        </dependencies>
</plugin>
{code}

> Add support for compiling jasper reports that uses groovy as programming 
> language
> ---------------------------------------------------------------------------------
>
>                 Key: MOJO-1263
>                 URL: http://jira.codehaus.org/browse/MOJO-1263
>             Project: Mojo
>          Issue Type: Task
>          Components: jasperreports
>         Environment: iReport 2.0.3
> org.codehaus.mojo:jasperreports-maven-plugin:1.0-beta-1
>            Reporter: John Ericson
>
> Today jasperreports-maven-plugin doesn't support jasper reports that uses the 
> language groovy. When it discovers a reports that uses that language the 
> compile fails. Output from maven:
> "
> [#generate-sources]
> [jasperreports:compile-reports]
> Compiling 173 report design files.
> Compiling report file: senate\Avbetalningsplan_senate.jrxml
> [ERROR]Mojo: 
> [ERROR]    
> org.codehaus.mojo:jasperreports-maven-plugin:1.0-beta-1:compile-reports
> [ERROR]FAILED for project: 
> [ERROR]    fast2000:FastJasperReports:jar:1.0-SNAPSHOT
> [ERROR]Reason:
> [ERROR]Error compiling report design : C:\All Fast2000 
> kod\projects\maven\Fast2\FastJasperReports\src\main\jasperreports\senate\Avbetalningsplan_senate.jrxml
>  : Language "groovy" not supported by this report compiler.
> [ERROR]Expecting "java" instead.
> "
> I would like to see groovy supported in a future version of 
> jasperreports-maven-plugin.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to