blob: e923ece60575cd6bdcecca57c832164ff1f7ed13 [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== Build with standard Tests
15
16Use Maven to for a standard build with standard tests.
17
18[IMPORTANT]
19.Some tests have specific timing Requirements
20====
21Some of the tests have very specific timing requirements.
22If run on a low-powered build machine, or if the build machine is on high load, those tests might fail and the whole build might fail as well.
23If this happens, reduce the load on your build machine and restart the build.
24====
25
26[width="100%",options="header",cols="5a,5a"]
27|====================
28| Unix, Cygwin | Windows
29|
30[source%nowrap,sh,numbered]
31----
32# cd /usr/local/src/apex
33# mvn clean install
34----
35|
36[source%nowrap,bat,numbered]
37----
38>c:
39>cd \dev\apex
40>mvn clean install
41----
42|====================
43
liamfallona41c8772018-09-05 15:46:31 +010044The build takes about 10 minutes with tests on a standard development laptop.
ramvermaaf74a622018-07-31 18:25:39 +010045It should run through without errors, but with a lot of messages from the build process.
46If build with tests (i.e. without `-DskipTests`), there will be error messages and stack trace prints from some tests.
47This is normal, as long as the build finishes successful.