Roger,

Also check your maven profile configuration. It's in the settings.xml.
Make sure you're not referencing Rowan's local repository :)

On Thu, Dec 15, 2011 at 10:35 AM, Ben Wolfe <b...@openmrs.org> wrote:
> That means your maven isn't connecting to the outside world to find the
> newer version of the plugin.  Make sure you aren't specifically defining the
> version of the plugin anywhere so that it finds the latest.
>
> Also make sure that you don't have maven in "offline" mode.  Remove the -O
> option.  Eclipse preferences has a separate place to set maven to be offline
> globally, make sure thats unchecked too.
>
> Ben
>
>
> On Thu, Dec 15, 2011 at 6:10 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR)
> <r...@cdc.gov> wrote:
>>
>> Ben -- No joy.  Those very lines in rest (the execution tag) have the same
>> error message (as does the format goal's execution tag).  So all it did was
>> increase the number of errors.  I don't have a format goal in my POM.
>>
>>
>>
>> From: dev@openmrs.org [mailto:dev@openmrs.org] On Behalf Of Ben Wolfe
>> Sent: Thursday, December 15, 2011 1:26 AM
>>
>>
>> To: openmrs-deve...@listserv.iupui.edu
>> Subject: Re: [OPENMRS-DEV] OpenMRS Maven Plug-in
>>
>>
>>
>> If you change the "packaging" to a jar in the omod pom.xml and add the
>> below text to the plugin settings, does it work?  See th ws.rest pom for
>> where exactly to put it.
>> http://svn.openmrs.org/openmrs-modules/webservices.rest/trunk/omod/pom.xml
>>
>> <executions>
>>                     <execution>
>>                         <id>init</id>
>>                         <phase>initialize</phase>
>>                         <goals>
>>                             <goal>initialize-module</goal>
>>                         </goals>
>>                     </execution>
>>                     <execution>
>>                         <id>pack</id>
>>                         <phase>package</phase>
>>                         <goals>
>>                             <goal>package-module</goal>
>>                         </goals>
>>                     </execution>
>>                 </executions>
>>
>> On Wed, Dec 14, 2011 at 4:55 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR)
>> <r...@cdc.gov> wrote:
>>
>> 1.  Wizard
>>
>> 2.  Yes.  Have been working to get dependencies on webservices.rest right.
>>
>>
>>
>> From: dev@openmrs.org [mailto:dev@openmrs.org] On Behalf Of Ben Wolfe
>> Sent: Wednesday, December 14, 2011 8:32 AM
>>
>>
>> To: openmrs-deve...@listserv.iupui.edu
>> Subject: Re: [OPENMRS-DEV] OpenMRS Maven Plug-in
>>
>>
>>
>> Maven usually is helpful. :-)  The problem is that when its not it is
>> really not.
>>
>> 1) How did you create your pom.xml file?  Wizard? Conversion? copy/paste
>> from another module?
>> 2) Did you modify it at all?
>> 3) Attach the poms here
>>
>> Ben
>>
>> On Wed, Dec 14, 2011 at 4:15 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR)
>> <r...@cdc.gov> wrote:
>>
>> I get an error flag on the POM file: "Plugin execution not covered by
>> lifecycle configuration:
>> org.openmrs.maven.plugins:maven-openmrs-plugin:1.0.1:initialize-module
>> (execution: default-initialize-module, phase:initialize)"
>>
>> The same message appears as a Maven problem when I try to build the
>> module.
>>
>> Maven is pretty much a black box to me, I just want it to be helpful.
>>
>>
>>
>> From: dev@openmrs.org [mailto:dev@openmrs.org] On Behalf Of Ben Wolfe
>> Sent: Wednesday, December 14, 2011 7:42 AM
>> To: openmrs-deve...@listserv.iupui.edu
>> Subject: Re: [OPENMRS-DEV] OpenMRS Maven Plug-in
>>
>>
>>
>> I can give you a one paragraph description, but I want Matt to expound on
>> it:
>>
>> This plugin is used by maven when compiling openmrs modules.  The plugin
>> will find and package the necessary files into the omod. (I'm sure theres
>> more that it does too)
>>
>> You shouldn't have to import this into your eclipse at all. Maven will see
>> you reference it in the pom and get it from the openmrs maven repo
>> (http://mavenrepo.openmrs.org/nexus/) and put it into your local maven
>> repo.
>>
>> Ben
>>
>> On Tue, Dec 13, 2011 at 11:40 PM, Friedman, Roger (CDC/CGH/DGHA) (CTR)
>> <r...@cdc.gov> wrote:
>>
>> @Matt Blanchette --
>>    I'm looking to install maven-openmrs-plugin and can't figure out how to
>> do it.  I've looked in and around
>> http://svn.openmrs.org/openmrs-contrib/maven/plugins/maven-openmrs-plugin/tags/1.0.1/
>> but I don't see anything that looks like I could simply add it via Eclipse.
>>  Could you give me some help here?  Also, Ben has asked me to do a wiki page
>> about it, so if you could give me a 1 paragraph description of what it does,
>> that would be a big help.
>> Thanks, Roger
>>
>>
>>
>> ________________________________
>>
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>> ________________________________
>>
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>>
>>
>> ________________________________
>>
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>> ________________________________
>>
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>>
>>
>> ________________________________
>>
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>>
>> ________________________________
>> Click here to unsubscribe from OpenMRS Developers' mailing list
>
>
> ________________________________
> Click here to unsubscribe from OpenMRS Developers' mailing list



-- 
Thanks,

Nyoman Ribeka

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]

Reply via email to