1.23.1 Kompilierung schlägt fehl

Ich bekomme beim kompilieren die folgende Fehlermeldung

[INFO] sernet.verinice.releng.client.product 1.23.1-SNAPSHOT FAILURE [ 19.929 s]
[INFO] sernet.verinice.releng.server.product 1.23.1-SNAPSHOT SKIPPED
[INFO] sernet.verinice.bp.importer 1.0.0-SNAPSHOT ......... SKIPPED
[INFO] sernet.gs.server.tests 1.23.1-SNAPSHOT ............. SKIPPED
[INFO] sernet.gs.service.tests 1.23.1-SNAPSHOT ............ SKIPPED
[INFO] sernet.gs.ui.rcp.main.tests 1.23.1-SNAPSHOT ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:49 min
[INFO] Finished at: 2022-02-04T14:57:36+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:2.4.0:materialize-products (create-product-distributions) on project sernet.verinice.releng.client.product: Installation of product sernet.verinice.releng.client for environment linux/gtk/x86_64 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, ........

Ich habe bereits die Änderungen in der sernet.gs.server/pom.xml durchgeführt

diff --git a/sernet.gs.server/pom.xml b/sernet.gs.server/pom.xml
index 4bc121151..93ed9b414 100644
--- a/sernet.gs.server/pom.xml
+++ b/sernet.gs.server/pom.xml
@@ -72,7 +72,7 @@
        <repositories>
                <repository>
                        <id>maven-central</id>
-                       <url>http://central.maven.org/maven2/</url>
+                       <url>https://repo.maven.apache.org/maven2/</url>
                </repository>
 
                <repository>
@@ -90,12 +90,12 @@
                <repository>
                        <id>com.springsource.repository.bundles.release</id>
                        <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name>
-                       <url>http://repository.springsource.com/maven/bundles/release</url>
+                       <url>https://repository.springsource.com/maven/bundles/release</url>
                </repository>
                <repository>
                        <id>com.springsource.repository.bundles.external</id>
                        <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name>
-                       <url>http://repository.springsource.com/maven/bundles/external</url>
+                       <url>https://repository.springsource.com/maven/bundles/external</url>
                </repository>
        </repositories>

Die leeren JRE Verzeichnisse angelegt

mkdir -p sernet.verinice.extraresources.jre_linux_64/jre/bin
mkdir -p sernet.verinice.extraresources.jre_win_64/jre/bin
mkdir -p sernet.verinice.extraresources.jre_macos_64/jre/lib/

und verwende Ubuntu mit Java Version

JAVA_HOME=/usr/lib/jvm/java-1.11.0-openjdk-amd64
java --version
openjdk 11.0.13 2021-10-19
OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.21.10)
OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.21.10, mixed mode, sharing)

Hat jemand eine Idee was ich übersehen oder vergessen habe?

Gruß
Hagen Bauer

Hi zusammen ich habe genau den gleichen Fehler. Viele Grüße

:wave:

Ich leider nicht, aber ich kann schonmal ansagen das in der 1.24 einige Änderungen drin sind die das Problem eventuell lösen. z.B. „http://central.maven.org/maven2/“. Die 1.24 wird demnächst released (genaues Datum weiss ich gerade nicht).

Nachdem ich die JRE Ordner rausgenommen haben, erhalte ich folgende Fehlermeldung. Das erhalte ich sowohl auf Ubuntu als auch auf meinem Macbook.

Für einen hilfreichen Hinweis wäre ich überaus dankbar

There were errors. See log file: /Users/dennisfleischmann/Dropbox/Dev/verinice/workspace/.metadata/.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] sernet.verinice.tycho.root 1.23.1-SNAPSHOT … SUCCESS [ 0.003 s]
[INFO] target-platform 1.23.1-SNAPSHOT … SUCCESS [ 0.158 s]
[INFO] bouncycastle 1.46.1 … SUCCESS [ 0.711 s]
[INFO] gnumail 1.0.0-SNAPSHOT … SUCCESS [ 0.176 s]
[INFO] jbpm 4.4.1 … SUCCESS [ 0.217 s]
[INFO] org.eclipse.e4.rcp.sernet 1.6.100-SNAPSHOT … SUCCESS [ 0.458 s]
[INFO] sernet.birt.feature 1.23.1-SNAPSHOT … SUCCESS [ 0.370 s]
[INFO] sernet.datatools.feature 1.23.1-SNAPSHOT … SUCCESS [ 0.136 s]
[INFO] sernet.eclipse.feature 1.23.1-SNAPSHOT … SUCCESS [ 0.464 s]
[INFO] sernet.gs.db.fragment 1.3.0 … SUCCESS [ 0.319 s]
[INFO] sernet.gs.ehcache.fragment 1.1.1 … SUCCESS [ 0.238 s]
[INFO] sernet.gs.hibernate.fragment 1.2.0 … SUCCESS [ 0.188 s]
[INFO] sernet.gs.log4j.fragment 1.1.3 … SUCCESS [ 0.198 s]
[INFO] sernet.gs.pax_web.fragment 1.23.1-SNAPSHOT … SUCCESS [ 0.148 s]
[INFO] sernet.gs.reveng 1.2.0-SNAPSHOT … SUCCESS [ 1.815 s]
[INFO] sernet.hui.common 1.1.1-SNAPSHOT … SUCCESS [ 0.346 s]
[INFO] sernet.gs.service 1.23.1-SNAPSHOT … SUCCESS [ 1.826 s]
[INFO] sernet.hui.swtclient 1.1.2-SNAPSHOT … SUCCESS [ 0.366 s]
[INFO] sernet.springclient 1.3.0-SNAPSHOT … SUCCESS [ 0.544 s]
[INFO] sernet.gs.ui.rcp.main 1.23.1-SNAPSHOT … SUCCESS [ 4.199 s]
[INFO] sernet.verinice.oda.driver 1.0.0-SNAPSHOT … SUCCESS [ 0.523 s]
[INFO] sernet.verinice.samt.service 0.1.0-SNAPSHOT … SUCCESS [ 0.326 s]
[INFO] sernet.verinice.report.service 1.0.0-SNAPSHOT … SUCCESS [ 0.616 s]
[INFO] sernet.verinice.fei.service 1.0.0-SNAPSHOT … SUCCESS [ 0.360 s]
[INFO] sernet.gs.server 1.23.1-SNAPSHOT … SUCCESS [ 5.975 s]
[INFO] sernet.gs.server.feature 1.1.1-SNAPSHOT … SUCCESS [ 0.167 s]
[INFO] sernet.gs.springweb.fragment 1.2.0 … SUCCESS [ 0.173 s]
[INFO] sernet.localdependencies 1.23.1-SNAPSHOT … SUCCESS [ 0.068 s]
[INFO] sernet.verinice.fei.rcp 1.0.0-SNAPSHOT … SUCCESS [ 0.515 s]
[INFO] sernet.verinice.samt.rcp 0.1.0-SNAPSHOT … SUCCESS [ 0.577 s]
[INFO] sernet.verinice.desktop.integration 1.23.1-SNAPSHOT SUCCESS [ 0.301 s]
[INFO] waffle 1.7.4 … SUCCESS [ 0.283 s]
[INFO] sernet.verinice.kerberos 1.23.1-SNAPSHOT … SUCCESS [ 0.587 s]
[INFO] sernet.rcp.ui.feature 1.0.0-SNAPSHOT … SUCCESS [ 0.355 s]
[INFO] sernet.thirdparty.feature 1.23.1-SNAPSHOT … SUCCESS [ 0.227 s]
[INFO] sernet.verinice.lang.feature 1.23.1-SNAPSHOT … SUCCESS [ 1.685 s]
[INFO] sernet.verinice.extraresources.jre_linux_64 1.23.1-SNAPSHOT SUCCESS [ 0.162 s]
[INFO] sernet.verinice.extraresources.jre_win_64 1.23.1-SNAPSHOT SUCCESS [ 0.168 s]
[INFO] sernet.verinice.extraresources.jre_macos_64 1.23.1-SNAPSHOT SUCCESS [ 0.161 s]
[INFO] sernet.verinice.extraresources.feature 1.0.0-SNAPSHOT SUCCESS [ 0.125 s]
[INFO] sernet.verinice.app.feature 1.23.1-SNAPSHOT … SUCCESS [ 0.230 s]
[INFO] sernet.verinice.releng.client.product 1.23.1-SNAPSHOT FAILURE [ 39.681 s]
[INFO] sernet.verinice.releng.server.product 1.23.1-SNAPSHOT SKIPPED
[INFO] sernet.verinice.bp.importer 1.0.0-SNAPSHOT … SKIPPED
[INFO] sernet.gs.server.tests 1.23.1-SNAPSHOT … SKIPPED
[INFO] sernet.gs.service.tests 1.23.1-SNAPSHOT … SKIPPED
[INFO] sernet.gs.ui.rcp.main.tests 1.23.1-SNAPSHOT … SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:29 min
[INFO] Finished at: 2022-05-04T11:53:20+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:2.4.0:materialize-products (create-product-distributions) on project sernet.verinice.releng.client.product: Installation of product sernet.verinice.releng.client for environment linux/gtk/x86_64 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/targetPlatformRepository/, -artifactRepository, file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/resolution-context-artifacts@%252FUsers%252Fdennisfleischmann%252FDropbox%252FDev%252Fverinice%252Fsernet.verinice.releng.client.product,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/bouncycastle/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/gnumail/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/jbpm/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/org.eclipse.e4.rcp.sernet/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.birt.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.datatools.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.eclipse.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.db.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.ehcache.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.hibernate.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.log4j.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.pax_web.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.reveng/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.server/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.hui.common/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.report.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.samt.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.oda.driver/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.fei.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.ui.rcp.main/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.server.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.springweb.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.hui.swtclient/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.springclient/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.localdependencies/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.fei.rcp/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.samt.rcp/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.desktop.integration/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.rcp.ui.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.thirdparty.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.app.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_linux_64/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.lang.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.kerberos/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_win_64/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/waffle/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_macos_64/target/,file:/Users/dennisfleischmann/.m2/repository/, -installIU, sernet.verinice.releng.client, -destination, /Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/products/sernet.verinice.releng.client/linux/gtk/x86_64/verinice, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64]. → [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:2.4.0:materialize-products (create-product-distributions) on project sernet.verinice.releng.client.product: Installation of product sernet.verinice.releng.client for environment linux/gtk/x86_64 failed
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.apache.maven.plugin.MojoFailureException: Installation of product sernet.verinice.releng.client for environment linux/gtk/x86_64 failed
at org.eclipse.tycho.plugins.p2.director.DirectorMojo.execute (DirectorMojo.java:148)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
Caused by: org.eclipse.tycho.p2.tools.director.shared.DirectorCommandException: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/targetPlatformRepository/, -artifactRepository, file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/resolution-context-artifacts@%252FUsers%252Fdennisfleischmann%252FDropbox%252FDev%252Fverinice%252Fsernet.verinice.releng.client.product,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/bouncycastle/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/gnumail/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/jbpm/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/org.eclipse.e4.rcp.sernet/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.birt.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.datatools.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.eclipse.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.db.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.ehcache.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.hibernate.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.log4j.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.pax_web.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.reveng/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.server/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.hui.common/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.report.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.samt.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.oda.driver/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.fei.service/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.ui.rcp.main/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.server.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.gs.springweb.fragment/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.hui.swtclient/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.springclient/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.localdependencies/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.fei.rcp/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.samt.rcp/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.desktop.integration/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.rcp.ui.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.thirdparty.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.app.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_linux_64/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.lang.feature/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.kerberos/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_win_64/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/waffle/target/,file:/Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.extraresources.jre_macos_64/target/,file:/Users/dennisfleischmann/.m2/repository/, -installIU, sernet.verinice.releng.client, -destination, /Users/dennisfleischmann/Dropbox/Dev/verinice/sernet.verinice.releng.client.product/target/products/sernet.verinice.releng.client/linux/gtk/x86_64/verinice, -profile, DefaultProfile, -profileProperties, org.eclipse.update.install.features=true, -roaming, -p2.os, linux, -p2.ws, gtk, -p2.arch, x86_64].
at org.eclipse.tycho.p2.tools.director.DirectorApplicationWrapper$DirectorApplicationWrapperCommand.execute (DirectorApplicationWrapper.java:50)
at org.eclipse.tycho.plugins.p2.director.DirectorMojo.execute (DirectorMojo.java:145)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:78)
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:567)
at org.apache.maven.wrapper.BootstrapMainStarter.start (BootstrapMainStarter.java:39)
at org.apache.maven.wrapper.WrapperExecutor.execute (WrapperExecutor.java:122)
at org.apache.maven.wrapper.MavenWrapperMain.main (MavenWrapperMain.java:61)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] MojoFailureException - Apache Maven - Apache Software Foundation
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :sernet.verinice.releng.client.product

Die blocked Maven Repositories habe ich bereits erfolgreich gefixt.

1 Like

Also ich habe gerade mit 1.24 auf die schnelle mal einen git pull gemacht, mein .m2 gelöscht und

./mvnw -Dtycho.disableP2Mirrors=true -DskipTests clean verify

leider nicht erfolgreich

[INFO] sernet.verinice.app.feature 1.24.0-SNAPSHOT ........ SUCCESS [  0.086 s]
[INFO] sernet.verinice.releng.client.product 1.24.0-SNAPSHOT FAILURE [01:01 min]
[INFO] sernet.verinice.releng.server.product 1.24.0-SNAPSHOT SKIPPED
[INFO] sernet.gs.server.tests 1.24.0-SNAPSHOT ............. SKIPPED
[INFO] sernet.gs.service.tests 1.24.0-SNAPSHOT ............ SKIPPED
[INFO] sernet.gs.ui.rcp.main.tests 1.24.0-SNAPSHOT ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  06:40 min
[INFO] Finished at: 2022-05-20T15:39:04+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:2.7.3:materialize-products (create-product-distributions) on project sernet.verinice.releng.client.product: Installation of product sernet.verinice.releng.client for environment linux/gtk/x86_64 failed: Call to p2 director application failed with exit code 13. Program arguments were: [-metadataRepository, file:/home/hbauer/verinice-git-repo/sernet.verinice.releng.client.product/target/,file:/home/hbauer/verinice-git-repo/sernet.verinice.releng.client.product/target/targetPlatformRepository/, -artifactRepository, file:/home/hbauer/verinice-git-repo/sernet.verinice.releng.client.product/target/,file:/resolution-context-artifacts@%252Fhome%252Fhbauer%252Fverinice-git-repo%252Fsernet.verinice.releng.client.product,file:/home/hbauer/verinice-git-repo/jbp

Könnte jemand aus dem Dev Team bitte kurz bestätigen das der Build auf einem neutralen PC kompiliert werden kann.

Ich verstehe das man nicht erwarten kann für eine Opensource Software an die Hand genommen zu werden und einen individuellen persönlichen Compilierungssupport zu bekommen.

Aber ich habe selten so viele Probleme ein Stück Opensource Software zu erstellen wie mit Verinice. Und das wiederholt mit unterschiedlichen Versionen von Verinice.

Gruß
Hagen Bauer

Gibt es überhaupt jemanden der die aktuelle Version kompiliert bekommt und wenn ja in welcher Umgebung?

Bei mir schlägt das Kompillieren hier fehl:
[INFO] sernet.gs.ui.rcp.main 1.24.1-SNAPSHOT .............. FAILURE [ 17.328 s]

Mit Verinice 1.23 lief die Kompillierung in der gleichen Umgebung ohne weitere Anpassungen erfolgreich durch. Gibt es irgendwelche Parameter, die mit dem aktuellen Repo evtl. angepasst werden müssen?

Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:2.7.3:compile (default-compile) on project sernet.gs.ui.rcp.main: Compilation failure: Compilation failure: 
[ERROR] /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/verinice/rcp/accountgroup/DeleteGroupAction.java:[-1] 
[ERROR] Cannot read the source from /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/verinice/rcp/accountgroup/DeleteGroupAction.java due to internal exception java.io.FileNotFoundException:/opt/verinice/sernet.gs.ui.rcp.main/src/sernet/verinice/rcp/accountgroup/DeleteGroupAction.java (Too many open files)
[ERROR] /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/gs/ui/rcp/main/actions/AssignResponsiblePersonAction.java:[-1] 
[ERROR] Cannot read the source from /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/gs/ui/rcp/main/actions/AssignResponsiblePersonAction.java due to internal exception java.io.FileNotFoundException:/opt/verinice/sernet.gs.ui.rcp.main/src/sernet/verinice/rcp/linktable/ui/combo/ILinkTableOperationType.java (Too many open files)
[ERROR] /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/gs/ui/rcp/main/actions/AssignResponsiblePersonAction.java:[-1] 
[ERROR] Internal compiler error: java.io.FileNotFoundException: /opt/verinice/sernet.gs.ui.rcp.main/src/sernet/gs/ui/rcp/main/actions/AssignResponsiblePersonAction.java (Too many open files) at java.base/java.io.FileInputStream.open0(Native Method)

Der Fehler hat nichts mit Verinice zu tun, sondern lag an der podman/docker Konfiguration. Für interessierte… der Parameter --ulimit nofile=5000:5000 hat beim Container-Bau geholfen:

Beispiel:
sudo podman build --ulimit nofile=5000:5000 --tag verinice:1.241 -f ./Dockerfile

Für die meisten Anwender*innen lohnt es sich nicht, die Ressourcen dafür bereitzustellen, jedes neue verinice Release aus den Quellen zu erstellen, da die Konfiguration des Builds nicht einfach ist. Es ist günstiger, die von SerNet bereitgestellten Pakete zu nutzen und unseren professionellen Support in Anspruch zu nehmen. Den Client für den standalone Betrieb finden Sie in unserem verinice.SHOP. Wenn sie eine Angebot für verinice.PRO wünschen, kontaktieren Sie bitte unseren Vertrieb: Zentraler Applikationsserver | verinice.PRO

hm. Ich gehöre zu den Kunden die in der Vergangenheit erfolgreich die Ressourcen bereitgestellt haben. Jetzt geht es nicht mehr. Für einen Hersteller der vorgibt Opensource zu entwickeln ist das keine gute Antwort.

Warum beantworten Sie meine Frage nicht?

Könnte jemand aus dem Dev Team bitte kurz bestätigen das der Build auf einem neutralen PC mit der bereitgestellten Anleitung kompiliert werden kann?

1 Like

Hi allerseits,
ich hatte den gleichen Fehler. Nachdem ich in verinice-master/pom.xml folgende Zeilen auskommentiert habe, lief der Build durch:

<!--		<module>sernet.verinice.extraresources.jre_macos_64</module>
		<module>sernet.verinice.extraresources.jre_win_64</module>
		<module>sernet.verinice.extraresources.jre_linux_64</module>
-->

Damit werden wohl nur die JVMs in das Paket mit hinzugepackt. Ich kann darauf verzichten, insofern ist alles in Ordnung :slight_smile:

Viele Grüße
Stephan

1 Like