this plugin uses 1.2.2 jasperreport, this may be the cause of your
issue.  But you can overide it thou. see doc for details

-D

On Feb 7, 2008 1:54 PM, David C. Hicks <[EMAIL PROTECTED]> wrote:
> I'm converting an existing Ant build to Maven, and I've encountered a
> sticking point with respect to my Jasper reports.
>
> Though it's not the preferred method for doing headers and footers, our
> reports use some "imported" xml to provide the report header and footer
> definitions.  The xml is imported by way of ENTITY tags in the .jrxml
> header.  When running one of these guys through the
> jasperreports-maven-plugin, I get an error that doesn't really tell me
> much.  Here is an example:
>
> Error compiling report design :
> /home/dhicks/workspace/com.enttek.concessions.backoffice/reports/src/main/jasperreports/transfer.jrxml
> : headerParms.xml
>
> Using the -e parameter does yield some stack trace indicating an error
> in JasperReportsMojo.compile().  I'll include that trace at the end of
> the message.  I hope someone has an idea.  Otherwise, I'm stuck with
> either re-working all of my reports to use subreports for the headers
> and footers or trying to run an Ant build from within my Maven build
> (the more likely scenario since time is not on my side).
>
> Thanks in advance for any advice,
> Dave
>
> Promised Stack Trace:
>
> org.apache.maven.BuildFailureException: Error compiling report design :
> /home/dhicks/workspace/com.enttek.concessions.backoffice/reports/src/main/jasperreports/transfer.jrxml
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: Error compiling
> report design :
> /home/dhicks/workspace/com.enttek.concessions.backoffice/reports/src/main/jasperreports/transfer.jrxml
>        at
> org.codehaus.mojo.jasperreports.JasperReportsMojo.compile(JasperReportsMojo.java:236)
>        at
> org.codehaus.mojo.jasperreports.JasperReportsMojo.execute(JasperReportsMojo.java:191)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>        ... 16 more
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to