/
Publish ict4h modules to Nexus

Publish ict4h modules to Nexus

Currently all modules in https://github.com/ict4h are being published by people mostly working in the Bahmni team. Use this guide if you need to publish a jar to the Nexus repository. 

Step-by-step guide

  • Ensure you have gnugpg installed. eg: brew install gpg
  • Generate a key pair - gpg --gen-key
  • Ensure you have the latest master version of the component. 
  • Ensure you have the user id and password for nexus in your .m2/settings.xml

 

settings.xml
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<servers>
    	<server>
			<id>sonatype-nexus-snapshots</id>
			<username>ict4h</username>
			<password>************</password>
		</server>
	</servers>
</settings>

 

  • mvn release:prepare
  • mvn release:perform

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.Related articles

 

Related content

Contributing to OpenMRS
Contributing to OpenMRS
More like this
Release Artifacts (Bahmni and SNOMED-TS Integration)
Release Artifacts (Bahmni and SNOMED-TS Integration)
More like this
How to setup Bahmni-ABDM Features
How to setup Bahmni-ABDM Features
More like this
Release Process
Release Process
More like this
List of Repositories needed for Development on Bahmni
List of Repositories needed for Development on Bahmni
More like this
Release Checklist
Release Checklist
More like this

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)