Wyclif--

No, as far as I know we haven't deployed any module snapshots to mavenrepo, so 
adding a dependency on a module snapshot won't work.

If you want to test against a snapshot version of a module, you could install 
that snapshot in your local repo with a "mvn install" (I think this works).  
Then you would be able to include a reference to that snapshot in a pom... but 
you'd want to be careful not to commit the pom with the snapshot reference, 
because it won't work for anyone else unless they also use "mvn install" to 
install the required snapshot locally.

Mark

________________________________________
From: [email protected] [[email protected]] On Behalf Of Wyclif Luyima 
[[email protected]]
Sent: Wednesday, April 11, 2012 7:05 PM
To: [email protected]
Subject: Re: [OPENMRS-DEV] Maven repo -- "modules" repo not included among 
"public" repos?

What i meant to ask is if maven finds module snapshots, because i added a 
dependency for a module snapshot jar file and maven couldn't find it, i was 
just wondering if it works for you.

Wyclif

On Wed, Apr 11, 2012 at 6:35 PM, Mark Goodrich 
<[email protected]<mailto:[email protected]>> wrote:
There isn’t a “module snapshots” repo.

The issue is that since the “modules” repo is not included among the “public” 
repos, maven can’t find any dependencies in that repo unless you add that repo 
to your “settings.xml”.

Mark

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Wyclif Luyima
Sent: Wednesday, April 11, 2012 3:42 PM
To: 
[email protected]<mailto:[email protected]>
Subject: Re: [OPENMRS-DEV] Maven repo -- "modules" repo not included among 
"public" repos?

How about module snapshots?

Wyclif
On Wed, Apr 11, 2012 at 3:12 PM, Mark Goodrich 
<[email protected]<mailto:[email protected]>> wrote:
We’ve got several different Openmrs maven repos that we use:

http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/

http://mavenrepo.openmrs.org/nexus/content/repositories/releases/

http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty/

http://mavenrepo.openmrs.org/nexus/content/repositories/modules/


However, in our pom and settings files that tell maven where to look for 
dependencies we reference only a single repo:

http://mavenrepo.openmrs.org/nexus/content/repositories/public/

This repo seems to be an aggregate of the content of all the above repositories 
*except* for the “modules” repo.  Because of this, maven is unable to find 
dependencies in this “modules” repo.  I’m guessing this is just a matter of 
adding the “modules” repo to the list of “public” repos?

Take care,
Mark
________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list

________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list
________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list

________________________________
Click here to 
unsubscribe<mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l> 
from OpenMRS Developers' mailing list

_________________________________________

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