Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11832

maven release plugin overrides command line arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.4
    • 0.99.0
    • None
    • None
    • Reviewed

    Description

      Inside the pom under the maven-release-plugin there is a configuration that defines what the release-plugin uses like so
      <configuration>
      <!--You need this profile. It'll sign your artifacts.
      I'm not sure if this config. actually works though.
      I've been specifying -Papache-release on the command-line
      -->
      <releaseProfiles>apache-release</releaseProfiles>
      <!--This stops our running tests for each stage of maven release.
      But it builds the test jar. From SUREFIRE-172.
      -->
      <arguments>-Dmaven.test.skip.exec</arguments>
      <pomFileName>pom.xml</pomFileName>
      </configuration>

      The arguments are hardcoded in and will automatically override any arguments the user passes in from the command line.
      I propose to modify this to the following
      <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>

      Attachments

        1. HBASE-11832.patch
          0.5 kB
          Enoch Hsu

        Activity

          People

            enhs8920 Enoch Hsu
            enhs8920 Enoch Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: