blob: f1a8a003f90415170c13145f313a3857b5e0540f [file] [log] [blame]
ramvermaaf74a622018-07-31 18:25:39 +01001//
2// ============LICENSE_START=======================================================
3// Copyright (C) 2016-2018 Ericsson. All rights reserved.
4// ================================================================================
5// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
6// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
7//
8// SPDX-License-Identifier: CC-BY-4.0
9// ============LICENSE_END=========================================================
10//
11// @author Sven van der Meer (sven.van.der.meer@ericsson.com)
12//
13
14== Checkstyle with Maven
15
16The codestyle for all APEX java projects can be checked automatically.
17The checks include empty or non-existing Javadocs.
18Any checkstyle run should complete without any errors, some warnings are acceptable.
19
20To run checkstyle on an APEX Maven project use:
21
22[source%nowrap,sh]
23----
24mvn checkstyle:check
25----
26
27
28To run checkstyle on all modules use:
29
30[source%nowrap,sh]
31----
32mvn checkstyle:checkstyle -DapexAll
33----
34