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]
>>
>
>

_________________________________________

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