Maven Build Failure

2,453 views
Skip to first unread message

Rana Faraz Ahmed

unread,
Apr 10, 2020, 4:50:10 PM4/10/20
to iDempiere
hi there!

I'm trying to configure source code of iDempiere on Windows 10.
Whenever, I run (mvn verify) command, it gives the following exception and the built  never completes.
Please guide me in this regards.
 
org.idempiere.p2 ................................... FAILURE [02:26 min]
[INFO] org.idempiere.javadoc .............................. SKIPPED
[INFO] org.idempiere.p2.targetplatform .................... SKIPPED
[INFO] org.idempiere.main ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:22 min
[INFO] Finished at: 2020-04-11T01:37:27+05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:1.5.0:eclipse-run (default) on project org.idempiere.p2: Error while executing platform: Error while executing platform (return code: 13) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :org.idempiere.p2
Message has been deleted

Dxb_Programmer

unread,
Apr 11, 2020, 4:14:26 PM4/11/20
to iDempiere


On Saturday, April 11, 2020 at 11:58:45 PM UTC+4, Dxb_Programmer wrote:
Hi,

I had the same issue in Cent OS, and the issue related with Maven path settings.
I solved by setting Maven Path in Cent OS as follows.

M3_HOME=/user/share/maven                
MAVEN_HOME=/user/share/maven
PATH=$M3_HOME/bin:$path

May be this will help you.

Rana Faraz Ahmed

unread,
Apr 11, 2020, 7:14:19 PM4/11/20
to iDempiere
I have double checked the path setting but still get this error:

Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:1.5.0:eclipse-run (default) on project org.idempiere.p2: Error while executing platform: Error while executing platform (return code: 13) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho.extras:tycho-eclipserun-plugin:1.5.0:eclipse-run (default) on project org.idempiere.p2: Error while executing platform

Flo Boj

unread,
Apr 14, 2020, 12:09:59 PM4/14/20
to iDempiere
Please try after clean new   git checkout


My exp is, after running Eclipse with that guy, back to mvn afterwards there MAY be issues ( ilike cannot finish compile ), which correlate with Eclipse-Settings :(   in the users IDE (at least I had this prob)  .

Good luck ! 

Regards 
Florian

Muhammad Rizwan Anwar

unread,
Apr 15, 2020, 12:44:24 PM4/15/20
to iDempiere
Faraz,

Use fast and uninterrupted internet while Materialized & Build process. Slow internet could be the reason for failure.

Hiep Lq

unread,
Apr 15, 2020, 11:34:24 PM4/15/20
to Mohemmed Bilal Ilyas

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/ff8368d0-798c-4ced-b91f-8db93450bcf4%40googlegroups.com.


--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Dxb_Programmer

unread,
Apr 21, 2020, 10:41:17 AM4/21/20
to iDempiere
Hi,

I have the same same issue in Cent OS 7,
I solved by run mvn install instaed of mvn varify

may be this will help you.
Reply all
Reply to author
Forward
0 new messages