Comments (1)
Hey @sreekanthsnair. I don't know if I understood your question but I had to compile jasper files to a jar too.
To do this, I had to explicit add a resource on my build to path target/classes/jasper, and in the configuration section I set the output directory to this path. That's how I did this:
<build>
<finalName>taxonomia-reports</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>target/classes/jasper</directory>
<includes>
<include>**/*.jasper</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.alexnederlof</groupId>
<artifactId>jasperreports-plugin</artifactId>
<version>2.0</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>jasper</goal>
</goals>
</execution>
</executions>
<configuration>
<compiler>net.sf.jasperreports.engine.design.JRJdtCompiler</compiler>
<sourceDirectory>src/main/jasperreports</sourceDirectory>
<outputDirectory>${project.build.directory}/classes/jasper</outputDirectory>
<outputFileExt>.jasper</outputFileExt>
<xmlValidation>true</xmlValidation>
<verbose>false</verbose>
<numberOfThreads>4</numberOfThreads>
<failOnMissingSourceDirectory>true</failOnMissingSourceDirectory>
<sourceScanner>org.codehaus.plexus.compiler.util.scan.StaleSourceScanner</sourceScanner>
<additionalProperties>
<net.sf.jasperreports.awt.ignore.missing.font>true</net.sf.jasperreports.awt.ignore.missing.font>
</additionalProperties>
</configuration>
</plugin>
</plugins>
</build>
from jasper-report-maven-plugin.
Related Issues (20)
- Compatible version for Apache Maven 3.0.5 HOT 1
- jasperreport plugin cannot resolve itext dependency HOT 1
- class not found on default configuration
- Regression in xmlValidation option HOT 2
- Maven Compiler Plugin 3.8.0 incompatibility HOT 3
- Question about classpath HOT 3
- jasperreports 6.10.0 HOT 1
- Support for JasperReports 6.11.0 HOT 1
- Missing Dependency com.lowagie:itext:jar:2.1.7.js6 HOT 2
- Compiling reports that use Java Beans on the same project HOT 6
- Problem compiling Jasper with Lambda HOT 1
- This constructor can be deleted
- Print report hangs HOT 1
- Use class realm instead of class loader override HOT 2
- Add <skip> to execution
- Provide Multiple Source Directories
- Update to pom.xml
- POM update required HOT 2
- Broken dependencies
- Adoption HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jasper-report-maven-plugin.