Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Please see `third-party-licenses/`.

## How to use

The latest released and snapshot software artifacts (e.g. `.jar` files) are available from Unidata's Nexus repository:
The latest released and snapshot software artifacts (e.g. `.jar` files) are available from Unidata's artifacts repository:

* https://artifacts.unidata.ucar.edu/#browse/browse:unidata-all

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ publishing {
url = uri("https://artifacts.unidata.ucar.edu/repository/unidata-snapshots/")
}
credentials {
username = extra.properties["nexus.username"] as? String
password = extra.properties["nexus.password"] as? String
username = extra.properties["artifacts.username"] as? String
password = extra.properties["artifacts.password"] as? String
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/src/site/pages/netcdfJava/developer/DocGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ permalink: doc_guide.html
## Working with the Docs

The THREDDS project utilizes Jekyll for building and organizing documentation.
We use JRuby to run Jekyll, and have included into our gradle build system.
Jekyll can build an html based documentation set for publication on the web, which we run in an automated fashon and publish to our nexus server with each github commit.
We use Docker to run Jekyll, and have included into our gradle build system.
Jekyll can build an html based documentation set for publication on the web.
Jekyll also has the capability to stand up a local webserver to allow for live editing of the documentation.
Simply execute the following from the command line at the top level of the github repo:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ The uber jars, such as `toolsUI.jar` and `netcdfAll.jar`, will be found in `buil
## Publishing

NetCDF-Java comprises several modules, many of which you can use within your own projects, as described [here](using_netcdf_java_artifacts.html).
At Unidata, we publish the artifacts that those modules generate to our Nexus repository.
At Unidata, we publish the artifacts that those modules generate to our artifacts repository.

However, it may happen that you need artifacts for the in-development version of netCDF-Java in your local branch, which we usually don’t upload to Nexus.
However, it may happen that you need artifacts for the in-development version of netCDF-Java in your local branch, which we usually don’t upload to the artifacts' server.
We do publish nightly SNAPSHOTS, but those may not have the development changes you are currently working on.
Never fear: you can build them yourself and publish them to your local Maven repository!

Expand Down
12 changes: 12 additions & 0 deletions native-compression/libaec-native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,18 @@ tasks.processResources { dependsOn(processNativeResources) }
var publishTaskName = "nativeLibs"

publishing {
// we only publish releases of the native jars
repositories.clear()
repositories {
maven {
name = "releases"
url = uri("https://artifacts.unidata.ucar.edu/repository/unidata-releases/")
credentials {
username = extra.properties["artifacts.username"] as? String
password = extra.properties["artifacts.password"] as? String
}
}
}
publications {
create<MavenPublication>(publishTaskName) {
from(components["java"])
Expand Down
12 changes: 12 additions & 0 deletions native-compression/libblosc2-native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@ tasks.processResources { dependsOn(processNativeResources) }
var publishTaskName = "nativeLibs"

publishing {
// we only publish releases of the native jars
repositories.clear()
repositories {
maven {
name = "releases"
url = uri("https://artifacts.unidata.ucar.edu/repository/unidata-releases/")
credentials {
username = extra.properties["artifacts.username"] as? String
password = extra.properties["artifacts.password"] as? String
}
}
}
publications {
create<MavenPublication>(publishTaskName) {
from(components["java"])
Expand Down
4 changes: 2 additions & 2 deletions project-files/jenkins/pipelines/docs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ pipeline {
select-java temurin 11
set +x
./gradlew \
-Pnexus.username=`get_pw NEXUS_USER` \
-Pnexus.password=`get_pw NEXUS_PW` \
-Partifacts.username=`get_pw ARTIFACTS_USER` \
-Partifacts.password=`get_pw ARTIFACTS_PW` \
-x :docs:buildJekyllSite \
:docs:publishAsVersionedUserGuide
'''
Expand Down
Loading