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

bad properties interpolation with profiles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.0.3
    • None
    • None
    • cygwin
    • Patch

    Description

      create two profiles in your settings.xml

      • id test with a property <test>dev</test>
      • id snapshots with a property <test>snapshots</test>

      <activeProfiles>
      <activeProfile>dev</activeProfile>
      <activeProfile>snapshots</activeProfile>
      </activeProfiles>

      With the attached pom run :
      mvn validate :
      [echo] dev
      mvn -P snapshots validate :
      [echo] dev

      Olivier

      Attachments

        1. pom.xml
          1 kB
          Olivier Lamy
        2. MNG-2206-maven-project.patch
          8 kB
          Edwin Punzalan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              olamy Olivier Lamy
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified