You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/07/01 07:06:33 UTC

[jira] [Commented] (GORA-37) Gora build fails, complains about multiple HBase artifacts

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

Hudson commented on GORA-37:
----------------------------

Integrated in goraOracle #6 (See [https://builds.apache.org/job/goraOracle/6/])
    Apply patch for GORA-37: Gora build fails, complains about multiple HBase artifacts contributed by Mark Butler. (Revision 17a7112d2c9091e87a511d753fa40e1767f38f0c)

     Result = FAILURE
mattmann : 
Files : 
* build-common.xml

                
> Gora build fails, complains about multiple HBase artifacts
> ----------------------------------------------------------
>
>                 Key: GORA-37
>                 URL: https://issues.apache.org/jira/browse/GORA-37
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 0.2
>            Reporter: Mark Butler
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.2
>
>
> Building with Ant fails for me:
> build-common.xml:350: impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of org.apache.gora#gora-hbase: java.lang.RuntimeException: Multiple artifacts of the module org.apache.hbase#hbase;0.90.0 are retrieved to the same file! Update the retrieve pattern  to fix this error.
> Same as the problem here:
> https://groups.google.com/a/cloudera.org/group/sqoop-dev/browse_thread/thread/d3001e9474bc849f
> So this modification fixes it:
> diff --git a/build-common.xml b/build-common.xml
> index 0e824a9..49d3318 100644
> --- a/build-common.xml
> +++ b/build-common.xml
> @@ -347,7 +347,7 @@
>         
>      <!-- the call to resolve is not mandatory, retrieve makes an implicit call if we don't -->
>      <ivy:resolve file="${ivy.dir}/${ivy.file}" conf="compile" log="download-only"/>
> -    <ivy:retrieve pattern="${lib.dir}/[artifact]-[revision].[ext]" symlink="true" log="quiet" conf="compile"/>
> +    <ivy:retrieve pattern="${lib.dir}/[artifact]-[revision](-[classifier]).[ext]" symlink="true" log="quiet" conf="compile"/>
>  
>      <!-- copy the libs in lib-ext, which are not ivy enabled, should change in the future -->
>      <copy todir="${lib.dir}/" failonerror="false">

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira