[
http://jira.codehaus.org/browse/MOJO-1476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cleverson Sacramento closed MOJO-1476.
--------------------------------------
Resolution: Not A Bug
This issue occurred because my jdk was corrupted. When I reinstalled the jdk,
everything worked well.
> jasperreports-maven-plugin not compile under jdk5
> -------------------------------------------------
>
> Key: MOJO-1476
> URL: http://jira.codehaus.org/browse/MOJO-1476
> Project: Mojo
> Issue Type: Bug
> Components: jasperreports
> Environment: Ubuntu Linux 8.04
> Elcipse 3.4.2
> java-1.5.0-sun-1.5.0.15
> jasperreports-maven-plugin 1.0-beta-1
> Reporter: Cleverson Sacramento
>
> When I try to compile my project using jasperreports-maven-plugin, I get the
> folow error message:
> 09/12/09 9h41min40s BRT: [INFO] [jasperreports:compile-reports]
> 09/12/09 9h41min40s BRT: [INFO] Compiling 6 report design files.
> 09/12/09 9h41min40s BRT: [INFO] Compiling report file: ReportTurma_aluno.jrxml
> 09/12/09 9h41min41s BRT: Build errors for escola;
> org.apache.maven.ProjectBuildFailureException: Build for project:
> br.gov.sample.demoiselle:escola:war:1.0.5-SNAPSHOT failed during execution of
> mojo: org.codehaus.mojo:jasperreports-maven-plugin:1.0-beta-1:compile-reports
> This is my POM plug-in configuration section:
> <!-- Java Sources Compilation -->
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.0.2</version>
> <configuration>
> <encoding>${encoding.default}</encoding>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
>
> <!-- Jasper Reports Generation -->
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
>
> <artifactId>jasperreports-maven-plugin</artifactId>
> <version>1.0-beta-1</version>
> <configuration>
>
> <outputDirectory>${project.build.outputDirectory}/jasperreports</outputDirectory>
> </configuration>
> <executions>
> <execution>
> <goals>
>
> <goal>compile-reports</goal>
> </goals>
> </execution>
> </executions>
> <dependencies>
> <dependency>
> <groupId>jasperreports</groupId>
>
> <artifactId>jasperreports</artifactId>
> <version>3.1.0</version>
> </dependency>
> </dependencies>
> </plugin>
>
> I'm using java-1.5.0-sun-1.5.0.15 under Ubuntu 8.04. Then, I installed the
> java-6-sun-1.6.0.11 on Ubuntu without changing Eclipse 3.4.2 or project
> settings and the compilation process worked!
--
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