Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 31

...

You need to have a login to mavenrepo.openmrs.org. (This does not use your OpenMRS ID.) You can request an account at http://go.openmrs.org/helpdeskOnce you have a username and password to the maven repository, you can specify your username and password in settings.xml (in your ~/.m2 directory):

Code Block
<settings>
  <servers>
    <server>
    	  <id>central<<id>openmrs-repo</id>
      <username>yourusername</username>
      <password>yourpassword</password>
    </server>
    <server>
      <id>openmrs-repo-modules</id>
      <username>yourusername</username>
      <password>yourpassword</password>
    </server>
	<server>
      <id>openmrs-repo-releases</id>
      <username>yourusername</username>
      <password>yourpassword</password>
    </server>
	<server>
 <id>snapshots<     <id>openmrs-repo-snapshots</id>
      <username>yourusername</username>
      <password>yourpassword</password>
    </server>
  </servers>
</settings>

...

Code Block
<distributionManagement>
	 <repository>
        <id>central</id>
        <name>openmrs-releases</name>
        <url>https://openmrs.jfrog.io/openmrs/modules</url>
    		<id>openmrs-repo-modules</id>
		<name>Modules</name>
		<url>http://mavenrepo.openmrs.org/nexus/content/repositories/modules/</url>
	</repository>
	<snapshotRepository>
        <id>snapshots<		<id>openmrs-repo-snapshots</id>
        <name>openmrs-snapshots</name>
        <url>https		<name>OpenMRS Snapshots</name>
		<url>http://mavenrepo.openmrs.jfrog.io/openmrsorg/nexus/content/repositories/snapshots</url>
    	</snapshotRepository>
</distributionManagement>

...