Hi Rowan,
Guess your mirror tag saying maven to look only in
http://intare:8080/nexus/content/groups/public .
<settings>
<profiles>
<profile>
<id>OpenMRS</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>
http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>openmrs-repo</id>
<name>OpenMRS Nexus Repository</name>
<url>
http://mavenrepo.openmrs.org/nexus/content/repositories/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<mirrors>
<mirror>
<id>nexus</id>
<mirrorOf>central</mirrorOf>
<url>http://intare:8080/nexus/content/groups/public</url>
</mirror>
</mirrors>
</settings>
the above settings.xml will also help in looking openmrs.maven.repo.
Hope this helps :)
-Goutham
On Thu, Sep 1, 2011 at 5:52 PM, Rowan Seymour <[email protected]>wrote:
> Maybe you could give Matt a wee nudge. The parent thing sounds great but
> can't find any documentation on doing that. Thanks
>
>
> On 30 August 2011 16:21, Ben Wolfe <[email protected]> wrote:
>
>> Matt did all the setup for us, so hopefully he'll chime in here. But
>> you should be able to set up the openmrs repo as a parent. It will
>> then inherit things from our repo mavenrepo.openmrs.org.
>>
>> Ben
>>
>> On Tue, Aug 30, 2011 at 5:14 PM, Rowan Seymour <[email protected]> wrote:
>> > Disclaimer: I'm a Maven noob
>> > I'm trying to create a Nexus Maven proxy for our training class because
>> it
>> > doesn't seem like a good idea to have a dozen students accessing remote
>> > repositories on our internet connection. Alas though the documentation
>> for
>> > all things Maven related is a bit sparse.
>> > The Nexus install is fine and comes with a bunch of repositories already
>> > configured such as Maven Central etc. I then add the following to my
>> Maven
>> > settings.xml and it seems to start using the proxy for everything.
>> >
>> > <mirrors>
>> > <mirror>
>> > <id>nexus</id>
>> > <mirrorOf>*</mirrorOf>
>> > <url>http://intare:8080/nexus/content/groups/public</url>
>> > </mirror>
>> > </mirrors>
>> >
>> > But I have to add all the OpenMRS repositories.. right? Is there a list
>> > somewhere of all repositories I
>> > need? http://mavenrepo.openmrs.org/nexus/content/repositories/ ? When
>> Maven
>> > complains about not finding a plugin is there an easy way to know in
>> which
>> > repository it lives?
>> > --
>> >
>> > Dr Rowan Seymour
>> > Partners In Health, Rwanda
>> > Tel: +250783835665
>> >
>> > ________________________________
>> > Click here to unsubscribe 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]
>>
>
>
>
> --
> *Rowan Seymour*
> tel: +250 783835665
> http://twitter.com/rowanseymour
>
>
> ------------------------------
> Click here to
> unsubscribe<[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]