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

Build fails on a tycho-based eclipse project #477

Closed
fbricon opened this issue Sep 13, 2021 · 6 comments
Closed

Build fails on a tycho-based eclipse project #477

fbricon opened this issue Sep 13, 2021 · 6 comments
Milestone

Comments

@fbricon
Copy link

fbricon commented Sep 13, 2021

git clone https://github.com/eclipse/eclipse.jdt.ls

Initial mvnd clean verify -DskipTests build passed, then subsequent builds (no code/pom changes) failed:

❯ mvnd clean verify -DskipTests
[INFO] Processing build on daemon 557f2ff3
[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.product:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/pom.xml
[INFO] Computing target platform for MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.core:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/pom.xml
[INFO] Computing target platform for MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/pom.xml                                   [INFO] Computing target platform for MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests.syntaxserver:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests.syntaxserver:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.core:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.product:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/pom.xml
[INFO] Resolving dependencies of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.core:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.product:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests.syntaxserver:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/pom.xml
[INFO] Resolving class path of MavenProject: org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests:1.4.0-SNAPSHOT @ /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/pom.xml
[INFO] BuildTimeEventSpy is registered.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] JDT Language Server :: Parent                                      [pom]
[INFO] JDT Language Server :: Target Platform       [eclipse-target-definition]
[INFO] JDT Language Server :: Core                             [eclipse-plugin]
[INFO] JDT Language Server :: Tests                       [eclipse-test-plugin]
[INFO] JDT Language Server :: SyntaxServer Tests          [eclipse-test-plugin]
[INFO] JDT Language Server :: Product                      [eclipse-repository]
[INFO]
[INFO] Using the SmartBuilder implementation with a thread count of 11
[INFO] Task segments : [clean, verify]
[INFO] Build maximum degree of concurrency is 11
[INFO] Total number of projects is 6
[INFO]
[INFO] ---------------------< org.eclipse.jdt.ls:parent >----------------------
[INFO] Building JDT Language Server :: Parent 1.4.0-SNAPSHOT              [1/6]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ parent ---
[INFO]
[INFO] --------------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.tp >--------------
[INFO] Building JDT Language Server :: Target Platform 1.4.0-SNAPSHOT     [3/6]
[INFO] ---------------------[ eclipse-target-definition ]----------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.tp ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:package-target-definition (default-package-target-definition) @ org.eclipse.jdt.ls.tp ---
[INFO]
[INFO] -------------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.core >-------------
[INFO] Building JDT Language Server :: Core 1.4.0-SNAPSHOT                [2/6]
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.core ---
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/target
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/lib (includes = [], excludes = [])
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ls.core ---
[INFO] The project's OSGi version is 1.4.0.202109131708
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-id (default-validate-id) @ org.eclipse.jdt.ls.core ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-version (default-validate-version) @ org.eclipse.jdt.ls.core ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy (get-libs) @ org.eclipse.jdt.ls.core ---
[INFO] Configured Artifact: com.kotcrab.remark:remark:1.2.0:jar
[INFO] Configured Artifact: org.jsoup:jsoup:1.9.2:jar
[INFO] Copying remark-1.2.0.jar to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/lib/remark-1.2.0.jar
[INFO] Copying jsoup-1.9.2.jar to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/lib/jsoup-1.9.2.jar
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ org.eclipse.jdt.ls.core ---
[INFO] argLine set to -javaagent:/Users/fbricon/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/../target/jacoco.exec,append=true,includes=org.eclipse.jdt.ls.*,sessionid=org.eclipse.jdt.ls.core
[INFO]
[INFO] --- groovy-maven-plugin:2.1.1:execute (default) @ org.eclipse.jdt.ls.core ---
[INFO] [stdout] Wrote to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/gradle/checksums/versions.json
[INFO] [stdout] Fetching https://services.gradle.org/distributions-snapshots/gradle-7.2-20210909000652+0000-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions-snapshots/gradle-7.3-20210908222613+0000-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.9.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.2-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.2-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.2-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.1.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.1-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.1-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.9-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.9-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.9-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-milestone-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-milestone-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-7.0-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-rc-5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-milestone-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-milestone-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.8-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-rc-5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.7-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-milestone-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.5.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-milestone-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.6-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.5-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.5-milestone-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.5-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.4-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.3-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.3-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.3-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.3-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.2-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-milestone-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-milestone-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.1-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.0.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.0-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.0-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.0-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-6.0-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.6-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5-rc-4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.5-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.4.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.4-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.3.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.3-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.3-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.3-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.2-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1-rc-3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1-rc-2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1-rc-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.10.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.1-milestone-1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-5.0-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.10.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.10.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.10-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.9-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.8.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.8-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.7-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.5.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.4.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.3.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-4.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-3.2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-3.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-3.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-3.0-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.14.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.14-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.13-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.12-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.11-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.10-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.9-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.8-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.7-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-2.0-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.12-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.11-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.10-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.9-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.8-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.7-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.6-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.5-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.4-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.3-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.2-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.1-wrapper.jar.sha256
[INFO] [stdout] Fetching https://services.gradle.org/distributions/gradle-1.0-wrapper.jar.sha256
[INFO] [stdout] Wrote to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/gradle/checksums/checksums.json
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.jdt.ls.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:2.3.0:compile (default-compile) @ org.eclipse.jdt.ls.core ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.jdt.ls.core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/src/test/resources
[INFO]
[INFO] --- tycho-source-plugin:2.3.0:plugin-source (plugin-source) @ org.eclipse.jdt.ls.core ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/target/org.eclipse.jdt.ls.core-1.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- target-platform-configuration:2.3.0:target-platform (default-target-platform) @ org.eclipse.jdt.ls.core ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ls.core ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.core/target/org.eclipse.jdt.ls.core-1.4.0-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ls.core ---
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata (p2-metadata) @ org.eclipse.jdt.ls.core ---
[INFO]
[INFO] ------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests.syntaxserver >------
[INFO] Building JDT Language Server :: SyntaxServer Tests 1.4.0-SNAPSHOT  [5/6]
[INFO] ------------------------[ eclipse-test-plugin ]-------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/target
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] The project's OSGi version is 1.4.0.202109131708
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-id (default-validate-id) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-version (default-validate-version) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] tycho.testArgLine set to -javaagent:/Users/fbricon/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/../target/jacoco.exec,append=true,includes=org.eclipse.jdt.ls.*,sessionid=org.eclipse.jdt.ls.tests.syntaxserver
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:2.3.0:compile (default-compile) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Compiling 4 source files to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/src/test/resources
[INFO]
[INFO] --- tycho-source-plugin:2.3.0:plugin-source (plugin-source) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/target/org.eclipse.jdt.ls.tests.syntaxserver-1.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- target-platform-configuration:2.3.0:target-platform (default-target-platform) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests.syntaxserver/target/org.eclipse.jdt.ls.tests.syntaxserver-1.4.0-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata (p2-metadata) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO]
[INFO] --- tycho-surefire-plugin:2.3.0:test (default-test) @ org.eclipse.jdt.ls.tests.syntaxserver ---
[INFO] Skipping tests
[INFO]
[INFO] -----------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.product >------------
[INFO] Building JDT Language Server :: Product 1.4.0-SNAPSHOT             [6/6]
[INFO] -------------------------[ eclipse-repository ]-------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.product ---
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.jdt.ls.product ---
[INFO] The project's OSGi version is 1.4.0.202109131708
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean-1) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/src/main/resources
[INFO]
[INFO] --- target-platform-configuration:2.3.0:target-platform (default-target-platform) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee (default-publish-osgi-ee) @ org.eclipse.jdt.ls.product ---
[INFO] Published profile IUs: [config.a.jre.javase 11.0.0, a.jre.javase 11.0.0]
[INFO] Published profile IUs: [config.a.jre.javase 15.0.0, a.jre.javase 15.0.0]
[INFO] Published profile IUs: [config.a.jre.javase 16.0.0, a.jre.javase 16.0.0]
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-products (default-publish-products) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-categories (default-publish-categories) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:attach-artifacts (default-attach-artifacts) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:2.3.0:assemble-repository (default-assemble-repository) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] ------------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.tests >-------------
[INFO] Building JDT Language Server :: Tests 1.4.0-SNAPSHOT               [4/6]
[INFO] ------------------------[ eclipse-test-plugin ]-------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.tests ---
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/lib (includes = [], excludes = [])
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier (default-build-qualifier) @ org.eclipse.jdt.ls.tests ---
[INFO] The project's OSGi version is 1.4.0.202109131708
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-id (default-validate-id) @ org.eclipse.jdt.ls.tests ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:validate-version (default-validate-version) @ org.eclipse.jdt.ls.tests ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:copy (get-libs) @ org.eclipse.jdt.ls.tests ---
[INFO] Configured Artifact: org.projectlombok:lombok:1.18.20:jar
[INFO] Copying lombok-1.18.20.jar to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/lib/lombok-1.18.20.jar
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.5:prepare-agent (default) @ org.eclipse.jdt.ls.tests ---
[INFO] tycho.testArgLine set to -javaagent:/Users/fbricon/.m2/repository/org/jacoco/org.jacoco.agent/0.8.5/org.jacoco.agent-0.8.5-runtime.jar=destfile=/Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/../target/jacoco.exec,append=true,includes=org.eclipse.jdt.ls.*,sessionid=org.eclipse.jdt.ls.tests
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ org.eclipse.jdt.ls.tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/src/main/resources
[INFO]
[INFO] --- tycho-compiler-plugin:2.3.0:compile (default-compile) @ org.eclipse.jdt.ls.tests ---
[INFO] Compiling 172 source files to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ org.eclipse.jdt.ls.tests ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/src/test/resources
[INFO]
[INFO] --- tycho-source-plugin:2.3.0:plugin-source (plugin-source) @ org.eclipse.jdt.ls.tests ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/org.eclipse.jdt.ls.tests-1.4.0-SNAPSHOT-sources.jar
[INFO]
[INFO] --- target-platform-configuration:2.3.0:target-platform (default-target-platform) @ org.eclipse.jdt.ls.tests ---
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:package-plugin (default-package-plugin) @ org.eclipse.jdt.ls.tests ---
[INFO] Building jar: /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.tests/target/org.eclipse.jdt.ls.tests-1.4.0-SNAPSHOT.jar
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.jdt.ls.tests ---
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata (p2-metadata) @ org.eclipse.jdt.ls.tests ---
[INFO]
[INFO] --- tycho-surefire-plugin:2.3.0:test (default-test) @ org.eclipse.jdt.ls.tests ---
[INFO] Skipping tests
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JDT Language Server :: Parent 1.4.0-SNAPSHOT:
[INFO]
[INFO] JDT Language Server :: Parent ...................... SUCCESS [  0.002 s]
[INFO] JDT Language Server :: Target Platform ............. SUCCESS [  0.003 s]
[INFO] JDT Language Server :: Core ........................ SUCCESS [ 10.471 s]
[INFO] JDT Language Server :: Tests ....................... SUCCESS [  9.907 s]
[INFO] JDT Language Server :: SyntaxServer Tests .......... SUCCESS [  1.256 s]
[INFO] JDT Language Server :: Product ..................... FAILURE [  2.426 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  20.703 s (Wall Clock)
[INFO] Finished at: 2021-09-13T19:08:29+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:2.3.0:assemble-repository (default-assemble-repository) on project org.eclipse.jdt.ls.product: Could not assemble p2 repository: Mirroring failed: No repository found at file:/Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/. -> [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 <args> -r

A working build of org.eclipse.jdt.ls.product looks like:

[INFO] -----------< org.eclipse.jdt.ls:org.eclipse.jdt.ls.product >------------
[INFO] Building JDT Language Server :: Product 1.4.0-SNAPSHOT             [6/6]
[INFO] -------------------------[ eclipse-repository ]-------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ org.eclipse.jdt.ls.product ---
[INFO] Deleting /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target
[INFO]
[INFO] --- tycho-packaging-plugin:2.3.0:build-qualifier-aggregator (default-build-qualifier-aggregator) @ org.eclipse.jdt.ls.product ---
[INFO] The project's OSGi version is 1.4.0.202109131717
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean-1) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/src/main/resources
[INFO]
[INFO] --- target-platform-configuration:2.3.0:target-platform (default-target-platform) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-osgi-ee (default-publish-osgi-ee) @ org.eclipse.jdt.ls.product ---
[INFO] Published profile IUs: [config.a.jre.javase 11.0.0, a.jre.javase 11.0.0]
[WARNING] No system packages found in profile nor toolchain for JavaSE-15, using current JRE system packages.
This can cause faulty dependency resolution, consider adding a definition for a 'jdk' with id=JavaSE-15 in your toolchains.xml
[INFO] Published profile IUs: [config.a.jre.javase 15.0.0, a.jre.javase 15.0.0]
[INFO] Published profile IUs: [config.a.jre.javase 16.0.0, a.jre.javase 16.0.0]
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-products (default-publish-products) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:publish-categories (default-publish-categories) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:2.3.0:attach-artifacts (default-attach-artifacts) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:2.3.0:assemble-repository (default-assemble-repository) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:2.3.0:archive-repository (default-archive-repository) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-repository-plugin:2.3.0:archive-repository (default) @ org.eclipse.jdt.ls.product ---
[INFO]
[INFO] --- tycho-p2-director-plugin:2.3.0:materialize-products (create-distributions) @ org.eclipse.jdt.ls.product ---
[INFO] Installing product languageServer.product for environment linux/gtk/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/languageServer.product/linux/gtk/x86_64
Installing languageServer.product 1.0.0.
Operation completed in 3666 ms.
[INFO] Installing product languageServer.product for environment win32/win32/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/languageServer.product/win32/win32/x86_64
Installing languageServer.product 1.0.0.
Operation completed in 2690 ms.
[INFO] Installing product languageServer.product for environment macosx/cocoa/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/languageServer.product/macosx/cocoa/x86_64/Eclipse.app
Installing languageServer.product 1.0.0.
Operation completed in 2215 ms.
[INFO] Installing product syntaxServer.product for environment linux/gtk/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/syntaxServer.product/linux/gtk/x86_64
Installing syntaxServer.product 1.0.0.
Operation completed in 1639 ms.
[INFO] Installing product syntaxServer.product for environment win32/win32/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/syntaxServer.product/win32/win32/x86_64
Installing syntaxServer.product 1.0.0.
Operation completed in 1140 ms.
[INFO] Installing product syntaxServer.product for environment macosx/cocoa/x86_64 to /Users/fbricon/Dev/projects/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/products/syntaxServer.product/macosx/cocoa/x86_64/Eclipse.app
Installing syntaxServer.product 1.0.0.
Operation completed in 1378 ms.
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-mac) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-win) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-linux) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-mac-slim) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-win-slim) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:copy-resources (copy-config-linux-slim) @ org.eclipse.jdt.ls.product ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- tycho-p2-plugin:2.3.0:p2-metadata (p2-metadata) @ org.eclipse.jdt.ls.product ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for JDT Language Server :: Parent 1.4.0-SNAPSHOT:
[INFO]
[INFO] JDT Language Server :: Parent ...................... SUCCESS [  0.092 s]
[INFO] JDT Language Server :: Target Platform ............. SUCCESS [  0.134 s]
[INFO] JDT Language Server :: Core ........................ SUCCESS [ 14.217 s]
[INFO] JDT Language Server :: Tests ....................... SUCCESS [  8.125 s]
[INFO] JDT Language Server :: SyntaxServer Tests .......... SUCCESS [  0.470 s]
[INFO] JDT Language Server :: Product ..................... SUCCESS [ 24.557 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:01 min
[INFO] Finished at: 2021-09-13T19:18:42+02:00
[INFO] ------------------------------------------------------------------------

It feels like the concurrent build might be trying to build org.eclipse.jdt.ls.product before its dependencies are done, as it should be built last in a sequential build.

@ppalaga
Copy link
Contributor

ppalaga commented Sep 14, 2021

If product starts building before some of its undeclared dependencies are built, you can try one the following:

A. Sequential build with mvnd clean verify -DskipTests -1. You can add mvnd.serial = true to your ~/.m2/mvnd.properties to store this pref permanently

B. Make the dependencies explicit using a pom test scope pom, excluding all transitives. There is an example in Camel Quarkus: https://github.com/apache/camel-quarkus/blob/main/catalog/pom.xml#L67-L80
This blog post is related: https://peter.palaga.org/2021/01/12/mvnd-solving-common-issues-of-parallel-builds.html

@gnodet
Copy link
Contributor

gnodet commented Sep 14, 2021

The build also fails when running sequentially with mvnd. The problem seems to be the fact that tycho is a maven extension, and has some conflicts with the mvnd works.
The underlying reason is that tycho starts an embedded equinox OSGi runtime (which is a static singleton, so at most one instance per classloader). Given those classes are loaded from the root maven container (because of being an extension), and because mvnd does not dispose the root container (in order to reuse it for speed), the Osgi runtime is never destroyed / recreated. This maintains the whole OSGi services in memory without any way to shut them down at the moment.
The fact that those services are kept in memory is not a problem in itself, but it seems P2 does not support reloading the same repositories. I don't know P2 much, so I haven't yet dig into the details.

@gnodet
Copy link
Contributor

gnodet commented Sep 14, 2021

One solution should be to use the new mvnd.pluginRealmEvictPattern pattern to exclude tycho. Unfortunately, only standard plugins are supported, so I'll fix the usage of this property to also evict extension realms. This should work as a workaround.

@gnodet
Copy link
Contributor

gnodet commented Sep 14, 2021

The following patch seems to work around the problem: #478

@ppalaga
Copy link
Contributor

ppalaga commented Sep 15, 2021

Yeah, the workaround is useful. In any case, wouldn't it be worth reporting on Tycho to have a proper fix there?

@gnodet
Copy link
Contributor

gnodet commented Sep 15, 2021

@ppalaga I did it yesterday eclipse-tycho/tycho#266

@ppalaga ppalaga added this to the 0.7.0 milestone Oct 26, 2021
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

No branches or pull requests

3 participants