Re: com.ibm.icu dependency errors when building solr source code

2017-06-22 Thread Amrit Sarkar
Running "ant eclipse" or "ant test" in verbose mode will provide you the
exact lib in ivy2 cache which is corrupt. Delete that particular lib and
run "ant" again. Also don't try to get out / exit  "ant" commands via
Ctrl+C or Ctrl+V while it is downloading the libraries to ivy2 folder.


Re: com.ibm.icu dependency errors when building solr source code

2017-06-22 Thread Erick Erickson
Sometimes I've seen something like this when the ivy cache is corrupt. It's
a pain since it takes a while to re-download things, but you might try to
remove that entire cache. On my mac it's 'rm -rf ~.ivy2/cache'

Erick

On Thu, Jun 22, 2017 at 3:39 AM, Susheel Kumar 
wrote:

> Hello,
>
> Am i missing something or the source code is broken.  Took latest code from
> master and when doing "ant eclipse" or "ant test",  getting below error.
>
> ivy-configure:
>
> [ivy:configure] :: loading settings :: file =
> /Users/kumars5/src/git/code/lucene-solr/lucene/top-level-ivy-settings.xml
>
>
> resolve:
>
> [ivy:retrieve]
>
> [ivy:retrieve] :: problems summary ::
>
> [ivy:retrieve]  WARNINGS
>
> [ivy:retrieve] ::
>
> [ivy:retrieve] ::  UNRESOLVED DEPENDENCIES ::
>
> [ivy:retrieve] ::
>
> [ivy:retrieve] :: com.ibm.icu#icu4j;59.1: configuration not found in
> com.ibm.icu#icu4j;59.1: 'master'. It was required from
> org.apache.lucene#analyzers-icu;working@ROSELCDV0001LJC compile
>
> [ivy:retrieve] ::
>
> [ivy:retrieve]
>
> [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
>
> BUILD FAILED
>
> /Users/kumars5/src/git/code/lucene-solr/build.xml:300: The following error
> occurred while executing this line:
>
> /Users/kumars5/src/git/code/lucene-solr/lucene/build.xml:130: The
> following
> error occurred while executing this line:
>
> /Users/kumars5/src/git/code/lucene-solr/lucene/common-build.xml:2179: The
> following error occurred while executing this line:
>
> /Users/kumars5/src/git/code/lucene-solr/lucene/analysis/build.xml:91: The
> following error occurred while executing this line:
>
> /Users/kumars5/src/git/code/lucene-solr/lucene/analysis/build.xml:38: The
> following error occurred while executing this line:
>
> /Users/kumars5/src/git/code/lucene-solr/lucene/common-build.xml:409:
> impossible to resolve dependencies:
>
> resolve failed - see output for details
>


com.ibm.icu dependency errors when building solr source code

2017-06-22 Thread Susheel Kumar
Hello,

Am i missing something or the source code is broken.  Took latest code from
master and when doing "ant eclipse" or "ant test",  getting below error.

ivy-configure:

[ivy:configure] :: loading settings :: file =
/Users/kumars5/src/git/code/lucene-solr/lucene/top-level-ivy-settings.xml


resolve:

[ivy:retrieve]

[ivy:retrieve] :: problems summary ::

[ivy:retrieve]  WARNINGS

[ivy:retrieve] ::

[ivy:retrieve] ::  UNRESOLVED DEPENDENCIES ::

[ivy:retrieve] ::

[ivy:retrieve] :: com.ibm.icu#icu4j;59.1: configuration not found in
com.ibm.icu#icu4j;59.1: 'master'. It was required from
org.apache.lucene#analyzers-icu;working@ROSELCDV0001LJC compile

[ivy:retrieve] ::

[ivy:retrieve]

[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS


BUILD FAILED

/Users/kumars5/src/git/code/lucene-solr/build.xml:300: The following error
occurred while executing this line:

/Users/kumars5/src/git/code/lucene-solr/lucene/build.xml:130: The following
error occurred while executing this line:

/Users/kumars5/src/git/code/lucene-solr/lucene/common-build.xml:2179: The
following error occurred while executing this line:

/Users/kumars5/src/git/code/lucene-solr/lucene/analysis/build.xml:91: The
following error occurred while executing this line:

/Users/kumars5/src/git/code/lucene-solr/lucene/analysis/build.xml:38: The
following error occurred while executing this line:

/Users/kumars5/src/git/code/lucene-solr/lucene/common-build.xml:409:
impossible to resolve dependencies:

resolve failed - see output for details