[
http://jira.codehaus.org/browse/MOJO-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=133452#action_133452
]
Robert Munteanu commented on MOJO-1114:
---------------------------------------
If I use a custom build ( patch below ) I get the following error:
{code:title=Maven output}
mvn compile
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Xxx
[INFO] task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [jasperreports:compile-reports {execution: default}]
[INFO] Compiling 3 report design files.
[INFO] Compiling report file: commercialReport.jrxml
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] : [EMAIL PROTECTED]
Error compiling report design :
/home/robert/workspace/xxx/src/main/jasperreports/commercialReport.jrxml
Error compiling report design :
/home/robert/workspace/xxx/src/main/jasperreports/commercialReport.jrxml :
Report design not valid :
1. java.lang.ClassNotFoundException: xxx.PartnerReport
{code}
Whereas the beta-1 version works nicely if I just let eclipse compile the
classes _and then_ run the maven compile task. Perhaps another facet of
MOJO-886 - since I'm using the plugin as part of the compile goal.
I don't necessarily need an official build (although it would be nice), but
any pointers would be appreciated.
{code:title=my usage of the plugin}
<!-- jasper reports plugin -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jasperreports-maven-plugin</artifactId>
<version>1.0-beta-2-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>compile-reports</goal>
</goals>
</execution>
</executions>
</plugin>
{code}
{code:title=patch}
Index: pom.xml
===================================================================
--- pom.xml (revision 6871)
+++ pom.xml (working copy)
@@ -39,7 +39,7 @@
<dependency>
<groupId>jasperreports</groupId>
<artifactId>jasperreports</artifactId>
- <version>1.2.0</version>
+ <version>2.0.5</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
{code}
> Support Jasper Reports 2.x
> --------------------------
>
> Key: MOJO-1114
> URL: http://jira.codehaus.org/browse/MOJO-1114
> Project: Mojo
> Issue Type: Improvement
> Components: jasperreports
> Reporter: Robert Munteanu
>
> The plugin can not be used with template files which contain JR 2.x features.
> An upgrade would be more than welcome.
--
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