views:

84

answers:

2

How can I compile jrxml jasper files using Maven and JRAntCompileTask ant task? I tried using a maven plugin for compiling jasper reports files but it's still in beta, and it caused me many problems. I'd like to see the configuration in pom.xml.

A: 

How can I compile jrxml jasper files using Maven and JRAntCompileTask ant task?

You can use the custom Ant Tasks with the Maven AntRun Plugin. See the example provided in Using tasks not included in Ant's default jar.

Pascal Thivent
A: 

You can try jasperreports-maven-plugin, that way you don't have to use ant, Here is an example.

cesarggf