The purpose of this document is to document the the migration of the Nexus server to NCI and how LexEVS builds need to be updated.
The original Nexus server is being retired. It was located here:
The new Nexus server will be hosted at NCI here:
In this repository, there are three main directories that are used for LexEVS builds:
This migration will require the LexEVS build scripts to be updated.
LexEVS 6.4.1 was built pointing to the original Nexus server. They LexEVS projects can be separated into maven and ant builds.
The following projects are maven projects:
- URI Resolver
The maven projects can be rebuilt without modifying the pom.xml files.
The following maven options will need to be set to set the correct https protocols. This can be done with the following command:
export MAVEN_OPTS="-Dhttps.protocols=TLSv1.1,TLSv1.2 -Dforce.http.jre.executor=true -Xmx3072m -XX:MaxPermSize=752m"
There are LexEVS 6.4.1 artifacts that have been migrated to the NCI Nexus server that contain POM.XML files. These POM files point to the old Nexus server that is no longer in service. The old Nexus server can be overridden to point to the new NCI Nexus service. This can be done by adding a settings.xml file to <user>/.m2/ directory. The contents of this file should include mirror repositories to the NCI Nexus server. Below is an example of what the settings.xml file needs to contain:
<settings> <mirrors> <mirror> <id>edu.informatics.maven.thirdparty.mirror</id> <name>NCI Maven 3rd Party Repository - MIRROR</name> <url>https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVS3rdParty</url> <mirrorOf>edu.informatics.maven.thirdparty</mirrorOf> </mirror> <mirror> <id>edu.informatics.maven.releases.mirror</id> <name>NCI Maven Releases Repository- MIRROR</name> <url>https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSRelease</url> <mirrorOf>edu.informatics.maven.releases</mirrorOf> </mirror> <mirror> <id>edu.informatics.maven.snapshot.mirror</id> <name>NCI Maven snapshot - MIRROR</name> <url>https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSSnapshots</url> <mirrorOf>edu.informatics.maven.snapshot</mirrorOf> </mirror> </mirrors> </settings>
The following projects are ant projects:
- lexevs-remote API
There is no workaround to build the existing 6.4.1 ant projects to point to the new NCI Nexus server without modifying the existing ivysettings.xml for each project.
All future build of the lexevs projects (after version 6.4.1) will point to the NCI Nexus server.
Future ant builds will require the following ANT_OPTS to allow https protocols to work.
export ANT_OPTS="-Dhttps.protocols=TLSv1.1,TLSv1.2 -Dforce.http.jre.executor=true -Xmx3072m -XX:MaxPermSize=752m"