BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

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

원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗