Uploaded image for project: 'Maven Invoker Plugin'
  1. Maven Invoker Plugin
  2. MINVOKER-119

Allow access to properties in pre- and postBuild scripts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.9
    • None

    Description

      In my verify.groovy script I'd like to access properties declared in the invoker's config:

                  <configuration>
                    <properties>
                      <prop1>val1</prop1>
                    </properties>
                  </configuration>
      

      In my verify.groovy script I'd like to use these properties, too, e.g. by using System.getProperty("prop1") but that returns null.

      Attachments

        Issue Links

          Activity

            People

              afloom Anders Hammar
              dstrasse Daniel Strassenburg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: