Hi All, I've attempted to record a screencast about "how to install OpenMRS as a core developer" several times now, and each time I run into a (different) showstopper in the middle of my screencast. (This is not a good commentary on our reliance on Eclipse as our recommended development platform, FWIW.)
I've worked around a few of the issues (mysql not installing, Eclipse using the JRE instead of the JDK), but now I'm running into a showstopper I've never seen before, and I have no idea what's up. I'm running on a Windows XP virtual machine through Parallels on OSX, and after installing the relevant eclipse plugins and checking out the trunk code, I hit several bugs. The plugins I've installed are: * Maven Integration for Eclipse (1.0.0.20110607-2117) * Subclipse (1.6.18) * m2e connector for maven-scm-plugin (1.0.0.201107091852) * Maven SCM handler for Subclipse (0.13.0.201107071330) After installing those, the first time I tried to do a maven build, Eclipse asked me to install these two plugins: (I have never seen this behavior before, but the plugin versions I installed for this screencast are newer than what I've used before...) * m2e connector for build-helper-maven-plugin (0.13.0.20110622-1538) * m2e connector for mavenarchiver pom properties (0.14.0.201108020602) 1. If I try to Run As -> Maven install on the root OpenMRS project, it fails, with the message below. (This doesn't make sense because the version numbers of those two dependencies are given in the dependencyManagement section of the pom.xml of the parent project... [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.openmrs.web:openmrs-web:1.9.0-SNAPSHOT (\\psf\Home\workspace\openmrs\web\pom.xml) has 2 errors [ERROR] 'dependencies.dependency.version' for postgresql:postgresql:jar is missing. @ line 89, column 19 [ERROR] 'dependencies.dependency.version' for net.sourceforge.jtds:jtds:jar is missing. @ line 93, column 19 [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/ProjectBuildingException 2. When I open up the pom.xml files in openmrs-api, openmrs-web, or openmrs-webapp, I get this message: Plugin execution not covered by lifecycle configuration: com.googlecode.maven-java-formatter-plugin:maven-java-formatter-plugin:0.3:format (execution: default, phase: process-sources) I'm kind of at a loss here. Suggestions are welcome. -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]

