Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-118

profile activation through properties fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0.9
    • None
    • dependencies task
    • None

    Description

      When using <artifact:pom file="pom.xml" ... , where the pom.xml has profiles with <activation> sections, the profiles are activated properly in the cases of:

      • <activeByDefault>
      • <jdk>
      • <os>
      • <file>

      However, profiles that should be made active through <property><name>foo</name><value>true</value></property>, are not made active, even when invoking ant with -Dfoo=true.

      Ideally property based activation would work with all ant properties, but the basic case is to support those explicitly set on the command line.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zieglerrii Richard Ziegler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: