forked from Zutubi/pulse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ivysettings.xml
executable file
·63 lines (52 loc) · 3.78 KB
/
ivysettings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0" encoding="UTF-8"?>
<ivysettings>
<typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver"/>
<properties file="local.properties"/>
<!-- initialise the required properties. -->
<property name="ivy.default.resolver" value="ivy.zutubi.com" override="false"/>
<property name="ivy.local.repository" value="${ivy.project.dir}/repository" override="false"/>
<settings defaultResolver="${ivy.default.resolver}"/>
<resolvers>
<!-- The primary artifact repository, which holds all of the artifacts required to run a build. -->
<url name="ivy.zutubi.com">
<ivy pattern="http://ivy.zutubi.com/[organisation]/[module]/ivy-[revision].xml"/>
<artifact pattern="http://ivy.zutubi.com/[organisation]/[module]/[type]s/[artifact]-[revision].[type]"/>
</url>
<!-- This resolver chains between the springsource public artifact repository and our own. -->
<chain name="public" returnFirst="true">
<url name="com.springsource.repository.bundles.release">
<ivy pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
<artifact pattern="http://repository.springsource.com/ivy/bundles/release/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
</url>
<url name="com.springsource.repository.bundles.external">
<ivy pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
<artifact pattern="http://repository.springsource.com/ivy/bundles/external/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]" />
</url>
<url name="ivy.zutubi.com">
<ivy pattern="http://ivy.zutubi.com/[organisation]/[module]/ivy-[revision].xml"/>
<artifact pattern="http://ivy.zutubi.com/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
</url>
</chain>
<!-- This resolver uses a local copy of the ivy repository and should be used when testing dependency changes. -->
<filesystem name="local" local="true" checkmodified="true" changingPattern="*">
<ivy pattern="${ivy.local.repository}/[organisation]/[module]/ivy-[revision].xml"/>
<artifact pattern="${ivy.local.repository}/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
</filesystem>
<!-- The resolver used to locate artifacts during a build. -->
<filesystem name="build" local="true" checkmodified="true" changingPattern="*">
<ivy pattern="${ivy.settings.dir}/build/repository/[module]/ivy-[revision].xml"/>
<artifact pattern="${ivy.settings.dir}/build/repository/[module]/[type]s/[artifact]-[revision].[ext]"/>
</filesystem>
<!-- This resolver is used by the build to automatically publish artifacts to svn -->
<svn name="private" repositoryRoot="svn+ssh://zutubi.com/svnroot" binaryDiff="false"
userName="${svn.user.name}" userPassword="${svn.user.password}">
<ivy pattern="repository/[organisation]/[module]/ivy-[revision].xml"/>
<artifact pattern="repository/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
</svn>
</resolvers>
<modules>
<!-- We know where all of our own packages are located, no point searching through the others. -->
<module organisation="zutubi" name="com.zutubi.*" resolver="build"/>
<!--<module organisation="org.springframework" name="org.springframework.*" resolver="com.springsource.repository.bundles.release"/>-->
</modules>
</ivysettings>