You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enoch Hsu (JIRA)" <ji...@apache.org> on 2014/08/26 23:53:59 UTC

[jira] [Created] (HBASE-11832) maven release plugin overrides command line arguments

Enoch Hsu created HBASE-11832:
---------------------------------

             Summary: maven release plugin overrides command line arguments
                 Key: HBASE-11832
                 URL: https://issues.apache.org/jira/browse/HBASE-11832
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.4
            Reporter: Enoch Hsu
            Assignee: Enoch Hsu
            Priority: Minor
             Fix For: 0.99.0


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>




--
This message was sent by Atlassian JIRA
(v6.2#6252)