NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Migrate Nexus LexEVS artifacts from Informatics to NCI Nexus server.
  • Create NCI Nexus user with authority to publish to the NCI Nexus server.
    • Service Account created: NCI_lexevs_nexus
  • Ability for maven build script to publish to NCI Nexus server.
    • CTS2 Framework build can publish artifacts to NCI Nexus Server.
    • Uses Service Account: NCI_lexevs_nexus
  • Ability for Ant build script to publish artifacts to the NCI Nexus server.

Work To Do Next

  • Investigate and come up with a solution to publish ant build artifacts (lexevs build) to the NCI Nexus serverencrypt the user/pw for publishing using an Ant script.

Nexus Servers

Informatics Nexus Server

ProjectPublish ProcessLocation: Release ArtifactsLocation: Snapshot ArtifactsNotes
lexevsant script

16 directories under:

<Same location as the release artifacts>Snapshots and Releases are under the same release directory.
cts2-frameworkmaven script

Snapshots are under a snapshots directory.

Releases are under a release directory.

lexevs-remotemanual

3 directories:

<Same location as the release artifacts>Snapshots and Releases are under the same release directory.

 

NCI Nexus Server

Need to determine if snapshots will go to the lexevs release or snapshot directory:

Snapshot directory
ProjectPublish ProcessLocation: Release ArtifactsLocation: Snapshot ArtifactsNotesStatus
lexevsant script

16 directories under:

TBD

16 directories under:

  • To publish to the snapshot directory, the version needs to be in the form of *-SNAPHOT
  • Ant doesn't recognize this correctly.  We additionally need to update lbPackager/
Coordinate with NCI SCM team to investigate ant script options.
  • ivysettings.xml - Change the ncimvn.releases.repo property to point to the snapshots directory.

Success publishing lexevs artifacts to NCI Nexus server.

  • Uses
    • ant -Dncimvn.password=<password> deploy
      • password is for user NCI_lexevs_nexus
cts2-frameworkmaven script

https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSSnapshots/edu/mayo/cts2/cts2-framework/

https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSSnapshots/edu/mayo/cts2/framework/

  • cts2-* directories
 

Success publishing CTS2 Framework to NCI Nexus server.

  • Uses
    • mvn release:prepare
    • mvn release:perform
  • User: NCI_lexevs_nexus
  • Note the above way will automatically update all of the pom files versions.  This is a two step process.

Alternatively, if the version is already set in the pom file, you can run the following to build and put the artifacts on the Nexus server:

  • mvn clean deploy
lexevs-remotemanual

3 directories:

TBD

Need to determine if snapshots will go to the lexevs release or snapshot directory:

Snapshot directory