<ivy-module version="2.0">
	<info organisation="uk.org.mkgmap" module="mkgmap"/>

	<configurations>
		<conf name="default" visibility="public" description="runtime dependencies and master artifact can be used with this conf" extends="runtime,master"/>
		<conf name="master" visibility="public" description="contains only the artifact published by this module itself, with no transitive dependencies"/>
		<conf name="compile" visibility="public" description="this is the default scope, used if none is specified. Compile dependencies are available in all classpaths."/>
		<conf name="runtime" visibility="public" description="this scope indicates that the dependency is not required for compilation, but is for execution. It is in the runtime and test classpaths, but not the compile classpath." extends="compile"/>
		<conf name="test" visibility="private" description="this scope indicates that the dependency is not required for normal use of the application, and is only available for the test compilation and execution phases." extends="runtime"/>
		<conf name="optional" visibility="public" description="contains all optional dependencies"/>

		<conf name="macker" visibility="private" description="to run the macker ant task" />
	</configurations>

	<publications>
		<artifact name="mkgmap" conf="master" />
	</publications>
	<dependencies>
		<dependency org="com.google.protobuf" name="protobuf-java"
			    rev="2.5.0"
			    conf="compile->compile(*),master(*)" />

		<dependency org="crosby" name="osmpbf"
			    rev="1.3.3"
			    conf="compile->compile(*),master(*)" />

		<dependency org="it.unimi.dsi" name="fastutil"
				rev="6.5.15-mkg.1b"
				conf="compile->default(*)"
				/>

		<dependency org="javax.xml.bind" name="jaxb-api"
				rev="2.3.0"
				conf="test->default(*)"/>

		<dependency org="junit" name="junit"
			    rev="4.11"
			    conf="test->runtime(*),master(*)" />

		<dependency org="innig" name="macker"
			    rev="0.4.2"
			    conf="macker->compile(*),master(*)" />

		<!-- the following are dependencies of macker, but
		     macker's POM file doesn't list them so they're
		     listed manually here -->
		<dependency org="commons-lang" name="commons-lang"
			    rev="1.0.1"
			    conf="macker->compile(*),master(*)" />
		<dependency org="innig" name="innig-util"
			    rev="0.4.2"
			    conf="macker->compile(*),master(*)" />
		<dependency org="bcel" name="bcel"
			    rev="5.1"
			    conf="macker->compile(*),master(*)" />
		<dependency org="jdom" name="jdom"
			    rev="b9"
			    conf="macker->compile(*),master(*)" />

		<dependency org="com.ibm.icu" name="icu4j" rev="53.1"
								conf="optional->master"/>

		<dependency org="org.apache.ant" name="ant" rev="1.8.2"
								conf="optional->master"/>

		<dependency org="javax.media.jai" name="com.springsource.javax.media.jai.codec" rev="1.1.3"
								conf="optional->compile"/>
		<dependency org="javax.media.jai" name="com.springsource.javax.media.jai.core" rev="1.1.3"
					conf="optional->default(*),compile(*),master(*)"/>

		<dependency org="uk.org.mkgmap" name="splitter" rev="412"
					conf="optional->*"/>

		<dependency org="org.geotools" name="gt-api" rev="2.7.5" conf="optional->default,compile">
			<!-- A broken version of this is in the main repo which causes problems. Since we already depend on it, just ignore it here -->
			<exclude module="jai_core"/>
		</dependency>
		<dependency org="org.geotools" name="gt-cql" rev="2.7.5" conf="optional->default,compile">
			<exclude module="jai_core"/>
		</dependency>
		<dependency org="org.geotools" name="gt-shapefile" rev="2.7.5" conf="optional->default,compile">
			<exclude module="jai_core"/>
		</dependency>
		<dependency org="org.geotools" name="geotools" rev="2.7.5" conf="optional->default,compile"/>

	</dependencies>
</ivy-module>
