Created
June 26, 2010 15:03
-
-
Save rsds143/454111 to your computer and use it in GitHub Desktop.
default apache ivy setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns:ivy="antlib:org.apache.ivy.ant" name="whatever"> | |
<property name="hibernate.version" value="3.5.6-Final"/> | |
<!-- ================================= | |
target: resolve | |
================================= --> | |
<target name="resolve" description="--> retrieve dependencies with ivy"> | |
<ivy:retrieve /> | |
</target> | |
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ivy-module version="2.0"> | |
<info organisation="apache" module="whatever"/> | |
<dependencies> | |
<dependency org="com.google.guava" name="guava" rev="r06"/> | |
<dependency org="junit" name="junit" rev="4.8.1"/> | |
<dependency org="org.mockito" name="mockito-all" rev="1.8.5"/> | |
<dependency org="org.hibernate" name="hibernate-core" rev="${hibernate.version}"/> | |
<dependency org="org.hibernate" name="hibernate-annotations" rev="${hibernate.version}"/> | |
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="${hibernate.version}"/> | |
<dependency org="org.hibernate" name="hibernate-c3p0" rev="${hibernate.version}"/> | |
</dependencies> | |
</ivy-module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ivysettings> | |
<settings defaultResolver="myChain" checkUpToDate="true"/> | |
<resolvers> | |
<chain name="myChain"> | |
<ibiblio name="jboss" m2compatible="true" root="http://repository.jboss.org/nexus/content/groups/public-jboss/"/> | |
<ibiblio name="ibiblio" m2compatible="true"/> | |
</chain> | |
</resolvers> | |
</ivysettings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment