apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.67k stars 1.03k forks source link

Require minimum ivy version [LUCENE-4960] #6024

Open asfimport opened 11 years ago

asfimport commented 11 years ago

Someone on solr-user ran into a problem while trying to run 'ant idea' so they could work on Solr in their IDE. @sarowe indicated that this is probably due to IVY-1194, requiring an ivy jar upgrade.

The build system should check for a minimum ivy version, just like it does with ant. The absolute minimum we require appears to be 2.2.0, but do we want to make it 2.3.0 due to IVY-1388?

I'm not sure how to go about checking the ivy version. Checking the ant version is easy because it's ant itself that does the checking.

There might be other component versions that should be checked too.


Migrated from LUCENE-4960 by Shawn Heisey (@elyograg), updated Dec 08 2021 Attachments: LUCENE-4960.patch Linked issues:

asfimport commented 11 years ago

Steven Rowe (@sarowe) (migrated from JIRA)

Bulk move 4.4 issues to 4.5 and 5.0

asfimport commented 10 years ago

Uwe Schindler (@uschindler) (migrated from JIRA)

Move issue to Lucene 4.9.

asfimport commented 7 years ago

Steven Rowe (@sarowe) (migrated from JIRA)

Patch causing the build to fail when a regex matches disallowed Ivy jars: those with versions 2.0.\*, 2.1.\*, and 2.2.\*.

Committing shortly.

asfimport commented 7 years ago

ASF subversion and git services (migrated from JIRA)

Commit 7a9870e3f94215cf4167e6ccd75c011b7e50d114 in lucene-solr's branch refs/heads/branch_7x from @sarowe https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=7a9870e

LUCENE-4960: Fail the build in the presence of Ivy jar(s) with unsupported versions.

asfimport commented 7 years ago

ASF subversion and git services (migrated from JIRA)

Commit f5c2e10222d9014c434ee42411b8857926fb3c23 in lucene-solr's branch refs/heads/master from @sarowe https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f5c2e10

LUCENE-4960: Fail the build in the presence of Ivy jar(s) with unsupported versions.

asfimport commented 7 years ago

Michael Braun (@michaelbraun) (migrated from JIRA)

@sarowe from the latest master (and Ivy 2.4.0) on Windows, ant resolve gives me:

BUILD FAILED
c:\Development\workspace\mbraun-lucene-solr\build.xml:300: The following error occurred while executing this line:
c:\Development\workspace\mbraun-lucene-solr\lucene\build.xml:124: The following error occurred while executing this line:
c:\Development\\workspace\mbraun-lucene-solr\lucene\common-build.xml:424: C:\<my users path>\.ant\lib does not exist
asfimport commented 7 years ago

Steven Rowe (@sarowe) (migrated from JIRA)

Thanks for reporting @michaelbraun. Reopening to fix on Windows.