Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-1715

Absolute paths in exported-pom.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0
    • None
    • Plugins and Lifecycle
    • None

    Description

      The exported-pom.xml generated by the 'package' phase contains absolute paths in the <build> section - and also some relative ones, as <scriptSourceDirectory>. Is this behaviour on purpose ?

      This exported-pom.xml is used for the 'deploy' phase - and also maybe for the maven-release-plugin. Although these absolute paths are not used when the deployed POM is used for a dependency, they :

      • can be a security issue, as we don't want to show full information about our development environment
      • are, unless I'm mistaken, useless information

      Attachments

        Issue Links

          Activity

            People

              brett Brett Porter
              le.du.yann@gmail.com Yann Le Du
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: