Skip to content

Building GReg via Eclipse Maven

SebastianGoendoer edited this page Jan 15, 2016 · 1 revision

Set up Eclipse

  • Clone dev-registry-global from GitHub
  • Install Eclipse
  • File -> Import... -> Projects from Git ** -> Existing local repository -> choose "dev-registry-global" and "Import as general project"
  • Right click on the new Project -> Configure -> Convert to Maven Project...
To package the project:
  • Run as -> Run Configurations -> new Maven Build ** Base directory: the project directory (i.e. ${workspace_loc:/GlobalRegistry}) ** Goals: clean package
  • run and go to directory target/greg for packaged project
Wrong Package Names (main.java. is shown as improper part of package paths)
  • right click on the project -> Build Path -> Configure Build Path
  • Under "Source" remove src as source folder, and add src/main/java as source folder