How to create and run a BIRT source in Eclipse Mars

I managed to get the BIRT source (4.2.2 branches) from here: https://github.com/eclipse/birt/ using m2e (Maven integration for Eclipse) and imported it into the eclipse workspace. The BIRT documentation ( https://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_to_Build_BIRT_3.7.1.2B_from_GIT.3F ) seems deprecated. As a result, I had a lot of problems creating the source.

My question is: can someone explain to me how I can build a 4.x source using Eclipse?

Here is what I use:

  • Eclipse ee mars
  • Egit Plugin
  • m2e plugin (Maven Integration for Eclipse)
  • Java 1.5 / 6/7/8

enter image description here

+7
java eclipse maven birt
source share
2 answers

The best way to do this, after importing the project into the eclipse workspace, run below the maven command to make it compatible with Eclipse.

mvn eclipse:eclipse 

This will solve your eclipse errors and maven dependecy.

You can also check if the problem is related to your imported project, i.e. there are no libraries or just using eclipse.

You can try to create a project from the command line to check it with

 mvn clean install 

After execution, update the eclipse workspace.

Note. Run the commands from where your pom.xml is located.

+1
source share

Make sure you install jre 1.7, not jdk. from the command line, go to the pom.xml directory and run

 mvn package -Pmars -DskipTest 
+1
source share

All Articles