def init()

in src/com/epam/edp/buildtool/Maven.groovy [37:48]


    def init() {
        this.snapshotsPath = job.getParameterValue("ARTIFACTS_SNAPSHOTS_PATH", "edp-maven-snapshots")
        this.releasesPath = job.getParameterValue("ARTIFACTS_RELEASES_PATH", "edp-maven-releases")
        this.groupPath = job.getParameterValue("ARTIFACTS_PUBLIC_PATH", "edp-maven-group")
        this.additionalArgs = job.getParameterValue("ADDITIONAL_BUILDTOOL_ARGS", "")
        this.settings = "--settings ${writeSettingsFile(this.script.libraryResource("maven/settings.xml"))}"
        this.groupRepository = "${nexus.repositoriesUrl}/${this.groupPath}"
        this.releaseRepository = "${nexus.repositoriesUrl}/${this.releasesPath}"
        this.snapshotRepository = "${nexus.repositoriesUrl}/${this.snapshotsPath}"
        this.command = "mvn ${this.settings}"
        this.properties = "-B -Dartifactory.baseUrl=${nexus.baseUrl} -Dartifactory.releasePath=${this.releasesPath} -Dartifactory.snapshotsPath=${this.snapshotsPath} -Dartifactory.groupPath=${this.groupPath} ${this.additionalArgs}"
    }