> On Feb 17, 2021, at 12:30 PM, Stefan Seelmann <m...@stefan-seelmann.de> wrote: > > What is the problem? Do you use Java 11? The windows and macOS release > profiles require additional tools installed, otherwise it should build.
Building on centos7. (Should be) using java 11 ``` # java -version openjdk version "11.0.10" 2021-01-19 LTS OpenJDK Runtime Environment 18.9 (build 11.0.10+9-LTS) OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9-LTS, mixed mode, sharing) ``` But, mvn using 8: ``` # mvn -version Apache Maven 3.0.5 (Red Hat 3.0.5-17) Maven home: /usr/share/maven Java version: 1.8.0_282, vendor: Red Hat, Inc. Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/jre ``` And I forget how to force maven to use 11. :-( Had to step away from this for a bit. In the meantime, here’s the error: *** start trace: [INFO] --- tycho-surefire-plugin:1.7.0:test (default-test) @ org.apache.directory.studio.test.integration.core --- [INFO] Executing Test Runtime with timeout 0, logs (if any) will be placed at: /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/data/.metadata/.log [INFO] Command line: [/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/jre/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=linux, -Dosgi.ws=gtk, -Dosgi.arch=x86_64, -Dosgi.clean=true, -jar, /root/.m2/repository/p2/osgi/bundle/or g.eclipse.equinox.launcher/1.6.0.v20200915-1508/org.eclipse.equinox.launcher-1.6.0.v20200915-1508.jar, -data, /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/data, -instal l, /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work, -configuration, /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/co nfiguration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/surefire.properties] An error has occurred. See the log file /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/configuration/1613659623617.log. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Directory Studio Parent .................... SUCCESS [8.889s] [INFO] Apache Directory Studio Target Platform for Eclipse SUCCESS [0.206s] [INFO] Apache Directory Studio Plugins ................... SUCCESS [2.000s] [INFO] Apache Directory Studio Common UI ................. SUCCESS [5.501s] [INFO] Apache Directory Studio Common Core ............... SUCCESS [0.655s] [INFO] Apache Directory Studio LDIF Parser ............... SUCCESS [5.158s] [INFO] Apache Directory Studio Connection Core ........... SUCCESS [3.226s] [INFO] Apache Directory Studio Connection UI ............. SUCCESS [3.328s] [INFO] Apache Directory Studio LDAP Browser Core ......... SUCCESS [10.525s] [INFO] Apache Directory Studio LDAP Browser Common ....... SUCCESS [9.342s] [INFO] Apache Directory Studio Value Editors ............. SUCCESS [3.807s] [INFO] Apache Directory Studio ACI Item Editor ........... SUCCESS [2.197s] [INFO] Apache Directory Studio ApacheDS Configuration .... SUCCESS [2.827s] [INFO] Apache Directory Studio LDIF Editor ............... SUCCESS [1.874s] [INFO] Apache Directory Studio LDAP Browser UI ........... SUCCESS [3.083s] [INFO] Apache Directory Studio LDAP Servers .............. SUCCESS [1.209s] [INFO] Apache Directory Studio ApacheDS LDAP Server Adapter SUCCESS [2.306s] [INFO] Apache Directory Studio RCP ....................... SUCCESS [1.537s] [INFO] Apache Directory Studio Schema Editor ............. SUCCESS [7.903s] [INFO] Apache Directory Studio eDirectory ................ SUCCESS [1.324s] [INFO] Apache Directory Studio OpenLDAP Common UI ........ SUCCESS [2.747s] [INFO] Apache Directory Studio OpenLDAP Syncrepl ......... SUCCESS [2.370s] [INFO] Apache Directory Studio OpenLDAP Configuration Editor SUCCESS [7.818s] [INFO] Apache Directory Studio OpenLDAP ACL Configuration Editor SUCCESS [5.959s] [INFO] Apache Directory Studio Template Editor ........... SUCCESS [7.168s] [INFO] Apache Directory Studio Combined Editor ........... SUCCESS [1.435s] [INFO] Apache Directory Studio SLF4J to Eclipse Log Binding SUCCESS [0.255s] [INFO] Apache Directory Studio Help Plugins .............. SUCCESS [0.048s] [INFO] Apache Directory Studio Apache DS Help ............ SUCCESS [37.279s] [INFO] Apache Directory Studio LDAP Browser Help ......... SUCCESS [1:13.868s] [INFO] Apache Directory Studio LDIF Editor Help .......... SUCCESS [10.670s] [INFO] Apache Directory Studio RCP Help .................. SUCCESS [13.161s] [INFO] Apache Directory Studio Schema Editor Help ........ SUCCESS [13.343s] [INFO] Apache Directory Studio Feature Plugins ........... SUCCESS [0.093s] [INFO] Apache Directory Studio ApacheDS Feature .......... SUCCESS [1.231s] [INFO] Apache Directory Studio LDAP Browser Feature ...... SUCCESS [0.615s] [INFO] Apache Directory Studio LDIF Editor Feature ....... SUCCESS [0.264s] [INFO] Apache Directory Studio RCP Feature ............... SUCCESS [0.668s] [INFO] Apache Directory Studio Schema Editor Feature ..... SUCCESS [0.317s] [INFO] Apache Directory Studio OpenLDAP Feature .......... SUCCESS [0.253s] [INFO] Apache Directory Studio National Language Support Feature SUCCESS [1.175s] [INFO] Apache Directory Studio Test Plugins .............. SUCCESS [0.029s] [INFO] Apache Directory Studio Core Integration Tests .... FAILURE [10.394s] [INFO] Apache Directory Studio UI Integration Tests ...... SKIPPED [INFO] Apache Directory Studio P2 Repositories ........... SKIPPED [INFO] Apache Directory Studio P2 Repository Dependencies SKIPPED [INFO] Apache Directory Studio P2 Repository Eclipse ..... SKIPPED [INFO] Apache Directory Studio Product ................... SKIPPED [INFO] Apache Directory Studio Installers ................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5:27.018s [INFO] Finished at: Thu Feb 18 14:47:09 UTC 2021 [INFO] Final Memory: 113M/444M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.7.0:test (default-test) on project org.apache.directory.studio.test.integration.core: An unexpected error occurred while launching the test runtime (pr ocess returned error code 13). Command-line used to launch the sub-process was null -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -Dosgi.clean=true -jar /root/.m2/repository/p2/osgi/bundle/org.ecli pse.equinox.launcher/1.6.0.v20200915-1508/org.eclipse.equinox.launcher-1.6.0.v20200915-1508.jar -data /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/data -install /root/o rg.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work -configuration /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /root/org.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core/target/surefire.properties in working directory /root/o rg.apache.directory.studio.parent-2.0.0.v20210213-M16/tests/test.integration.core -> [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :org.apache.directory.studio.test.integration.core [root@fortress-a org.apache.directory.studio.parent-2.0.0.v20210213-M16]# --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org