Using Eclipse with Mavenized Cayenne
(starting with version 3.0)
- Get code from Subversion and build it from command line to seed the local repository. Do not use "mvn eclipse:eclipse" – the .project and .classpath files for eclipse are already in svn.
- Create a workspace outside of the main checkout folder. Make sure the default JRE in Eclipse is 1.5.
- Install Maven2 Eclipse plugin
- Install Subclipse Eclipse plugin if you are planning to use SVN.
- Import modules into the eclipse workspace. You don't have to import all modules, only those that you are planning to work on, as the projects do not have Eclipse-level dependencies on each other (dependencies are resolved via the Maven2 plugin and maven repository jars). Here is the modules you might want to have in the workspace:
- framework/cayenne-jdk1.5-unpublished
- framework/cayenne-modeler
- framework/cayenne-tools
Also possibly
- framework/maven-cayenne-plugin
- framework/maven-cayenne-modeler-plugin