Skip to content

Commit

Permalink
[#807] Added doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pepite committed Aug 18, 2011
1 parent 1e73b71 commit 66573cc
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion documentation/manual/dependency.textile
Expand Up @@ -303,6 +303,26 @@ repositories:

Note: don't forget to run @play dependencies myplayapp@.


h3. Custom ivy settings

Play is using Ivy under the hood. If you require a special configuration such as setting a proxy, basic authentication for an internal maven nexus repository, you can edit the ivysettings.xml file. It is located in the .ivy2 folder in your home directory.

bc. Example1, you want ivy to ignore checksums:
# .ivy2/ivysettings.xml
<ivysettings>
<property name="ivy.checksums" value=""/>
</ivysettings>

bc. Example2, you want to use basic auth:
# .ivy2/ivysettings.xml
<ivysettings>
<credentials host="maven-repo.xxx" realm="Sonatype Nexus Repository Manager" username="user" passwd="reallygreatpassword"/>
</ivysettings>


There are many things you can configure see: http://ant.apache.org/ivy/history/2.1.0/settings.html

p(note). **Continuing the discussion**

Next: %(next)"Database evolutions":evolutions%.
Next: %(next)"Database evolutions":evolutions%.

0 comments on commit 66573cc

Please sign in to comment.