uyuni icon indicating copy to clipboard operation
uyuni copied to clipboard

Migrate to Maven

Open mackdk opened this issue 3 years ago • 0 comments

Description

Migrate project to Maven and refactor java source structure to match the standard Maven directory layout

Results

  • [X] Write scripts to move the current source code to the correct directory
  • [X] Write pom files to define project modules
  • [X] Build the project with Maven and produce correct artefacts (same contents as the one generated by ant)
  • [X] Run check style with Maven
  • [X] Run unit tests with Maven
  • [X] Import the project inside Intellij Idea and ensure it works
  • [ ] Improve structure of POMs and centralise the common modules configuration
  • [ ] Perform deployment to development server with Maven (WIP)
  • [ ] Update ant scripts to match the new folder structure (WIP)
  • [ ] Execute obs-to-maven as part of the build process
  • [ ] Import the project inside other IDEs

How to build

Currently the obs-to-maven script needs to be run manually before attempting the build process. After that to build the java application just execution mvn install from within the directory java.

mackdk avatar Nov 12 '21 13:11 mackdk