I've fixed and released it. I needed to modify the settings.xml by adding archetypeRepository as in [0] for the plugin to pick-up the latest archetypes.
[0] - https://wiki.openmrs.org/display/docs/Using+the+Module+Maven+Archetype -Rafal On 7 February 2012 02:56, Darius Jazayeri <[email protected]> wrote: > 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 >> > > ------------------------------ > 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]

