I've come across this issue on a different project I've worked on. However that was when Maven 3 was introduced. We had lots of issues popping up because the build server was using Maven 2 and we were using Maven 3 in our local environments and they were not compatible with each other. Later on we reverted back to Maven 2. I am not sure whether this incompatibility has been solved now or not though. I am using Maven 3 for OpenMRS and so far I haven't come across any issues with that :)
Regards, Nimantha On Sat, Mar 17, 2012 at 8:35 PM, Darius Jazayeri <[email protected]>wrote: > I didn't even realize I was using maven 3 until Mike solved his problem > and mentioned it. > > I wonder if maybe modules created with the current version of the maven > archetype are not compatible with maven 2. > > -Darius (by phone) > On Mar 15, 2012 1:37 PM, "Saptarshi Purkayastha" <[email protected]> wrote: > >> I've been using maven 2 and maven 3 interchangeably on a few projects >> including OpenMRS >> Have maven 2 on command line and maven3 from Netbeans >> Haven't seen any issues crop up between those... and I use Netbeans >> provided maven3 more often :) >> >> --- >> Regards, >> Saptarshi PURKAYASTHA >> >> My Tech Blog: http://sunnytalkstech.blogspot.com >> You Live by CHOICE, Not by CHANCE >> >> >> On 15 March 2012 20:18, Ben Wolfe <[email protected]> wrote: >> >>> Is this because Darius compiled/committed the openmrs-module-uiframework >>> with maven3? Or have you seen that with other projects as well? If maven3 >>> is not backwards compatible then we need to make sure everyone is using the >>> same version. Looks like I'm using maven 2.2 (default on Ubuntu 11.10) >>> >>> Ben >>> >>> On Thu, Mar 15, 2012 at 11:24 AM, Michael Seaton <[email protected]>wrote: >>> >>>> Hi all, >>>> >>>> I have been having a bunch of issues building some modules with Maven >>>> over the last few days, and recently discovered that they were all due to >>>> incompatibilities between Maven2 and Maven3. I'm on Ubuntu 10.04 LTS, >>>> which only has Synaptic support for Maven2 at this time, so that's what >>>> I've been using. And to be honest, I never thought about maven versions at >>>> all before. But as a shot in the dark, I downloaded Maven3 and tried >>>> building with that and my problems were solved. >>>> >>>> I don't know if we have an established standard for OpenMRS development >>>> or not, but wanted to at least raise this issue here in the event that >>>> someone else runs into Maven-related building errors. For google purposes, >>>> some examples of errors I ran into: >>>> >>>> /home/mseaton/workspace/**openmrs-module-uiframework/** >>>> api/src/main/java/org/openmrs/**ui/framework/page/PageFactory.**java:[9,25] >>>> package javax.servlet.http does not exist >>>> This occurs even though the parent POM specifies servlet jar in the >>>> provided scope. >>>> >>>> /home/mseaton/workspace/**openmrs-module-uiframework/** >>>> omod/src/main/java/org/**openmrs/module/uiframework/**PageController.java:[32,46] >>>> package org.springframework.web.bind.**annotation does not exist >>>> This occurs even though the parent POM specifies spring-webmvc in the >>>> provided scope. >>>> >>>> InitializationErrors on classes in the test package that do not contain >>>> any tests (eg. helper classes). >>>> >>>> Hope this helps someone, >>>> Mike >>>> >>>> ______________________________**___________ >>>> >>>> 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:LISTSERV@LISTSERV.**IUPUI.EDU <[email protected]> >>>> ?body=SIGNOFF%**20openmrs-devel-l] >>>> >>> >>> >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from >> OpenMRS Developers' mailing list > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list > -- Nimantha Baranasuriya Web: http://www.nimantha.info Blog: http://www.nimantha.info/blog Photography: http://www.nimantha.info/photoblog; http://www.flickr.com/photos/nimanthab _________________________________________ 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]

