mirror of https://github.com/apache/lucene.git
67 lines
2.6 KiB
XML
67 lines
2.6 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="solr-server" default="resolve" xmlns:ivy="antlib:org.apache.ivy.ant">
|
|
<description>Solr Server</description>
|
|
|
|
<import file="../common-build.xml"/>
|
|
|
|
<!-- example tests are currently elsewhere -->
|
|
<target name="test"/>
|
|
|
|
<!-- this module has no javadocs -->
|
|
<target name="javadocs"/>
|
|
|
|
<!-- this module has no jar either -->
|
|
<target name="jar-core"/>
|
|
|
|
<!-- nothing to compile -->
|
|
<target name="compile-core"/>
|
|
<target name="compile-test"/>
|
|
|
|
<!-- nothing to cover -->
|
|
<target name="pitest"/>
|
|
|
|
<!-- a hack because we don't use sync-true since we have 3 different profiles.
|
|
we have these different profiles because each has a different artifact pattern.
|
|
this way we can rename servlet-api-xxxxxxxxxxxxxxxxxxx.jar -> lib/servlet-api-3.0.jar,
|
|
and rename jetty-start-xxxxxxxxxxxxx.jar -> start.jar (not in lib/) !
|
|
|
|
there is probably a cleaner way: but this ensure we have no garbage if jetty is upgraded -->
|
|
<target name="sync-hack">
|
|
<delete failonerror="false">
|
|
<fileset dir="lib" includes="*.jar"/>
|
|
</delete>
|
|
</target>
|
|
|
|
<target name="resolve" depends="ivy-availability-check,ivy-fail,ivy-configure,sync-hack">
|
|
<sequential>
|
|
<!-- jetty libs in lib/ -->
|
|
<ivy:retrieve conf="jetty" type="jar" log="download-only" symlink="${ivy.symlink}"/>
|
|
<ivy:retrieve conf="logging" type="jar,bundle" log="download-only" symlink="${ivy.symlink}"
|
|
pattern="lib/ext/[artifact]-[revision].[ext]"/>
|
|
<!-- start.jar -->
|
|
<ivy:retrieve conf="start" type="jar" log="download-only" symlink="${ivy.symlink}"
|
|
pattern="start.jar"/>
|
|
<!-- servlet-api.jar -->
|
|
<ivy:retrieve conf="servlet" log="download-only" type="orbit" symlink="${ivy.symlink}"
|
|
pattern="lib/servlet-api-3.0.jar"/>
|
|
</sequential>
|
|
</target>
|
|
|
|
</project>
|