FYI, I tested changing scope to provided, and that fixes things.

Rafal, can you fix this and re-release when you get a chance? (
https://tickets.openmrs.org/browse/EMMA-19)

-Darius

On Mon, Feb 6, 2012 at 2:31 PM, Darius Jazayeri <[email protected]> wrote:

> Hi All,
>
> I just created a new module with the archetype, and I notice that when I
> tell it to require a module, it includes that module in the pom like
>
> <dependency>
> <groupId>org.openmrs.module</groupId>
> <artifactId>htmlformentry-api</artifactId>
> <version>1.8.3-SNAPSHOT</version>
> <type>jar</type>
> <scope>compile</scope>
> </dependency>
>
> Shouldn't it be included with scope = provided?
>
> When I install my new module, the htmlformentry module that it requires is
> broken with Service not found: interface
> org.openmrs.module.htmlformentry.HtmlFormEntryService. I assume this is
> because the new module includes htmlformentry-api.jar, which gets loaded
> with its own classloader.
>
> -Darius
>

_________________________________________

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