Hi, I try to release my plugin but release failed with error on 3rd party jar dependency:
[2025-06-26T13:32:41.039Z] + mvn --batch-mode --show-version --errors --no-transfer-progress --update-snapshots -Dmaven.repo.local=/home/jenkins/agent/workspace/Plugins_akeyless-plugin_PR-3@tmp/m2repo -Dmaven.test.failure.ignore -Dspotbugs.failOnError=false -Dcheckstyle.failOnViolation=false -Dcheckstyle.failsOnError=false -Dpmd.failOnViolation=false -Penable-jacoco -Dset.changelist help:evaluate -Dexpression=changelist -Doutput=/home/jenkins/agent/workspace/Plugins_akeyless-plugin_PR-3@tmp/changelist -DforkCount=1C clean install [2025-06-26T13:32:41.141Z] -XX:ConcGCThreads=1 -XX:G1ConcRefinementThreads=4 -XX:GCDrainStackTargetSize=64 -XX:InitialHeapSize=187499968 -XX:MarkStackSize=4194304 -XX:MaxHeapSize=2999999488 -XX:MinHeapSize=6815736 -XX:+PrintCommandLineFlags -XX:ReservedCodeCacheSize=251658240 -XX:+SegmentedCodeCache -XX:+UseCompressedOops -XX:+UseG1GC [2025-06-26T13:32:41.342Z] Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d) [2025-06-26T13:32:41.343Z] Maven home: /usr/share/apache-maven-3.9.10 [2025-06-26T13:32:41.343Z] Java version: 21.0.7, vendor: Eclipse Adoptium, runtime: /opt/jdk-21 [2025-06-26T13:32:41.343Z] Default locale: en_US, platform encoding: UTF-8 [2025-06-26T13:32:41.344Z] OS name: "linux", version: "5.15.180.1-1.cm2", arch: "amd64", family: "unix" [2025-06-26T13:32:43.151Z] [INFO] Error stacktraces are turned on. [2025-06-26T13:32:43.252Z] [INFO] Setting: -Dchangelist=46.va_22fcf866893 -DscmTag=a22fcf866893807509185c413da8289cf3919256 [2025-06-26T13:32:43.253Z] [INFO] No information available to set -DgitHubRepo [2025-06-26T13:32:43.253Z] [INFO] Scanning for projects... [2025-06-26T13:32:45.260Z] [INFO] [2025-06-26T13:32:45.260Z] [INFO] --------------------< io.jenkins.plugins:akeyless >--------------------- [2025-06-26T13:32:45.260Z] [INFO] Building Akeyless Plugin 46.va_22fcf866893 [2025-06-26T13:32:45.260Z] [INFO] from pom.xml [2025-06-26T13:32:45.261Z] [INFO] --------------------------------[ hpi ]--------------------------------- [2025-06-26T13:32:45.261Z] [INFO] [2025-06-26T13:32:45.261Z] [INFO] --- help:3.5.1:evaluate (default-cli) @ akeyless --- [2025-06-26T13:32:45.362Z] [INFO] No artifact parameter specified, using 'io.jenkins.plugins:akeyless:hpi:46.va_22fcf866893' as project. [2025-06-26T13:32:45.362Z] [INFO] Result of evaluation written to: /home/jenkins/agent/workspace/Plugins_akeyless-plugin_PR-3@tmp/changelist [2025-06-26T13:32:45.362Z] [INFO] [2025-06-26T13:32:45.363Z] [INFO] --------------------< io.jenkins.plugins:akeyless >--------------------- [2025-06-26T13:32:45.363Z] [INFO] Building Akeyless Plugin 46.va_22fcf866893 [2025-06-26T13:32:45.363Z] [INFO] from pom.xml [2025-06-26T13:32:45.363Z] [INFO] --------------------------------[ hpi ]--------------------------------- [2025-06-26T13:32:45.564Z] [WARNING] The POM for io.akeyless:akeyless-java:jar:5.0.4 is missing, no dependency information available [2025-06-26T13:32:48.172Z] [INFO] ------------------------------------------------------------------------ [2025-06-26T13:32:48.173Z] [INFO] BUILD FAILURE [2025-06-26T13:32:48.173Z] [INFO] ------------------------------------------------------------------------ [2025-06-26T13:32:48.173Z] [INFO] Total time: 5.025 s [2025-06-26T13:32:48.173Z] [INFO] Finished at: 2025-06-26T13:32:48Z [2025-06-26T13:32:48.173Z] [INFO] ------------------------------------------------------------------------ [2025-06-26T13:32:48.174Z] [ERROR] Failed to execute goal on project akeyless: Could not resolve dependencies for project io.jenkins.plugins:akeyless:hpi:46.va_22fcf866893 [2025-06-26T13:32:48.174Z] [ERROR] dependency: io.akeyless:akeyless-java:jar:5.0.4 (compile) [2025-06-26T13:32:48.174Z] [ERROR] Could not find artifact io.akeyless:akeyless-java:jar:5.0.4 in artifact-caching-proxy (http://artifact-caching-proxy.artifact-caching-proxy.svc.cluster.local:8080/) [2025-06-26T13:32:48.174Z] [ERROR] -> [Help 1] [2025-06-26T13:32:48.174Z] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project akeyless: Could not resolve dependencies for project io.jenkins.plugins:akeyless:hpi:46.va_22fcf866893 [2025-06-26T13:32:48.174Z] dependency: io.akeyless:akeyless-java:jar:5.0.4 (compile) [2025-06-26T13:32:48.175Z] Could not find artifact io.akeyless:akeyless-java:jar:5.0.4 in artifact-caching-proxy (http://artifact-caching-proxy.artifact-caching-proxy.svc.cluster.local:8080/) [2025-06-26T13:32:48.175Z] Locally all works fine. Can someone help me? Thanks Alexey -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-users/CACz8XxM2r8C3GXgdg18FLQeub_2M3W14qYgNced94yET9Dw6oQ%40mail.gmail.com.
