Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-1542

When deploying a pom with a namespace declaration, all the pom content is prefixed with "ns:"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None

      Description

      While normally deploying a jar file, we generate its pom with no namespace declarations, for example:

      <?xml version="1.0" encoding="UTF-8"?>
      <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.7</version>
      <description>Artifactory auto generated POM</description>
      </project>

      After deployment, we can see that the pom content is mapped with no prefix ("project", "modelVersion", etc').

      But when deploying a pom which contains namespace declarations, for example:

      <?xml version="1.0" encoding="UTF-8"?>
      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>antlr</groupId>
      <artifactId>antlr</artifactId>
      <version>2.7.7</version>
      <description>Artifactory auto generated POM</description>
      </project>

      We can see after deployment that the POM content is mapped with the "ns:" prefix ("ns:project", "ns:groupId", etc')

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yoavl Yoav Landman
                Reporter:
                noam.tenne Noam Y. Tenne (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: