Uploaded image for project: 'Nuxeo AI Core'
  1. Nuxeo AI Core
  2. AICORE-423

Deploy only one time the source JAR artifacts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.6, 2.5.4, 3.1.2
    • Component/s: CI/CD

      Description

      During nuxeo-ai release, the source JAR artifacts are deployed twice. That obviously fails when the target repository is configured to disallow redeployment:

      https://jenkins.ai.dev.nuxeo.com/blue/organizations/jenkins/nuxeo%2Fnuxeo-ai/detail/v3.0.0/3/pipeline/38

      [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.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: