hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enoch Hsu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12121) maven release plugin does not allow for customized goals
Date Wed, 29 Oct 2014 22:26:34 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189140#comment-14189140

Enoch Hsu commented on HBASE-12121:

In my case, I am trying to release HBase into my own repository but require the tarball to
also be deployed.
In this case I would need to tell the maven release plugin that I have an extra goal such
as this 
"-X package site assembly:single deploy -DskipTests". The purpose of which is to also deploy
and upload the hbase assembly tarball automatically.
Without this added goal parameter I would not be able to achieve this result unless I manually
uploaded it.
If 'goals' is empty default behavior will be exhibited.

> maven release plugin does not allow for customized goals
> --------------------------------------------------------
>                 Key: HBASE-12121
>                 URL: https://issues.apache.org/jira/browse/HBASE-12121
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.98.6
>            Reporter: Enoch Hsu
>            Assignee: Enoch Hsu
>            Priority: Minor
>             Fix For: 2.0.0, 0.99.2
>         Attachments: HBASE-12121.patch
> 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>
> There is no property for goals so if the user passes in a goal from the command line
it will not get executed and the default behavior will be used instead.
> I propose to add in the following
>             <goals>${goals}</goals>
> This will allow custom release goal options

This message was sent by Atlassian JIRA

View raw message