1. ♥ Set up environment for home coding assignments

Step 1: Setup Java, Maven, and SonarQube

1. Java: Latest possible version. Setting up Java, Maven, and eclipse.

2. Maven 3: For building. Setting up Java, Maven, and eclipse.

3. SonarQube: For code quality. SonarQube with Maven Tutorial – Code Quality for Java developers.

4. Jococo SonarQube: For unit test coverage. Jacoco for unit test coverage with SonarQube tutorial.

Step 2: Create a maven project

Press enter for all prompts to use the default values.

Step 3: The pom.xml

Should have the bare minimum dependencies like junit, slf4j, and logback. The SonarQube plugin for code quality. These are necessary to write production quality code.

Step 4: Create the packages for home assignments

The project structure example used in following home assignments:

pre-interview & self-taught projects Java coding assignments

pre-interview & self-taught projects Java coding assignments

Print Friendly
The following two tabs change content below.
Arulkumaran Kumaraswamipillai
Mechanical Engineering to Java freelancer since 2003. Published Java/JEE books via Amazon.com in 2005, and sold 35K+ copies. Books are outdated and replaced with this online Java training. join my LinkedIn group.
Arulkumaran Kumaraswamipillai

Mechanical Engineering to Java freelancer since 2003. Published Java/JEE books via Amazon.com in 2005, and sold 35K+ copies. Books are outdated and replaced with this online Java training. join my LinkedIn group.

Posted in Writing Code Home Assignements

800+ Interview Q&As with lots of diagrams & code ♥Free | ♦FAQs | Hover/Slide for full text

open all | close all

200+ Java Interview FAQs – Quick Prep

open all | close all

16 Java Key Areas to be a top-notch

open all | close all

80+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all