Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

27 lines (23 loc) · 1.26 KB

Import projects in Eclipse with project dependencies

1. launch build.sh

the script initializes the demo projects

2. Import both projects using "Import as maven project"

Import

3. Verify properties of app projects

  • right click on app project
  • select "Java Build Path"
  • goto "Libraries" tab
  • look at maven dependencies, there should be a jar dependency to lib-1.0.0.jar from your MLR Import

4. Let's make a project dependency

  • notice the profile "eclipse" in app pom.xml
  • right click on app project
  • select "Maven"
  • in "Active Maven Porfiles", enter eclipse
  • verify that checkbox "Resolve dependencies from Workspace projects" is checked Import
  • click apply. Eclipse detects a change in the project configuration and ask to update the configuration. Answer yes. Import
  • now if you verify again the dependencies of the app project, you will find a project dependency to the library one Import

Enjoy Eclipse & jgitver-maven-plugin !