Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-318

version 3.1.2 is uploading jar files to wrong endpoints

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.2
    • None
    • None
    • None
    • spring-boot, gitlab

    Description

      hi, i'm using spring-boot, and upon updating to 3.2.6 i noticed that my parent pom was uploaded corrupted.

      [FATAL] Non-parseable POM ~/.m2/repository/nl/intractief/intr-parent/7.1.5/intr-parent-7.1.5.pom: only whitespace content allowed before start tag and not P (position: START_DOCUMENT seen P... @1:2)  @ ~/.m2/repository/nl/intractief/intr-parent/7.1.5/intr-parent-7.1.5.pom, line 1, column 2

       

      • the same parent pom was correctly published using spring-boot 3.2.5
      • the parent pom is correct before publishing in the pipeline (manually checked the target folder).
      • after publishing i see binary stuff as pom (guess: zipped binary content)
      • setting the maven-deploy-plugin.version in the project to 3.1.1 solves the issue.

      in the spring-boot project i created an issue about this (see external issue link) and found another similar issue with a functional workaround.

      we think there is an issue with the deployment endpoints in version 3.1.2 it seems the jars end up at the pom endpoints

       

       

      Attachments

        1. pom.xml
          1 kB
          Michaël
        2. test-maven-deploy-0.0.1.zip
          2 kB
          Michaël
        3. test-maven-deploy-0.0.2.zip
          2 kB
          Michaël
        4. test-maven-parent-0.0.1.pom
          2 kB
          Michaël
        5. test-maven-parent-0.0.2.pom
          1 kB
          Michaël

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              tubby Michaël
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: