You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Closed) (JIRA)" <ji...@apache.org> on 2012/04/06 22:27:23 UTC

[jira] [Closed] (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:all-tabpanel ]

Lewis John McGibbney closed GORA-37.
------------------------------------


Bulk close of issues. Preparation for Gora 0.2 release candidate. 
                
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira