Posted by: nerdgerl on: August 12, 2009
Simply add the dependency and plugin to your pom as follows:
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jasperreports-maven-plugin </artifactId> <configuration> <outputDirectory>target/jasperreports </outputDirectory> </configuration> <executions> <execution> <goals> <goal>compile-reports</goal> </goals> </execution> </executions> <dependencies> <!-- note this must be repeated here to pick up correct xml validation --> <dependency> <groupId>jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>3.5.3</version> </dependency> </dependencies> </plugin> </plugins> </build>
jasperreports:compile-reports
Recent Comments