2012-03-30 14:04:43 -04:00
|
|
|
<?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.
|
|
|
|
-->
|
2014-10-31 00:30:52 -04:00
|
|
|
<project name="solr-server" default="resolve" xmlns:ivy="antlib:org.apache.ivy.ant">
|
|
|
|
<description>Solr Server</description>
|
2012-03-30 14:04:43 -04:00
|
|
|
|
|
|
|
<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"/>
|
|
|
|
|
2012-09-04 19:54:13 -04:00
|
|
|
<!-- nothing to cover -->
|
|
|
|
<target name="pitest"/>
|
|
|
|
|
2012-11-08 09:50:41 -05:00
|
|
|
<!-- 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">
|
2012-11-10 09:08:45 -05:00
|
|
|
<delete failonerror="false">
|
2012-11-08 09:50:41 -05:00
|
|
|
<fileset dir="lib" includes="*.jar"/>
|
|
|
|
</delete>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="resolve" depends="ivy-availability-check,ivy-fail,ivy-configure,sync-hack">
|
2012-03-30 14:04:43 -04:00
|
|
|
<sequential>
|
|
|
|
<!-- jetty libs in lib/ -->
|
2012-11-08 09:50:41 -05:00
|
|
|
<ivy:retrieve conf="jetty" type="jar" log="download-only"/>
|
2013-03-27 10:09:38 -04:00
|
|
|
<ivy:retrieve conf="logging" type="jar,bundle" log="download-only"
|
2013-03-28 11:14:29 -04:00
|
|
|
pattern="lib/ext/[artifact]-[revision].[ext]"/>
|
2012-03-30 14:04:43 -04:00
|
|
|
<!-- start.jar -->
|
2012-11-08 09:50:41 -05:00
|
|
|
<ivy:retrieve conf="start" type="jar" log="download-only"
|
2012-03-30 14:04:43 -04:00
|
|
|
pattern="start.jar"/>
|
|
|
|
<!-- servlet-api.jar -->
|
|
|
|
<ivy:retrieve conf="servlet" log="download-only" type="orbit"
|
|
|
|
pattern="lib/servlet-api-3.0.jar"/>
|
|
|
|
</sequential>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|