Permalink
Browse files

OZP-492 (cont) Fixed Metrics build process

  • Loading branch information...
1 parent 5370067 commit 2ea1efd2434080c6ff43c2e4e9c252d511eb686f @tdehart tdehart committed Mar 6, 2013
Showing with 2 additions and 30 deletions.
  1. +2 −1 grails-app/conf/BuildConfig.groovy
  2. +0 −29 ivysettings_offline.xml
View
3 grails-app/conf/BuildConfig.groovy
@@ -126,6 +126,7 @@ grails.project.dependency.resolution = {
// mavenLocal()
// mavenCentral()
+ mavenRepo "https://www.owfgoss.org/nexus/content/groups/public"
resolver createLocalResolver()
def offline = System.getProperty('OFFLINE_REPO')
if (offline) {
@@ -134,7 +135,7 @@ grails.project.dependency.resolution = {
}
else{
//println "OWF USING LOCAL REPO"
- resolver createIvySvnResolver()
+ //resolver createIvySvnResolver()
}
}
dependencies {
View
29 ivysettings_offline.xml
@@ -1,29 +0,0 @@
-<ivysettings>
- <typedef name="svn" classname="fm.last.ivy.plugins.svnresolver.SvnResolver" />
- <properties file="ivy.properties" />
- <settings defaultResolver="chain" />
- <property name="ivy.local.default.root" value="${ivy.default.ivy.user.dir}/local"
- override="false" />
- <property name="ivy.local.default.ivy.pattern"
- value="[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]"
- override="false" />
- <property name="ivy.local.default.artifact.pattern"
- value="[organisation]/[module]/[revision]/[type]s/[artifact]-[revision].[ext]"
- override="false" />
- <latest-strategies>
- <latest-time name="newest-strategy" />
- </latest-strategies>
- <resolvers>
- <chain name="chain" checkmodified="true" >
- <filesystem name="local" alwaysCheckExactRevision="true" >
- <ivy pattern="${ivy.local.default.root}/[organisation]/[module]/ivy-[revision].xml" />
- <artifact
- pattern="${ivy.local.default.root}/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]" />
- </filesystem>
- <filesystem name="offline" checkmodified="true">
- <ivy pattern="${offline_repo}/[organisation]/[module]/ivys/ivy-[revision].xml" />
- <artifact pattern="${offline_repo}/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]" />
- </filesystem>
- </chain>
- </resolvers>
-</ivysettings>

0 comments on commit 2ea1efd

Please sign in to comment.