During nuxeo-ai release, the source JAR artifacts are deployed twice. That obviously fails when the target repository is configured to disallow redeployment:
[INFO] --- maven-deploy-plugin:2.8.1:deploy (default-deploy) @ nuxeo-ai-gcp-package --- [INFO] Uploading to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0.zip [INFO] Uploaded to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0.zip (2.1 kB at 1.3 kB/s) [INFO] Uploading to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0.pom [INFO] Uploaded to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0.pom (2.1 kB at 1.7 kB/s) [INFO] Downloading from maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/maven-metadata.xml [INFO] Downloaded from maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/maven-metadata.xml (343 B at 828 B/s) [INFO] Uploading to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/maven-metadata.xml [INFO] Uploaded to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/maven-metadata.xml (374 B at 210 B/s) [INFO] Uploading to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0-sources.jar [INFO] Uploaded to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0-sources.jar (2.6 kB at 2.0 kB/s) [INFO] Uploading to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0-sources.jar [INFO] Uploaded to maven-public-releases: https://packages.nuxeo.com/repository/maven-public-releases/org/nuxeo/ai/nuxeo-ai-gcp-package/3.0.0/nuxeo-ai-gcp-package-3.0.0-sources.jar (2.6 kB at 2.7 kB/s)
See the duplicated "Uploaded" lines for maven-metadata.xml and nuxeo-ai-gcp-package-3.0.0-sources.jar
Fix to deploy only one time.
- is caused by
-
AICORE-328 JX - AI Core: automate release
- Resolved
- Is referenced in