mirror of https://github.com/apache/lucene.git
71 lines
3.1 KiB
XML
71 lines
3.1 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<project name="get-dependencies">
|
|
|
|
<property name="repository.url.maven" value="http://www.ibiblio.org/maven"/>
|
|
<import file="dependency.xml"/>
|
|
|
|
<target name="run-dependencies" unless="run.dependencies.fetched" depends="common-dependencies">
|
|
<echo>Resolving dependencies for distribution / war build</echo>
|
|
<ibiblio-dependency artifact="oro" version="2.0.6" group="oro" reposurl="${repository.url.maven}"/>
|
|
<ibiblio-dependency artifact="javassist" version="3.0" group="javassist" reposurl="${repository.url.maven}"/>
|
|
<property name="run.dependencies.fetched" value="true"/>
|
|
</target>
|
|
|
|
<target name="common-dependencies" unless="common.dependencies.fetched">
|
|
<echo>Resolving common dependencies </echo>
|
|
<ibiblio-dependency artifact="hivemind" version="1.1" group="hivemind" reposurl="${repository.url.maven}"/>
|
|
<ibiblio-dependency artifact="hivemind-lib" version="1.1" group="hivemind" reposurl="${repository.url.maven}"/>
|
|
<ibiblio-dependency artifact="hivemind-jmx" version="1.1" group="hivemind" reposurl="${repository.url.maven}"/>
|
|
<ibiblio-dependency artifact="hessian" version="3.0.20" group="hessian" folder="download" reposurl="http://www.caucho.com"/>
|
|
<path id="common.build.path">
|
|
<fileset dir="${gdata.external.lib.dir}">
|
|
<include name="hivemind-1.1.jar"/>
|
|
<include name="hivemind-lib-1.1.jar"/>
|
|
<include name="hivemind-jmx-1.1.jar"/>
|
|
<include name="hessian-3.0.20.jar"/>
|
|
</fileset>
|
|
</path>
|
|
<property name="common.dependencies.fetched" value="true"/>
|
|
</target>
|
|
|
|
|
|
<target name="build-dependencies" unless="build.dependencies.fetched" depends="common-dependencies">
|
|
<echo>Resolving dependencies for build process</echo>
|
|
<path id="build.path">
|
|
<path refid="common.build.path"/>
|
|
</path>
|
|
<property name="build.dependencies.fetched" value="true"/>
|
|
</target>
|
|
|
|
|
|
<target name="test-dependencies" unless="test.dependencies.fetched">
|
|
<echo>Resolving dependencies for test cases</echo>
|
|
<ibiblio-dependency artifact="easymock" version="1.2_Java1.5" group="easymock" folder="easymock/1.2_Java1.5" />
|
|
<path id="test.build.path">
|
|
<fileset dir="${gdata.external.lib.dir}">
|
|
<include name="easymock-1.2_Java1.5.jar"/>
|
|
</fileset>
|
|
</path>
|
|
<property name="test.dependencies.fetched" value="true"/>
|
|
</target>
|
|
|
|
|
|
</project> |