Thanks, Christian. Confirmed fixed.
Kind regards,
Ben.
On 10/11/17 17:07, Christian Ward-Garrison wrote:
Hi Ben,
You're right, json-taglib was missing from the new Nexus. It turns out that
it lived in a (seemingly irrelevant) repository on the old server that
didn't get migrated over. And I didn't notice it in my testing due to
cached dependencies. Whoops.
In any event, it's there now:
https://artifacts.unidata.ucar.edu/#browse/browse/components:unidata-3rdparty:c7545579a7a153901afe426eda8023d3
Also, I have a PR on GitHub (https://github.com/Unidata/thredds/pull/942)
that updates thredds to use the new Nexus server. Previously, it too was
failing to find json-taglib. Now it's passing. So, you should be good to go.
Thanks,
Christian
On Thu, Nov 9, 2017 at 5:10 PM, Ben Caradoc-Davies <ben@xxxxxxxxxxxx> wrote:
Christian,
after updating gradle/dependencies.gradle to use the new paths, I almost
get there, but the build still fails with a missing json-taglib (ncwms
transitive dependency), which I cannot find anywhere in the artifactory
asset browser. (Not a DNS issue: I must be using the new server because I
can see version 3.6 in the asset browser.)
Error:
Could not resolve all dependencies for configuration
':tds:compileClasspath'.
Could not find json-taglib:json-taglib:0.4.1.
Searched in the following locations:
https://jcenter.bintray.com/json-taglib/json-taglib/0.4.1/js
on-taglib-0.4.1.pom
https://jcenter.bintray.com/json-taglib/json-taglib/0.4.1/js
on-taglib-0.4.1.jar
https://repo1.maven.org/maven2/json-taglib/json-taglib/0.4.
1/json-taglib-0.4.1.pom
https://repo1.maven.org/maven2/json-taglib/json-taglib/0.4.
1/json-taglib-0.4.1.jar
https://artifacts.unidata.ucar.edu/repository/unidata-all/
json-taglib/json-taglib/0.4.1/json-taglib-0.4.1.pom
https://artifacts.unidata.ucar.edu/repository/unidata-all/
json-taglib/json-taglib/0.4.1/json-taglib-0.4.1.jar
https://artifacts.unidata.ucar.edu/repository/unidata-3rdpar
ty/json-taglib/json-taglib/0.4.1/json-taglib-0.4.1.pom
https://artifacts.unidata.ucar.edu/repository/unidata-3rdpar
ty/json-taglib/json-taglib/0.4.1/json-taglib-0.4.1.jar
https://dl.bintray.com/cwardgar/maven/json-taglib/json-
taglib/0.4.1/json-taglib-0.4.1.pom
https://dl.bintray.com/cwardgar/maven/json-taglib/json-
taglib/0.4.1/json-taglib-0.4.1.jar
http://maven.asascience.com/maven/ncsos-releases/json-taglib
/json-taglib/0.4.1/json-taglib-0.4.1.pom
http://maven.asascience.com/maven/ncsos-releases/json-taglib
/json-taglib/0.4.1/json-taglib-0.4.1.jar
Required by:
project :tds > uk.ac.rdg.resc:ncwms:1.2.tds.4.6.11-SNAPSHOT
My change:
https://artifacts.unidata.ucar.edu/content/repositories/unidata
-> https://artifacts.unidata.ucar.edu/repository/unidata-all/
https://artifacts.unidata.ucar.edu/content/repositories/unidata-3rdparty/
https://artifacts.unidata.ucar.edu/repository/unidata-3rdparty/
As a diff:
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 603243988..aa283c0d6 100755
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -12,10 +12,10 @@ allprojects { // Doesn't apply any plugins: safe to
run closure on all projects
jcenter()
mavenCentral() // JCenter isn't quite a superset of Maven
Central.
maven {
- url "https://artifacts.unidata.uca
r.edu/content/repositories/unidata"
+ url "https://artifacts.unidata.uca
r.edu/repository/unidata-all/"
}
maven {
- url "https://artifacts.unidata.uca
r.edu/content/repositories/unidata-3rdparty/"
+ url "https://artifacts.unidata.uca
r.edu/repository/unidata-3rdparty/"
}
maven {
url "https://dl.bintray.com/cwardgar/maven/" // For
'com.cwardgar.gretty:gretty-fork'.
Kind regards,
--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
--
Ben Caradoc-Davies <ben@xxxxxxxxxxxx>
Director
Transient Software Limited <http://transient.nz/>
New Zealand