Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the Maven repositories for Jasper Reports? [closed]

Where can I find the Maven repositories for the latest versions of Jasper Reports? I've tried in the main site but it seems that the repo isn't up to date.

like image 835
grteibo Avatar asked May 24 '11 17:05

grteibo


People also ask

What are three types of Maven repository?

There are 3 types of maven repository: Local Repository. Central Repository. Remote Repository.

What are the Maven repositories?

What is a Maven Repository? In Maven terminology, a repository is a directory where all the project jars, library jar, plugins or any other project specific artifacts are stored and can be used by Maven easily.

What type of repositories are available in Maven?

There are exactly two types of repositories: local and remote: the local repository is a directory on the computer where Maven runs. It caches remote downloads and contains temporary build artifacts that you have not yet released.

What is the public repository name of Maven?

Maven Central, a.k.a. the Central Repository, is the default repository for Maven, SBT, Leiningen, and many other JVM based build tools. It has been around since 2002, and serves many terabytes of assets every year. Maven Central also has a search site.


1 Answers

This is the latest version:

    <dependency>         <groupId>net.sf.jasperreports</groupId>         <artifactId>jasperreports</artifactId>         <version>5.2.0</version>     </dependency> 

There is also a pretty nice plugin to compile jrxml files to jasper automatically. Just put the following in your pom and your jrxml files in src/main/jasperreports

<project>  <properties>     <jasperReport.version>5.2.0</jasperReport.version> </properties>    ...   <dependencies>     <dependency>       <groupId>net.sf.jasperreports</groupId>       <artifactId>jasperreports</artifactId>       <version>${jasperReport.version}</version>     </dependency>   </dependencies>   <build>   ...   <plugins>     ...     <plugin>       <groupId>org.codehaus.mojo</groupId>       <artifactId>jasperreports-maven-plugin</artifactId>       <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>net.sf.jasperreports</groupId>           <artifactId>jasperreports</artifactId>           <version>${jasperReport.version}</version>         </dependency>       </dependencies>     </plugin>    </plugins>  </build> </project> 

Source: http://www.mojohaus.org/jasperreports-maven-plugin/usage.html

like image 131
jpaoletti Avatar answered Oct 11 '22 10:10

jpaoletti