Build Failure when building OpenMRS 2.5.0-SNAPSHOT

Hi All,

I’m trying to build the OpenMRS code that I cloned directly from OpenMRS Master in github using gitbash. However, I am getting a build failure with 1 failure in it. Here is the Pastebin link, " https://pastebin.com/JGtuZW8U ".

Really appreciate if someone could help me out wit correcting this failure.

Thank you.

What does this command return? mvn -v

I have specifically downloaded maven for the project. Given below is what this command returns.

$ mvn -v Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\Users\Saurabh\Dropbox\My PC (S_RAY_PC)\Downloads\apache-maven-3.6.3 Java version: 1.8.0_261, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_261\jre Default locale: en_IN, platform encoding: Cp1252 OS name: “windows 10”, version: “10.0”, arch: “amd64”, family: “windows”

Thank you.

1 Like

which java version are you running?

I am using version 8 of java.

C:\WINDOWS\system32>java -version java version “1.8.0_261” Java™ SE Runtime Environment (build 1.8.0_261-b12) Java HotSpot™ 64-Bit Server VM (build 25.261-b12, mixed mode)

Thank you.

Can you do the following three commands and tell us what happens?

git reset --hard

git clean -df

mvn clean install

2 Likes

@saurabhray5 mean while,i am also trying to build at my side

1 Like

Hi Daniel,

I followed the steps that you recommended and I am pleased to let you know that it worked as i now have got a build success.

Very grateful for your help on this.

Thank you.

1 Like