diff options
Diffstat (limited to 'src/site-docs/adoc/fragments/howto-codestyle/31-run-checkstyle-maven.adoc')
-rw-r--r-- | src/site-docs/adoc/fragments/howto-codestyle/31-run-checkstyle-maven.adoc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/site-docs/adoc/fragments/howto-codestyle/31-run-checkstyle-maven.adoc b/src/site-docs/adoc/fragments/howto-codestyle/31-run-checkstyle-maven.adoc new file mode 100644 index 000000000..381153f7b --- /dev/null +++ b/src/site-docs/adoc/fragments/howto-codestyle/31-run-checkstyle-maven.adoc @@ -0,0 +1,30 @@ +// +// ============LICENSE_START======================================================= +// Copyright (C) 2016-2018 Ericsson. All rights reserved. +// ================================================================================ +// This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE +// Full license text at https://creativecommons.org/licenses/by/4.0/legalcode +// +// SPDX-License-Identifier: CC-BY-4.0 +// ============LICENSE_END========================================================= +// +// @author Sven van der Meer (sven.van.der.meer@ericsson.com) +// + +== Run Checkstyle (Maven) + +Run Checkstyle using Maven on the command line with the command: + +[source%nowrap,sh] +---- +mvn checkstyle:check +---- + +On the main APEX project, run a full checkstyle check as: + +[source%nowrap,sh] +---- +mvn checkstyle:checkstyle -DapexAll +---- + + |