use maven to resolve offline karaf
Change-Id: I4db1c8a7e0bf326335504094cc12fa0c045e83bc
diff --git a/lib/BUCK b/lib/BUCK
index 4571be6..25237dc 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Wed, 20 Dec 2017 22:01:23 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Thu, 21 Dec 2017 19:16:52 GMT. Do not edit this file manually. *****
# ***** Use onos-lib-gen *****
pass_thru_pom(
@@ -1144,7 +1144,7 @@
remote_file (
name = 'apache-karaf',
out = 'apache-karaf-offline-3.0.8.tar.gz',
- url = 'https://repo1.maven.org/maven2/org/onosproject/apache-karaf-offline/3.0.8/apache-karaf-offline-3.0.8.tar.gz',
+ url = 'mvn:org.onosproject:apache-karaf-offline:tar.gz:3.0.8',
sha1 = '2503c5853285e3414da15aef8d8f3f629747c927',
visibility = [ 'PUBLIC' ],
)
diff --git a/lib/deps.json b/lib/deps.json
index 630775d..7b50ec6 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -220,9 +220,7 @@
"typesafe-config": "mvn:com.typesafe:config:1.2.1",
"validation-api": "mvn:javax.validation:validation-api:1.1.0.Final",
"checkstyle": "mvn:com.puppycrawl.tools:checkstyle:6.19",
- // buck's MavenUrlDecoder cannot handle tar.gz type
- //"apache-karaf": "mvn:org.onosproject:apache-karaf-offline:tar.gz:3.0.8",
- "apache-karaf": "https://repo1.maven.org/maven2/org/onosproject/apache-karaf-offline/3.0.8/apache-karaf-offline-3.0.8.tar.gz",
+ "apache-karaf": "mvn:org.onosproject:apache-karaf-offline:tar.gz:3.0.8",
"bndlib": "mvn:biz.aQute.bnd:biz.aQute.bndlib:jar:3.1.0",
"bndexe": "mvn:biz.aQute.bnd:biz.aQute.bnd:3.1.0",
"libthrift": "mvn:org.apache.thrift:libthrift:0.9.3",