You probably have a maven mirror configured. If I understand correctly, _ALL_ requests made by Maven pass by your atlassian mirror. Since Atlassian does not contain the dependencies OpenMRS need, it fail.
I suggest you to open your ~.m2/settings.xml and comment out the "mirrors" part. Oh, and do mvn -U package for forcing the update. If you do not force, Maven cache the result for 24 hours. On Thu, Aug 11, 2011 at 20:12, Burke Mamlin <[email protected]> wrote: > I checked out OpenMRS 1.8.2: > $ svn co http://svn.openmrs.org/openmrs/tags/1.8.2/ openmrs-1.8.2 > then I changed to the local copy and tried to package it: > $ cd openmrs-1.8.2 > $ mvn package > It fails with this message: > [ERROR] Failed to execute goal > com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.2.0:format > (default) on project openmrs-api: Execution default of goal > com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.2.0:format > failed: Plugin > com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.2.0 > or one of its dependencies could not be resolved: The following artifacts > could not be resolved: org.eclipse.core:jobs:jar:3.3.1, > org.eclipse.equinox:registry:jar:3.3.1: Failure to find > org.eclipse.core:jobs:jar:3.3.1 in > https://m2proxy.atlassian.com/repository/public was cached in the local > repository, resolution will not be reattempted until the update interval of > atlassian-public has elapsed or updates are forced -> [Help 1] > I can see that it's going > to https://m2proxy.atlassian.com/repository/public, presumably because of > some development on Atlassian plugins I've done previously using maven, but > the OpenMRS repository URL is included in pom.xml, so shouldn't it be > checking there as well? Can somebody point out what I'm doing wrong? Does > it really require special configuration of maven to compile/package OpenMRS? > Or has my prior work on Atlassian plugins done something nefarious to my > maven configuration? > Thanks. > -Burke > ________________________________ > Click here to unsubscribe from OpenMRS Developers' mailing list -- Cordialement, Pier-Luc _________________________________________ 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]

