Skip to content

Instantly share code, notes, and snippets.

@mondain
Created October 5, 2016 13:18
Show Gist options
  • Save mondain/c45741c79026b0623f12fffe9b7f7c8b to your computer and use it in GitHub Desktop.
Save mondain/c45741c79026b0623f12fffe9b7f7c8b to your computer and use it in GitHub Desktop.
Working with exiting Maven Projects in Eclipse
Here's what I do..
1. Create my new branch
2. Pull the code
3. Execute `mvn eclipse:eclipse` in each project subdirectory
4. Import into Eclipse as generic existing (not Maven)
5. Click on each project and select `Configure` then `Convert to Maven project`
6. Click on each project and select `Properties` then `Java Build Path` then `Libraries`, remove direct library links leaving `Maven Dependencies`, `JRE System...`, `Junit 4` entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment