Hi Apurv, As I said on IRC:
Look at the error message. It says: For artifact {org.openmrs.module:webservices.rest-omod:null:jar}: The version cannot be empty. ...and if you look at webservices.rest-omod in your main pom.xml, it has no version. You need to give it one. Probably 1.0-SNAPSHOT Presumably that means you also need to check out the webservices.rest module and mvn install it, so it's in your local maven repo. -Darius On Wed, May 16, 2012 at 7:47 AM, Apurv Mehra <apurvme...@openmrs.org> wrote: > Hello all, > > All module fail to build. I have checked the poms and config.xml but I'm > unable to fix the problem. > Set up environment > https://wiki.openmrs.org/display/docs/Step+by+Step+Installation+for+Developers > Also followed instructions at: > https://wiki.openmrs.org/display/docs/Using+the+M2Eclipse+Maven+Plugin+In+Eclipse > Goals 'clean install' > > Version: Indigo Service Release 2 > JDK: 1.7 > Subclipse: 1.6.18 > m2e - Maven Integration for Eclipse:1.0.200.20111228-1245 > > "[INFO] > [INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ hospitalcore-api --- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Hospital core module .............................. SUCCESS [0.306s] > [INFO] Hospitalcore API .................................. FAILURE [3.442s] > [INFO] Hospital core module OMOD ......................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 4.344s > [INFO] Finished at: Wed May 16 20:04:11 IST 2012 > [INFO] Final Memory: 15M/45M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on > project hospitalcore-api: Error assembling JAR: For artifact > {org.openmrs.module:webservices.rest-omod:null:jar}: The version cannot be > empty. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :hospitalcore-api" > > API POM: http://pastebin.com/zuSvwL0t > OMOD POM: http://pastebin.com/R7W6f0kG > CONFIG.XML: http://pastebin.com/K0FU7ZMB > > Also tried comments from > https://wiki.openmrs.org/display/IRC/2011-12-17+-+OpenMRS and > http://www.mail-archive.com/dev@openmrs.org/msg01838.html. > > Thanks and Regards, > Apurv > ------------------------------ > Click here to > unsubscribe<lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list _________________________________________ 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]