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

Roman Shaposhnik commented on HBASE-10681:
------------------------------------------

[~rguo] here's what I'm thinking:
  # this is already implemented for snapshots in a parent Apache pom: just pass 
-DdistMgmtSnapshotsUrl=XXX to the build
  # you can always utilize 
-DaltDeploymentRepository/altReleaseDeploymentRepository/altSnapshotDeploymentRepository
 to redirect the deployment

The trouble that I see with your approach is that once you add the override for 
a non-snapshot repo to the HBase pom, I don't think there's any way to keep the 
one coming from the parent pom as the default.
  

> Allow Hbase artifacts to deploy to remote repo other than apache
> ----------------------------------------------------------------
>
>                 Key: HBASE-10681
>                 URL: https://issues.apache.org/jira/browse/HBASE-10681
>             Project: HBase
>          Issue Type: Improvement
>          Components: build
>            Reporter: Guo Ruijing
>
> pom.xml in hbase write as
>  <distributionManagement>
>     <site>
>       <id>hbase.apache.org</id>
>       <name>HBase Website at hbase.apache.org</name>
>       <!-- On why this is the tmp dir and not hbase.apache.org, see
>                
> https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
>                -->
>       <url>file:///tmp</url>
>     </site>
> We expect pom.xml in hbase like hadoop can be:
>  <distributionManagement>
>   <repository>
>       <id>${distMgmtStagingId}</id>
>       <name>${distMgmtStagingName}</name>
>       <url>${distMgmtStagingUrl}</url>
>     </repository>
>     <snapshotRepository>
>       <id>${distMgmtSnapshotsId}</id>
>       <name>${distMgmtSnapshotsName}</name>
>       <url>${distMgmtSnapshotsUrl}</url>
>     </snapshotRepository>
>     <site>
>       <id>hbase.apache.org</id>
>       <name>HBase Website at hbase.apache.org</name>
>       <!-- On why this is the tmp dir and not hbase.apache.org, see
>                
> https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
>                -->
>       <url>file:///tmp</url>
>     </site>
>   </distributionManagement>



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

Reply via email to