Versions Compared

Key

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

Currently all modules in 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. 

...

  • 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<server>

 

Code Block
borderStylesolid
titlesettings.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

 

Page Properties
hiddentrue
Related issues