Welcome¶
Ant-deb-repos is a set of tasks to create the necessary files for a debian repository.
For more information, please refer to the javadoc.
Download¶
The current version is 0.1.2. The library is licensed under the Apache License 2.0.
Ivy repository¶
The following resolver should be added to ivy settings to retrieve the library:
<url name="ant-deb-repos">
<ivy pattern="http://ant-deb-repos.sf.net/ivy/[revision]/ivy.xml" />
<artifact pattern="http://ant-deb-repos.sf.net/ivy/[revision]/[artifact](-[type]).[ext]" />
</url>
To combine this resolver with the default maven repository, use a chain resolver in your ivysettings.xml:
<ivysettings>
<settings defaultResolver="default" />
<include url="${ivy.default.settings.dir}/ivysettings-public.xml" />
<include url="${ivy.default.settings.dir}/ivysettings-shared.xml" />
<include url="${ivy.default.settings.dir}/ivysettings-local.xml" />
<resolvers>
<chain name="default" returnFirst="true">
<resolver ref="local" />
<resolver ref="shared" />
<resolver ref="public" />
<!-- Resolver for ant-deb-repos -->
<url name="ant-deb-repos">
<ivy pattern="http://ant-deb-repos.sf.net/ivy/[revision]/ivy.xml" />
<artifact pattern="http://ant-deb-repos.sf.net/ivy/[revision]/[artifact](-[type]).[ext]" />
</url>
<!-- Any other resolvers -->
</chain>
</resolvers>
</ivysettings>
Then add the following dependency to your ivy.xml file:
<dependency org="net.sf.ant-deb-repos"
name="ant-deb-repos"
rev="latest.integration"
conf="*->runtime" />