azure-sdk-for-java icon indicating copy to clipboard operation
azure-sdk-for-java copied to clipboard

Ref docs issue

Open AFengKK opened this issue 3 years ago • 3 comments

Error:

##[error]java2yaml '"cmd.exe" /c mvn dependency:copy-dependencies -P !azure-mgmt-sdk-test-jar -DoutputDirectory=D:\a_work\1\s\target_repo\src\docs-ref-autogen\azure-resourcemanager\Dependency' failed. [ERROR] Failed to execute goal on project azure-resourcemanager: Could not resolve dependencies for project com.azure.resourcemanager:azure-resourcemanager:jar:2.16.0: com.azure.resourcemanager:azure-resourcemanager-test:jar:2.0.0-beta.1 was not found in https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-java/maven/v1 during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of azure-sdk-for-java has elapsed or updates are forced -> [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 inform

For more details check here:

  • https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=309896&view=results

@danieljurek for notification.

AFengKK avatar Aug 05 '22 07:08 AFengKK

@sima-zhu -- Looks like there's a failure in Java docs builds. Similar messages have happened in the most recent 3 builds.

danieljurek avatar Aug 05 '22 18:08 danieljurek

Remove the azure-sdk-template packages as they are not needed. https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=310065&view=results

sima-zhu avatar Aug 05 '22 18:08 sima-zhu

com.azure.resourcemanager:azure-resourcemanager-test:jar is not published to maven, as it is only used for testing.

I am not sure why the CI need dependency:copy-dependencies, but if you need it, exclude the package via -P !azure-mgmt-sdk-test-jar in mvn call (pom).

weidongxu-microsoft avatar Aug 10 '22 01:08 weidongxu-microsoft

I think I fixed the issue. If not, could you share the failed pipeline?

sima-zhu avatar Aug 17 '22 04:08 sima-zhu

Close this issue as it is no longer reproduced.

v-xuto avatar Mar 10 '23 05:03 v-xuto