mvn -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T21:41:47+03:00)
Maven home: /Users/gauravmanasi/Documents/workspace/maven
Java version: 11.0.6, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk-11.0.6.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"
when I try to run mvn verify / mvn verify -U
[INFO] org.idempiere.p2 ................................... FAILURE [ 58.192 s]
[INFO] org.idempiere.javadoc .............................. SKIPPED
[INFO] org.idempiere.p2.targetplatform .................... SKIPPED
[INFO] org.idempiere.main ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:17 min
[INFO] Finished at: 2020-03-09T16:31:22+03: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] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :org.idempiere.p2
Please help me to get this resolved. Any help would be highly appreciated ?
Regards
Gaurav
1- MAVEN VERIFY FOR MAC************************************Using Hiep's suggestion, I've added the following to the pom in org.idempiere.parent/pom.xml:<!-- configure the p2 target environments for multi-platform build --><environments><environment><os>linux</os><ws>gtk</ws><arch>x86_64</arch></environment><environment><os>win32</os><ws>win32</ws><arch>x86_64</arch></environment><environment><os>macosx</os><ws>cocoa</ws><arch>x86_64</arch></environment></environments>then 'mvn verify -U" completed successfully after that. I've only test it up to that point only unfortunately... have not test further... I'll post up further if future errors come up.2-ECLIPSE Install Running Configuration****************************************On Arguments TabReplace:-os ${target.os} -arch x86 -nl ${target.nl} -consoleLog --launcher.secondThreadwhere:-os ${target.os} -arch ${target.arch} -nl ${target.nl} -consoleLog3-ECLIPSE server Running Configuration****************************************Turn off the flag in the argument:-XStartOnfirstThread argument when launching with SWT