Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-732

Improve AAMP configuration to allow User properties

    XMLWordPrintable

    Details

    • Upgrade notes:
      Hide

      New User properties: buildFile, buildFiles, target, targets, expand, aamp.propertyPrefix, aamp.exportAntProperties, aamp.exportedAntProperties, aamp.encoding, failOnError, aamp.failOnError/

      Removed User properties: repositorySystemSession, localRepository, project.remoteProjectRepositories, settings

      Show
      New User properties: buildFile, buildFiles, target, targets, expand, aamp.propertyPrefix, aamp.exportAntProperties, aamp.exportedAntProperties, aamp.encoding, failOnError, aamp.failOnError/ Removed User properties: repositorySystemSession, localRepository, project.remoteProjectRepositories, settings

      Description

      Looking at NXBT-730 (which is not an bug), it appears that the "User properties" must be explicitly declared when using Mojo annotations.

          /**
           * Property to use to retrieve a value. Can come from <code>-D</code> execution, setting properties or pom properties.
           * @return property name
           */
          String org.apache.maven.plugins.annotations.Parameter.property() default "";
      

      Review all parameters to allow configuration from the command line.
      Note however that the configuration from POM takes precedence over the system property (called "User property")! Maybe using an alias solves the issue...

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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