-
Notifications
You must be signed in to change notification settings - Fork 185
Closed
Description
I tried to build/install java-debug, but got this error output:
$ ./mvnw clean install
[INFO] Scanning for projects...
[INFO] Tycho Version: 4.0.6 (9942454590ad8a6e1c9aa907852cf017dc2ccb98)
[INFO] Tycho Mode: project
[INFO] Tycho Builder: maven
[INFO] Build Threads: 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Java Debug Server for Visual Studio Code :: Parent [pom]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Core [jar]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Plugin [eclipse-plugin]
[INFO] Java Debug Server for Visual Studio Code :: P2 Update site [eclipse-repository]
[INFO] Java Debug Server for Visual Studio Code :: Target Platform [eclipse-target-definition]
[INFO]
[INFO] ----------------< com.microsoft.java:java-debug-parent >----------------
[INFO] Building Java Debug Server for Visual Studio Code :: Parent 0.53.0 [1/5]
[INFO] from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ java-debug-parent ---
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ java-debug-parent ---
[INFO] Installing /Users/nathanael.schweers/opt/java-debug/pom.xml to /Users/nathanael.schweers/.m2/repository/com/microsoft/java/java-debug-parent/0.53.0/java-debug-parent-0.53.0.pom
[INFO]
[INFO] ----------< com.microsoft.java:com.microsoft.java.debug.core >----------
[INFO] Building Java Debug Server for Visual Studio Code :: Debugger Core 0.53.0 [2/5]
[INFO] from com.microsoft.java.debug.core/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ com.microsoft.java.debug.core ---
[INFO] Deleting /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ com.microsoft.java.debug.core ---
[INFO] skip non existing resourceDirectory /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/main/resources
[INFO]
[INFO] --- compiler:3.7.0:compile (default-compile) @ com.microsoft.java.debug.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 130 source files to /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target/classes
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/EvaluatableBreakpoint.java: Some input files use or override a deprecated API.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/EvaluatableBreakpoint.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/ExceptionInfoRequestHandler.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/main/java/com/microsoft/java/debug/core/adapter/handler/ExceptionInfoRequestHandler.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ com.microsoft.java.debug.core ---
[INFO] skip non existing resourceDirectory /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/resources
[INFO]
[INFO] --- compiler:3.7.0:testCompile (default-testCompile) @ com.microsoft.java.debug.core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 18 source files to /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target/test-classes
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java: /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java uses or overrides a deprecated API.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/CompileUtils.java: Recompile with -Xlint:deprecation for details.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/adapter/ProviderContextTest.java: Some input files use unchecked or unsafe operations.
[INFO] /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/src/test/java/com/microsoft/java/debug/core/adapter/ProviderContextTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ com.microsoft.java.debug.core ---
[INFO] Using auto detected provider org.apache.maven.surefire.junit4.JUnit4Provider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ClassObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.451 s -- in com.microsoft.java.debug.core.adapter.formatter.ClassObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.CharacterFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 s -- in com.microsoft.java.debug.core.adapter.formatter.CharacterFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.TypeIdentifiersTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in com.microsoft.java.debug.core.adapter.formatter.TypeIdentifiersTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.SimpleTypeFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in com.microsoft.java.debug.core.adapter.formatter.SimpleTypeFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.062 s -- in com.microsoft.java.debug.core.adapter.formatter.ObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.ArrayObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s -- in com.microsoft.java.debug.core.adapter.formatter.ArrayObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.StringObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 s -- in com.microsoft.java.debug.core.adapter.formatter.StringObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 s -- in com.microsoft.java.debug.core.adapter.formatter.NumericFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.NullObjectFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 s -- in com.microsoft.java.debug.core.adapter.formatter.NullObjectFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.formatter.BooleanFormatterTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 s -- in com.microsoft.java.debug.core.adapter.formatter.BooleanFormatterTest
[INFO] Running com.microsoft.java.debug.core.adapter.LRUCacheTest
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.697 s -- in com.microsoft.java.debug.core.adapter.LRUCacheTest
[INFO] Running com.microsoft.java.debug.core.adapter.ProviderContextTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s -- in com.microsoft.java.debug.core.adapter.ProviderContextTest
[INFO] Running com.microsoft.java.debug.core.adapter.variables.VariableUtilsTest
Breakpoint is accepted.
Breakpoint is hit.
Shutdown debug session.
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.054 s -- in com.microsoft.java.debug.core.adapter.variables.VariableUtilsTest
[INFO] Running com.microsoft.java.debug.core.BreakpointTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s -- in com.microsoft.java.debug.core.BreakpointTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 48, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jar:3.3.0:jar (default-jar) @ com.microsoft.java.debug.core ---
[INFO] Building jar: /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target/com.microsoft.java.debug.core-0.53.0.jar
[INFO]
[INFO] --- failsafe:2.15:integration-test (integration-tests) @ com.microsoft.java.debug.core ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] --- failsafe:2.15:verify (integration-tests) @ com.microsoft.java.debug.core ---
[INFO] Failsafe report directory: /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO]
[INFO] --- install:3.1.1:install (default-install) @ com.microsoft.java.debug.core ---
[INFO] Installing /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/pom.xml to /Users/nathanael.schweers/.m2/repository/com/microsoft/java/com.microsoft.java.debug.core/0.53.0/com.microsoft.java.debug.core-0.53.0.pom
[INFO] Installing /Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.core/target/com.microsoft.java.debug.core-0.53.0.jar to /Users/nathanael.schweers/.m2/repository/com/microsoft/java/com.microsoft.java.debug.core/0.53.0/com.microsoft.java.debug.core-0.53.0.jar
[INFO]
[INFO] ---------< com.microsoft.java:com.microsoft.java.debug.plugin >---------
[INFO] Building Java Debug Server for Visual Studio Code :: Debugger Plugin 0.53.0 [3/5]
[INFO] from com.microsoft.java.debug.plugin/pom.xml
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[WARNING] Parameter 'resolver' is unknown for plugin 'target-platform-configuration:4.0.6:target-platform (default-target-platform)'
[WARNING] Using JavaSE-21 to fulfill requested profile of JavaSE-11. This might lead to faulty dependency resolution, consider defining a suitable JDK in the toolchains.xml.
[INFO] Resolving target definition file:/Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target for environments=[macosx/cocoa/aarch64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profile 'JavaSE-21' { source level: 21, target level: 21}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@d5a417e
[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO] Cache location: /Users/nathanael.schweers/.m2/repository/.cache/tycho
[INFO] Transport mode: online
[INFO] Http Transport type: Java11Client
[INFO] Update mode: cache first
[INFO] Minimum cache duration: 60 minutes
[INFO] (you can configure this with -Dtycho.p2.transport.min-cache-minutes=<desired minimum cache duration>)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/R-builds/R20170516192513/repository/p2.index (134 bytes at 1000 bytes/s)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/downloads/drops/R20170303204511/repository/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/downloads/drops2/R20170516192513/repository/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/downloads/drops2/R20170516192513/repository/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240613-1800/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240613-1800/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/jdtls/jdt-core-incubator/snapshots/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/jdtls/jdt-core-incubator/snapshots/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/releases/2024-03/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2024-03/p2.index (122 bytes at 119 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/technology/epp/packages/2024-03/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/technology/epp/packages/2024-03/202403071200/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/releases/2024-03/202403131000/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2024-03/202403131000/p2.index (140 bytes at 136 KB/s)
[INFO] Downloading from p2: https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/p2.index
[INFO] Downloaded from p2: https://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-apt/1.5.3-2019-11-08_11-04-22-H22/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/jdtls/snapshots/repository/latest/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/jdtls/snapshots/repository/latest/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/lsp4j/updates/releases/0.22.0/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/lsp4j/updates/releases/0.22.0/p2.index (172 bytes at 167 KB/s)
[ERROR] Cannot resolve target definition:
[ERROR] Software being installed: org.eclipse.jdt.ls.core 1.39.0.202408021530
[ERROR] Missing requirement: org.eclipse.jdt.ls.core 1.39.0.202408021530 requires 'osgi.bundle; org.eclipse.lsp4j [0.23.0.0,0.24.0)' but it could not be found
[ERROR]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Java Debug Server for Visual Studio Code :: Parent 0.53.0:
[INFO]
[INFO] Java Debug Server for Visual Studio Code :: Parent . SUCCESS [ 0.051 s]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Core SUCCESS [ 4.113 s]
[INFO] Java Debug Server for Visual Studio Code :: Debugger Plugin FAILURE [ 1.636 s]
[INFO] Java Debug Server for Visual Studio Code :: P2 Update site SKIPPED
[INFO] Java Debug Server for Visual Studio Code :: Target Platform SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.908 s
[INFO] Finished at: 2024-08-07T13:37:36+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to resolve target definition file:/Users/nathanael.schweers/opt/java-debug/com.microsoft.java.debug.target/com.microsoft.java.debug.tp.target: See log for details
[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.
I tried this on various versions, including main.
Metadata
Metadata
Assignees
Labels
No labels