Java – how to build and run birt source code in eclipse Mars

I can get birt source (4.2.2 branch) from here: https://github.com/eclipse/birt/ Use M2e (Maven integration of eclipse) and import it into my eclipse workspace Birt file( https://wiki.eclipse.org/BIRT/FAQ/Birt_Project#Q:_How_to_Build_BIRT_3.7.1.2B_from_GIT.3F )It seems out of date As a result, I encountered many problems building the source code

My question is: can someone explain to me how to build 4. 0 using eclipse X source code?

Here is what I use:

>Eclipse EE Mars > egit plug-in > M2e plug-in (Maven integration of eclipse) > java 1.5 / 6 / 7 / 8

Solution

The best way is to import the project in the eclipse workspace and run it under the Maven command to make it compatible with eclipse,

mvn eclipse:eclipse

This will resolve your eclipse and Maven dependency errors

You can also check if the problem is related to the imported project, that is, missing any libraries or using eclipse only

You can try building a project from the command prompt to check the same content

mvn clean install

When finished, refresh the eclipse workspace

Note: from POM Run the command where the XML is located

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>