<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.somesite.com/ivy-doc.xsl"?>
<!--
   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.    
-->
<!-- A comment before the first tag -->
<ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://incubator.apache.org/ivy/schemas/ivy.xsd" xmlns:e="http://ant.apache.org/ivy/extra">
	<!-- A comment with accent é & special characters -->
	<info organisation="myorg" module="mymodule" revision="mynewrev" status="release" publication="20050322143254" e:myextra="myval">
	       
		<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="conf1" visibility="public"/>
		<conf name="conf2" visibility="private"/>
		<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 defaultconfmapping="*->@">
		<dependency name="mymodule2" rev="2.0"/>
		<dependency name="mymodule3" rev="2.0" changing="true" transitive="false"/>
		<dependency org="yourorg" name="yourmodule1" branch="trunk" rev="1.1" branchConstraint="branch1" revConstraint="1+" conf="myconf1"/>
		<dependency org="yourorg" name="yourmodule2" rev="2.5" branchConstraint="branch1" revConstraint="2+" conf="myconf1->yourconf1"/>
		<dependency org="yourorg" name="yourmodule3" rev="3.1" conf="myconf1->yourconf1, yourconf2" branch="branch1"/>
		<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="6.3" revConstraint="latest.integration" branch="trunk">
			<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>
		<dependency org="yourorg" name="yourmodule11" rev="11.1" conf="*->@"/>

		<exclude module="*servlet*" matcher="glob" conf="myconf1"/>
		<exclude org="acme" module="test" artifact="test" type="source" ext="jar"/>
        <override org="yourorg" module=".*1" matcher="regexp" branch="BRANCH" rev="1.0"/>
		<conflict org="yourorg" module=".*" matcher="regexp" manager="all"/>
		<conflict org="theirorg" module="theirmodule1" rev="1.0, 1.1"/>
	</dependencies>
</ivy-module>
