You can put an element in your module to not verify it:
<configuration>
<verifyOmod>false</verifyOmod>
</configuration>
Did you remove that recently? Or set it to true? (cc'ing Matt so he knows
of this thread, he (and motech devs?) is the one that initially wrote the
maven plugin for building modules)
Ben
On Wed, Oct 19, 2011 at 8:43 PM, Jeremy Keiper <[email protected]> wrote:
> I am getting the following error when trying to "mvn install" my module. I
> already moved the ModuleActivator and Extension classes to the OMOD from the
> API as a result of previous errors from this maven plugin, but I do not know
> how to proceed from this point. Can someone involved in developing the
> openmrs:verify-module plugin give me some insight?
>
> ================================
>
> [INFO] [openmrs:package-module {execution: default-package-module}]
> [INFO] Packaging OpenMRS module
> [INFO] Building jar:
> /home/jkeiper/NetBeansProjects/pcslabinterface-trunk/omod/target/pcslabinterface-0.5.1.omod
> [INFO] [openmrs:verify-module {execution: default-verify-module}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
> at
> org.motech.openmrs.plugin.VerifyModuleMojo.execute(VerifyModuleMojo.java:123)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 27 seconds
> [INFO] Finished at: Wed Oct 19 13:36:23 EDT 2011
> [INFO] Final Memory: 36M/350M
> [INFO]
> ------------------------------------------------------------------------
>
>
> Jeremy Keiper
> OpenMRS Core Developer
> AMPATH / IU-Kenya Support
> ------------------------------
> 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]