Your version control system (VCS) should have a client spec created strictly for build server use. The client spec maps the VCS depot structure to the local workstation directory structure by specifying views in the client spec. The easiest way is to map the entire app server structure to a particular local directory.
A client spec should be created that, for example, maps a VCS depot //SPL/CM_PROJ1/ to the C:\SPL\CM_PROJ1 folder on the local workstation.
Maven also uses the repository concept to store all Java libraries it will use to satisfy dependencies. Since all the libraries needed are in the app server WEB-INF/lib directory, this should also be mapped to the repository Maven will use. It is assumed that the build server will perform the build process in a build directory (e.g., C:\SPL\CCB_PROJ1\build directory).
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.