Skip to content

Error while running build-plugin #1733

@nathannguyen-nng

Description

@nathannguyen-nng

I'm trying to follow this guide https://github.com/mfussenegger/nvim-jdtls and I'm stuck at vscode-java-test installation part.

running npm run build-plugin give me this error:

`[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Test Runner for Java :: Parent 0.42.0 .............. SUCCESS [ 0.027 s]
[INFO] Test Runner for Java :: Build Tools 1.0.0 .......... SUCCESS [ 0.255 s]
[INFO] Test Runner for Java :: Plugin 0.42.0 .............. FAILURE [ 0.327 s]
[INFO] Test Runner for Java :: Plugin Tests 0.42.0 ........ SKIPPED
[INFO] Test Runner for Java :: update site 0.42.0 ......... SKIPPED
[INFO] Test Runner for Java :: Target Platform 0.42.0 ..... SKIPPED
[INFO] Test Runner for Java :: Runner 0.42.0 .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.321 s
[INFO] Finished at: 2024-09-20T17:59:20-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to resolve target definition file:/Users/nathan/vscode-java-test/java-extension/com.microsoft.java.test.target/com.microsoft.java.test.tp.target: Failed to load p2 metadata repository from location https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240728-1800/: No repository found at https://download.eclipse.org/eclipse/updates/4.33-I-builds/I20240728-1800.
[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.
node:child_process:964
throw err;
^

Error: Command failed: ./mvnw clean verify
at genericNodeError (node:internal/errors:983:15)
at wrappedFn (node:internal/errors:537:14)
at checkExecSyncError (node:child_process:889:11)
at Object.execSync (node:child_process:961:15)
at Object. (/Users/nathan/vscode-java-test/scripts/buildJdtlsExt.js:31:4)
at Module._compile (node:internal/modules/cjs/loader:1504:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1588:10)
at Module.load (node:internal/modules/cjs/loader:1282:32)
at Module._load (node:internal/modules/cjs/loader:1098:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 12004,
stdout: null,
stderr: null
}

Node.js v22.5.1`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions