Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xtext does no longer build with the Tycho 2.4 release candidate #179

Closed
cdietrich opened this issue Jul 9, 2021 · 26 comments · Fixed by #182
Closed

Xtext does no longer build with the Tycho 2.4 release candidate #179

cdietrich opened this issue Jul 9, 2021 · 26 comments · Fixed by #182
Milestone

Comments

@cdietrich
Copy link
Contributor

Xtext does no longer build with the Tycho 2.4 release canidate

https://ci.eclipse.org/xtext/job/xtext-eclipse/job/cd_testTycho24/3/console

13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee (default-publish-osgi-ee) on project org.eclipse.xtext.p2-repository: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: Tycho build extension not configured for MavenProject: org.eclipse.xtext:org.eclipse.xtext.p2-repository:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/releng/org.eclipse.xtext.p2-repository/pom.xml -> [Help 1]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.logging: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.logging:1.2.15-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.logging/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.activities: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.activities:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.activities/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.builder: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.builder:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.builder/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.buildship: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.buildship:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.buildship/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.codemining: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.codemining:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.codemining/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.common.types.eclipse.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.common.types.eclipse.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.common.types.eclipse.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.common.types.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.common.types.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.common.types.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.common.types.edit: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.common.types.edit:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.common.types.edit/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.common.types.shared: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.common.types.shared:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.common.types.shared/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.common.types.shared.jdt38: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.common.types.shared.jdt38:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.common.types.shared.jdt38/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.m2e: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.m2e:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.m2e/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.shared: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.shared:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.shared/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xbase.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xbase.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xbase.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.codetemplates: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.codetemplates:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.codetemplates/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.codetemplates.ide: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.codetemplates.ide:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.codetemplates.ide/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.codetemplates.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.codetemplates.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.codetemplates.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.ecore: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.ecore:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.ecore/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.junit4: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.junit4:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.junit4/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.testing: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.testing:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.testing/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xbase.junit: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xbase.junit:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xbase.junit/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xtext.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xtext.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xtext.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xtext.ui.graph: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xtext.ui.graph:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xtext.ui.graph/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.purexbase.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.purexbase.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.purexbase.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.doc: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.doc:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.doc/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xtext.ui.examples: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xtext.ui.examples:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xtext.ui.examples/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.builder.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.builder.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.builder.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.junit4.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.junit4.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.junit4.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.codetemplates.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.codetemplates.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.codetemplates.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.eclipse.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.eclipse.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.eclipse.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.ui.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.ui.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.ui.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.testlanguages.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.testlanguages.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.testlanguages.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xbase.testlanguages.ui: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xbase.testlanguages.ui:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xbase.testlanguages.ui/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xbase.ui.testing: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xbase.ui.testing:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xbase.ui.testing/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xbase.ui.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xbase.ui.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xbase.ui.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xtext.ui.graph.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xtext.ui.graph.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xtext.ui.graph.tests/pom.xml -> [Help 2]
13:03:11  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier (default-build-qualifier) on project org.eclipse.xtext.xtext.ui.tests: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.xtext.ui.tests:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/xtext-eclipse_cd_testTycho24/org.eclipse.xtext.xtext.ui.tests/pom.xml -> [Help 2]

when i last tested the snapshot 10 days ago it still was working
https://ci.eclipse.org/xtext/job/xtext-eclipse/job/cd_testTycho23/22/consoleFull

@cdietrich
Copy link
Contributor Author

@cdietrich
Copy link
Contributor Author

unfortunately i still have to find out how to minimize this
to have something reproducible.

@laeubi
Copy link
Member

laeubi commented Jul 9, 2021

Can you run a (local) Debug build with -X to see if a stacktrace is provided?

@cdietrich
Copy link
Contributor Author

created a minimalized xtext-eclipse build on branch (am not sure if i did this correct)
https://github.com/eclipse/xtext-eclipse/tree/cd_testTycho24minimized
https://ci.eclipse.org/xtext/job/xtext-eclipse/job/cd_testTycho24minimized/4/console
with -X

the stacktrace is

13:30:01  [ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee (default-publish-osgi-ee) on project org.eclipse.xtext.p2-repository: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: Tycho build extension not configured for MavenProject: org.eclipse.xtext:org.eclipse.xtext.p2-repository:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/_eclipse_cd_testTycho24minimized/releng/org.eclipse.xtext.p2-repository/pom.xml -> [Help 1]
13:30:01  org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:2.4.0:publish-osgi-ee (default-publish-osgi-ee) on project org.eclipse.xtext.p2-repository: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
13:30:01      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
13:30:01      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
13:30:01      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
13:30:01      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
13:30:01      at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
13:30:01      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
13:30:01      at java.lang.reflect.Method.invoke (Method.java:566)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
13:30:01  Caused by: org.apache.maven.plugin.MojoFailureException: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution
13:30:01      at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute (AbstractPublishMojo.java:45)
13:30:01      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
13:30:01      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
13:30:01      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
13:30:01      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
13:30:01      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
13:30:01      at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
13:30:01      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
13:30:01      at java.lang.reflect.Method.invoke (Method.java:566)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
13:30:01  Caused by: java.lang.IllegalStateException: Tycho build extension not configured for MavenProject: org.eclipse.xtext:org.eclipse.xtext.p2-repository:2.26.0-SNAPSHOT @ /home/jenkins/agent/workspace/_eclipse_cd_testTycho24minimized/releng/org.eclipse.xtext.p2-repository/pom.xml
13:30:01      at org.eclipse.tycho.core.utils.TychoProjectUtils.getTargetPlatformConfiguration (TychoProjectUtils.java:59)
13:30:01      at org.eclipse.tycho.core.maven.AbstractP2Mojo.getEnvironments (AbstractP2Mojo.java:60)
13:30:01      at org.eclipse.tycho.plugins.p2.publisher.PublishOsgiEEMojo.publishContent (PublishOsgiEEMojo.java:73)
13:30:01      at org.eclipse.tycho.plugins.p2.publisher.AbstractPublishMojo.execute (AbstractPublishMojo.java:42)
13:30:01      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
13:30:01      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
13:30:01      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
13:30:01      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
13:30:01      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
13:30:01      at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
13:30:01      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
13:30:01      at java.lang.reflect.Method.invoke (Method.java:566)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
13:30:01  

@cdietrich
Copy link
Contributor Author

cdietrich commented Jul 9, 2021

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-build-qualifier of goal org.eclipse.tycho:tycho-packaging-plugin:2.4.0:build-qualifier failed: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.logging:1.2.15-SNAPSHOT @ /home/jenkins/agent/workspace/_eclipse_cd_testTycho24minimized/org.eclipse.xtext.logging/pom.xml
13:30:01      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
13:30:01      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
13:30:01      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
13:30:01      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
13:30:01      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
13:30:01      at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
13:30:01      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
13:30:01      at java.lang.reflect.Method.invoke (Method.java:566)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
13:30:01  Caused by: java.lang.IllegalStateException: Project has not been setup yet MavenProject: org.eclipse.xtext:org.eclipse.xtext.logging:1.2.15-SNAPSHOT @ /home/jenkins/agent/workspace/_eclipse_cd_testTycho24minimized/org.eclipse.xtext.logging/pom.xml
13:30:01      at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getArtifactKey (OsgiBundleProject.java:165)
13:30:01      at org.eclipse.tycho.buildversion.AbstractVersionMojo.getOSGiArtifact (AbstractVersionMojo.java:51)
13:30:01      at org.eclipse.tycho.buildversion.AbstractVersionMojo.getOSGiVersion (AbstractVersionMojo.java:37)
13:30:01      at org.eclipse.tycho.buildversion.BuildQualifierMojo.getParsedOSGiVersion (BuildQualifierMojo.java:177)
13:30:01      at org.eclipse.tycho.buildversion.BuildQualifierMojo.calculateQualifiedVersion (BuildQualifierMojo.java:149)
13:30:01      at org.eclipse.tycho.buildversion.BuildQualifierMojo.execute (BuildQualifierMojo.java:139)
13:30:01      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
13:30:01      at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
13:30:01      at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
13:30:01      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
13:30:01      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
13:30:01      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
13:30:01      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
13:30:01      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
13:30:01      at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
13:30:01      at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
13:30:01      at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
13:30:01      at java.lang.reflect.Method.invoke (Method.java:566)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
13:30:01      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
13:30:01  [ERROR] 

@cdietrich
Copy link
Contributor Author

cdietrich commented Jul 9, 2021

will also try to reproduce locally.
please note: our builds use maven 3.8 maybe it is related to that

update: server shows problem also with 3.6
i cannot reproduce locally yet though.need to check the parameters we invoke maven with

@cdietrich
Copy link
Contributor Author

looks like it depends on the parameters maven is called with
will have to do some intervals

@laeubi
Copy link
Member

laeubi commented Jul 9, 2021

@HannesWell maybe this is related to #166

@cdietrich
Copy link
Contributor Author

cdietrich commented Jul 9, 2021

do you know if the settings xmls the eclipse cbi has floating around can be seen somewhere
we pass
-s /home/jenkins/.m2/settings.xml in the build.
if i remove it, then it looks better

update: not really :(
debugging this shit on jenkins is terrible

@cdietrich
Copy link
Contributor Author

cdietrich commented Jul 9, 2021

ok. looks like we call maven without any goals
this seemed to have worked fine so far, but no longer does

@mickaelistria
Copy link
Contributor

your pom sets a defaultGoal and that's expected to work. It's indeed a regression from #116 .

@cdietrich
Copy link
Contributor Author

cdietrich commented Jul 9, 2021

indeed. with explicit goals it works. with the default it fails.

number is #166

@cdietrich cdietrich changed the title Xtext does no longer build with the Tycho 2.4 release canidate Xtext does no longer build with the Tycho 2.4 release candidate Jul 9, 2021
@HannesWell
Copy link
Member

HannesWell commented Jul 9, 2021

@HannesWell maybe this is related to #166

ok. looks like we call maven without any goals
this seemed to have worked fine so far, but no longer does

I think it is the change in TychoMavenLifecycleParticipant.java in PR #172 that caused the problem. An empty list of goals is fully contained in the Set of all clean goals. So Tycho falsly detects a 'clean_only build.
An additional criteria should be that there is at least one goal defined.

A symptom of this bug should be that the Target-Platform resolution is skipped.

@HannesWell
Copy link
Member

Should I create a fix?

@mickaelistria
Copy link
Contributor

Should I create a fix?

Yes please.
Question is whether this is worth stopping the 2.4.0 release? (ie half a day of work for me)

@laeubi
Copy link
Member

laeubi commented Jul 9, 2021

@mickaelistria as discussed on the mailinglist might the alternative (do not having a staging but just a second snapshot build) be less work? We might then just proceed with the new release-process instead?

HannesWell added a commit to HannesWell/tycho that referenced this issue Jul 9, 2021
…ion from eclipse-tycho#166)

If default goals are used Maven can be invoked without specifying goals
explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant
false detected a clean-only build and skipped dependency/target-platform
resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the
described case.

Change-Id: I68b7abf61835665a648a0bc006153c4631b56ff8
Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
HannesWell added a commit to HannesWell/tycho that referenced this issue Jul 9, 2021
…ion from eclipse-tycho#166)

If default goals are used Maven can be invoked without specifying goals
explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant
false detected a clean-only build and skipped dependency/target-platform
resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the
described case.
@mickaelistria
Copy link
Contributor

as discussed on the mailinglist might the alternative (do not having a staging but just a second snapshot build) be less work? We might then just proceed with the new release-process instead?

Yes, it would be, but for this release, we've already started a release process that involve staging. So I think it's better to stick with it for this release.

mickaelistria pushed a commit that referenced this issue Jul 9, 2021
If default goals are used Maven can be invoked without specifying goals
explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant
false detected a clean-only build and skipped dependency/target-platform
resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the
described case.
@mickaelistria
Copy link
Contributor

@cdietrich your call: do you need it fixed badly for 2.4 or are you fine with explicitly setting the goal until 2.5 ?

@cdietrich
Copy link
Contributor Author

i guess it depends on the 2.5 timeline.
but there might be also more affected
https://github.com/search?l=&q=defaultGoal+tycho+filename%3Apom.xml&type=code

unfortunately i dont know if a similar search is possible for git.eclipse.org/r

mickaelistria pushed a commit that referenced this issue Jul 13, 2021
If default goals are used Maven can be invoked without specifying goals
explicitly in the command, so the List of goals is empty.

This had the consequence, that the AbstractMavenLifecycleParticipant
false detected a clean-only build and skipped dependency/target-platform
resolution, which lead to follow up errors.

The logic to detect 'clean-only' builds is improved to consider the
described case.
@laeubi
Copy link
Member

laeubi commented Jul 14, 2021

@cdietrich I wonder if it would be an option for xtext to always build against (or with a separate nightly build) against the current tycho-snapshot? It seems your builds cover some cases that would be good to know about early.

@cdietrich
Copy link
Contributor Author

i know to less about jenkins files on how to set a nightly or weekly trigger and have the branch up to date
https://github.com/eclipse/xtext-eclipse/blob/cd_testTycho25/Jenkinsfile
i guess changing the trigger can be done in the tigger section, but
i would have to rebase the branch regulary anyway

@laeubi
Copy link
Member

laeubi commented Jul 14, 2021

You can find some hints here, the most declarative and easy would be to use @midnight for a nightly build, I think jenkins should support any of these.

@cdietrich
Copy link
Contributor Author

ill give it a try.

@cdietrich
Copy link
Contributor Author

ok, looks like we now have a eveningly build with tycho 2.5.0-SNAPSHOT for xtext-eclipse and xtext-xtend in place now

@mickaelistria mickaelistria added this to the 2.4 milestone Jul 19, 2021
@mickaelistria
Copy link
Contributor

Please try https://oss.sonatype.org/content/repositories/orgeclipsetycho-1068 as new staging repo for 2.4 release, which should include the fix. I hope to release it tomorrow afternoon unless issue is not resolved or other blockers are found.

@cdietrich
Copy link
Contributor Author

build works fine with the new RC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants