相关疑难解决方法(0)

什么是jasperreports-maven-plugin的稳定版本?

在我的项目中,我正在使用Maven 3.0.4并使用JasperReports 5.1.0.要 使用jasperreports-maven-plugins编译JRXML文件.我有版本1.0-beta-2 的jasperreports-maven-plugin.因为它是测试版(1.0-beta-2)我可以知道,什么是稳定版的jasperreports-maven-plugin可以使用?

在我的pom.xml文件中使用的插件下面

<properties>
      <jasperreports.version>5.1.0</jasperreports.version>
</properties>

<build>
      <plugins>
         <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jasperreports-maven-plugin</artifactId>
            <version>1.0-beta-2</version>
            <configuration>
               <sourceDirectory>src/main/resources/reports</sourceDirectory>
               <outputDirectory>${project.build.directory}/classes/reports</outputDirectory>
            </configuration>
            <executions>
               <execution>
                  <!-- Need to bind to the compile phase cuz the reports uses classes under target/classes. The default is the generate-resources phase. -->
                  <phase>compile</phase>
                  <goals>
                     <goal>compile-reports</goal>
                  </goals>
               </execution>
            </executions>
            <dependencies>
               <dependency>
                  <groupId>net.sf.jasperreports</groupId>
                  <artifactId>jasperreports</artifactId>
                  <version>${jasperreports.version}</version>
               </dependency>
               <dependency>
                  <groupId>org.codehaus.groovy</groupId>
                  <artifactId>groovy-all</artifactId>
                  <version>2.0.1</version>
                  <scope>compile</scope>
                  <optional>true</optional>
               </dependency>
            </dependencies>
         </plugin>
      </plugins>
   </build>
Run Code Online (Sandbox Code Playgroud)

jasper-reports maven

13
推荐指数
1
解决办法
1万
查看次数

标签 统计

jasper-reports ×1

maven ×1