I was successfully able to manually deploy a module to the "Modules" repo, but 
I just tried without success to deploy a mavenized module via mvn clean deploy.

I am able to deploy the module to the Releases repo if I have the following 
configuration in my main module pom:

<distributionManagement>
       <repository>
              <id>openmrs-repo-releases</id>
              <name>Releases</name>
              
<url>http://mavenrepo.openmrs.org/nexus/content/repositories/releases/</url>
       </repository>
</distributionManagement>

However, I changed the pom to the following (basically changing "releases" to 
"modules") but got a 401 error:

<distributionManagement>
       <repository>
              <id>openmrs-repo-modules</id>
              <name>Modules</name>
              
<url>http://mavenrepo.openmrs.org/nexus/content/repositories/modules/</url>
       </repository>
</distributionManagement>

Do we know what the correct configuration should be to deploy to the "modules" 
repo?  I assume since Ben just set this up this repo this morning we may need 
to do some further configuration? Once we get this working, we should include 
this distributionManagement configuration in the Maven module archetype (if it 
isn't already) and the script to mavenize a module.

Take care,
Mark






_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to