use maven to resolve offline karaf
Change-Id: I675f991599017f529252633578c26eaa0216689b
diff --git a/lib/BUCK b/lib/BUCK
index 6dd11cf..2c60230 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Fri, 5 Jan 2018 18:08:19 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Fri, 5 Jan 2018 21:10:43 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 53276da..544bf8e 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",