NIH | National Cancer Institute | NCI Wiki  

Contents of this Page

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. 

Overview

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.

Existing Builds

LexEVS 6.4.1 was built pointing to the original Nexus server. They LexEVS projects can be separated into maven and ant builds.

Maven Builds

The following projects are maven projects:

  • lexevs-service
  • CTS2-Framework
  • 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:

MAVEN OPTS
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.xml
    <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>

Ant Builds

The following projects are ant projects:

  • lexevs
  • 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.

Future Builds

All future build of the lexevs projects (after version 6.4.1) will point to the NCI Nexus server.

Ant Builds

Future ant builds will require the following ANT_OPTS to allow https protocols to work.

ANT OPTS
export ANT_OPTS="-Dhttps.protocols=TLSv1.1,TLSv1.2 -Dforce.http.jre.executor=true -Xmx3072m -XX:MaxPermSize=752m"

Maven Builds

Future maven builds will also need maven options to be set to set the correct https protocols.  
See the MAVEN_OPTS export command above.

 

  • No labels