Pages

Tuesday 16 October 2012

Maven Dependency For Birt ( Birt Maven Dependency )

       I was working on integration of Birt engine with my application and I was using maven for the dependency management. When I searched for maven dependencies for birt I found very few details related to that, But after Searching long time for  maven dependency for birt .I finally figured out the solution.

Perform the following steps  for mavenizing birt :

Birt Maven Dependency

      1)      Add the below repository in your pom.xml:
   <repositories>
     <repository>
            <id>sonatype-nexus-releases</id>
            <name>Sonatype Nexus Releases</name>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
      </repository>
    </repositories>

        2)      Add below Maven Dependency :Currently this dependency is for birt version 3.7.1         
    <dependency>
        <groupId>org.eclipse.birt.runtime.3_7_1</groupId>
        <artifactId>org.eclipse.birt.runtime</artifactId>
        <version>3.7.1</version>
    </dependency


Birt Maven Dependency 4.2.0 and 4.2.2


1)Birt Maven Dependency 4.2.0
  <dependencies>
      <dependency>
            <groupId>org.eclipse.birt.runtime</groupId>
            <artifactId>org.eclipse.birt.runtime</artifactId>
            <version>4.2.0</version>
      </dependency>
  </dependencies>

2)Birt Maven Dependency 4.2.2
  <dependencies>
      <dependency>
            <groupId>org.eclipse.birt.runtime</groupId>
            <artifactId>org.eclipse.birt.runtime</artifactId>
            <version>4.2.2</version>
      </dependency>
  </dependencies>



Check below links as well:






If you find this post useful please share and leave a comment below, thanks! :)

8 comments:

  1. Its useful !!!!! Nice and simple .. Thnx

    ReplyDelete
  2. thanks a loooottt!!!

    ReplyDelete
  3. it is reallly perfect, so when I do these to my maven, I don't need anymore of jars file to add to project, or what,
    in ur last example , 1)Birt Integration With Web Application.
    you have written, we have to add some jars to our project, so in this step, we can avoid it with maven, or what?

    ReplyDelete
  4. Close to 2 years, still i found this blog useful. Thanks!

    ReplyDelete
    Replies
    1. Really appreciate your comment Bhagya thanks :)

      Delete
  5. Why do I need to add sonatype repository in my pom.xml. Is is not enough if I simply write below:

    < dependency >
    < groupId > org.eclipse.birt.runtime < / groupId >
    < artifactId > org.eclipse.birt.runtime < / artifactId >
    < version > 4.3.1a < / version >
    < / dependency >

    ReplyDelete
    Replies
    1. Sonatype repository contains these dependency so you need to add it.

      Delete
  6. how to pagination in birt report .pls help?

    ReplyDelete