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) <
[email protected]> wrote:
> 1. Wizard****
>
> 2. Yes. Have been working to get dependencies on webservices.rest right.
> ****
>
> ** **
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Ben Wolfe
> *Sent:* Wednesday, December 14, 2011 8:32 AM
>
> *To:* [email protected]
> *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) <
> [email protected]> 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:* [email protected] [mailto:[email protected]] *On Behalf Of *Ben Wolfe
> *Sent:* Wednesday, December 14, 2011 7:42 AM
> *To:* [email protected]
> *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) <
> [email protected]> 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<[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
> ****
>
> ** **
> ------------------------------
>
> 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
>
_________________________________________
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]