mirror of https://github.com/apache/ant-ivy
102 lines
4.0 KiB
XML
102 lines
4.0 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!--
|
|
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.
|
|
-->
|
|
<ivy-module version="1.0">
|
|
<info organisation="myorg"
|
|
module="mymodule"
|
|
revision="myrev"
|
|
status="integration"
|
|
publication="20041101110000">
|
|
|
|
<license name="MyLicense" url="http://www.my.org/mymodule/mylicense.html"/>
|
|
|
|
<ivyauthor name="jayasoft" url="http://www.jayasoft.org/"/>
|
|
<ivyauthor name="myorg" url="http://www.myorg.org/"/>
|
|
|
|
<repository name="ivyrep" url="http://www.jayasoft.fr/org/ivyrep/" pattern="[organisation]/[module]/ivy-[revision].xml" ivys="true" artifacts="false"/>
|
|
|
|
<description homepage="http://www.my.org/mymodule/">
|
|
This module is <b>great</b> !<br/>
|
|
You can use it especially with myconf1 and myconf2, and myconf4 is not too bad too.
|
|
</description>
|
|
</info>
|
|
<configurations>
|
|
<conf name="myconf1" description="desc 1"/>
|
|
<conf name="myconf2" description="desc 2" visibility="public"/>
|
|
<conf name="myconf3" description="desc 3" visibility="private"/>
|
|
<conf name="myconf4" description="desc 4" extends="myconf1, myconf2"/>
|
|
<conf name="myoldconf" description="my old desc" deprecated="20050115"/>
|
|
</configurations>
|
|
<publications>
|
|
<artifact name="myartifact1" type="jar"/>
|
|
<artifact name="myartifact2" type="jar" conf="myconf1"/>
|
|
<artifact name="myartifact3" type="jar" conf="myconf1, myconf2, myconf3"/>
|
|
<artifact name="myartifact4" type="jar">
|
|
<conf name="myconf1"/>
|
|
<conf name="myconf3"/>
|
|
</artifact>
|
|
</publications>
|
|
<dependencies>
|
|
<dependency name="mymodule2" rev="2.0"/>
|
|
<dependency org="yourorg" name="yourmodule1" rev="1.1" conf="myconf1"/>
|
|
<dependency org="yourorg" name="yourmodule2" rev="2+" conf="myconf1->yourconf1"/>
|
|
<dependency org="yourorg" name="yourmodule3" rev="3.1" conf="myconf1->yourconf1, yourconf2"/>
|
|
<dependency org="yourorg" name="yourmodule4" rev="4.1" conf="myconf1, myconf2->yourconf1, yourconf2"/>
|
|
<dependency org="yourorg" name="yourmodule5" rev="5.1" conf="myconf1->yourconf1;myconf2->yourconf1, yourconf2"/>
|
|
|
|
<dependency org="yourorg" name="yourmodule6" rev="latest.integration">
|
|
<conf name="myconf1" mapped="yourconf1"/>
|
|
<conf name="myconf2" mapped="yourconf1, yourconf2"/>
|
|
</dependency>
|
|
|
|
<dependency org="yourorg" name="yourmodule7" rev="7.1">
|
|
<conf name="myconf1">
|
|
<mapped name="yourconf1"/>
|
|
</conf>
|
|
<conf name="myconf2">
|
|
<mapped name="yourconf1"/>
|
|
<mapped name="yourconf2"/>
|
|
</conf>
|
|
</dependency>
|
|
|
|
<dependency org="yourorg" name="yourmodule8" rev="8.1">
|
|
<artifact name="yourartifact8-1" type="jar"/>
|
|
<artifact name="yourartifact8-2" type="jar"/>
|
|
</dependency>
|
|
|
|
<dependency org="yourorg" name="yourmodule9" rev="9.1" conf="myconf1,myconf2,myconf3->default">
|
|
<artifact name="yourartifact9-1" type="jar" conf="myconf1,myconf2"/>
|
|
<artifact name="yourartifact9-2" type="jar">
|
|
<conf name="myconf2"/>
|
|
<conf name="myconf3"/>
|
|
</artifact>
|
|
</dependency>
|
|
|
|
<dependency org="yourorg" name="yourmodule10" rev="10.1">
|
|
<include name="your.*" type="jar"/>
|
|
<include ext="xml"/>
|
|
<exclude name="toexclude"/>
|
|
</dependency>
|
|
</dependencies>
|
|
<conflicts>
|
|
<manager org="yourorg" module=".*" name="all"/>
|
|
<manager org="theirorg" module="theirmodule1" rev="1.0, 1.1"/>
|
|
</conflicts>
|
|
</ivy-module>
|