incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GORA-37) Gora build fails, complains about multiple HBase artifacts
Date Tue, 06 Sep 2011 20:03:10 GMT

     [ https://issues.apache.org/jira/browse/GORA-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris A. Mattmann resolved GORA-37.
-----------------------------------

    Resolution: Fixed

- patch applied to 0.2-incubating trunk in r1165811. Thanks Mark!

> Gora build fails, complains about multiple HBase artifacts
> ----------------------------------------------------------
>
>                 Key: GORA-37
>                 URL: https://issues.apache.org/jira/browse/GORA-37
>             Project: Gora
>          Issue Type: Bug
>          Components: build process
>    Affects Versions: 0.2-incubating
>            Reporter: Mark Butler
>            Assignee: Chris A. Mattmann
>            Priority: Minor
>             Fix For: 0.2-incubating
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message