Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 2.3 KB

README.md

File metadata and controls

27 lines (19 loc) · 2.3 KB

A sample Spring MVC portlet for Liferay 7 & DXP

Just a very basic portlet build with Spring Portlet MVC. The module can be build with both Gradle or Maven.

The base for the portlet was generated using the maven archetype as provided by Liferay

Features

The following modifications or additions have been added on top of the generated code:

  • Upgraded the Spring version to 4.3.10-RELEASE
  • First name of the user is added in the hello message
  • Unit tests
  • Travis CI configuration for continuous integration (see .travis.yml)
  • Code analysis with SonarCloud
  • Code coverage with JaCoCo & Codecov.io

Continuous Integration, Code Quality and Code Coverage

Because we value Test Driven Development, we have set up Continuous Integration from the start using the following services:

  • Travis CI Travis CI for building the code and running the unit tests
  • Quality Gate SonarCloud for testing the quality of the code
  • Coverage CodeCov for reporting how much of the code is covered by the unit tests