isamanya
(Irene Samanya)
March 16, 2021, 1:57pm
1
Hello team,
I am working on RA-1806 but am getting a build failure when running mvn clean install.
as shown at Failed to execute - Pastebin .My set up is https://snipboard.io/CD4TtI.jpg .
The build fails even before I work on the ticket.
I first tried to force update on maven in eclipse but it failed.
The I studied Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.5:exec (default) on project referenceapplication-omod 2. and have tried the following options
Deleted folders from the repository in .m2 file.
Compiled through command prompt then compiled through command prompt again using mvn clean install -DskipTests=true.
Made sure I have a good internet connection. I have even used different IPs to ensure that the internet is not the issue.
Made sure the path name has no spaces
All the above failed to fix the problem
Deleted code from pom.xml of the omod file. This worked as shown https://pastebin.pl/view/ff17ea40 .
My challenge is that although option 5 works, it requires me to make changes that are not supposed to be made on the ticket. Please advise @gracebish @jwnasambu @dkayiwa
gcliff
(CLIFF GITA)
March 16, 2021, 3:43pm
2
@isamanya could you do the following before making any changes and we see ;
git reset --hard upstream/master
git clean -df
git pull --rebase upstream master
git fetch --all
mvn clean install -U
ibacher
(Ian Bacher)
March 16, 2021, 4:48pm
3
Maybe instead of removing that code, try updating the JRuby version from 1.7.10
→ 1.7.27
, which is the most “recent” version of JRuby 1.7. The failure you’re seeing is a bit different from the one mentioned in the other thread…
isamanya
(Irene Samanya)
March 16, 2021, 6:06pm
4
Thanks @gcliff .I have done the above but with the same error New error log - Pastebin.com .
isamanya
(Irene Samanya)
March 16, 2021, 6:09pm
5
Thanks @ibacher .It still fails when I change the JRuby version Changed JRuby version - Pastebin.com
dkayiwa
(Daniel Kayiwa)
March 16, 2021, 6:12pm
6
Put the code in a path that does not have space shenkuru comp
and then try compile again.
1 Like
isamanya
(Irene Samanya)
March 16, 2021, 9:34pm
7
Thanks @dkayiwa . I changed the path and it failed at first but then I compiled with the new path and the JRuby version updated and it worked.
I then put back the original JRuby version and compiled again and the build was successful.
isamanya
(Irene Samanya)
March 16, 2021, 9:35pm
8
Thanks @gcliff ,@ibacher and @dkayiwa for the great help.