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

File based profile activation results in absolute paths in OriginalModel

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.6.3
    • None
    • None
    • None

    Description

      If a project has one or more profiles activated using file(s), the OriginalModel that a maven plugin can obtain from the MavenProject, holds the absolute path to these files, rather than the raw value from the pom.xml file.

      This is caused by the DefaultModelBuilder using the 'rawModel' to determine the active profiles, which has the side-effect of interpolating the files to absolute paths.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              arnoud Arnoud Glimmerveen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: