fixed potential bogus int->long conversation
[fiscal-year.java.git] / build / docker / build-environment.yml
blob1a893788e3f8f5b10f0bea001980c831d55ca12e
2 # This file is part of fiscal-year. It is subject to the license terms in the LICENSE file found in the top-level
3 # directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of fiscal-year,
4 # including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5 # in the LICENSE file.
8 version: '2'
10 services:
11   build-environment:
12     image: sebhoss/maven-build-environment:latest
13     volumes:
14      - "../../:/project"
15     working_dir: /project
16     external_links:
17      - local-nexus:nexus
18     network_mode: bridge
20   # run this to verify the project inside a container
21   verify-project:
22     extends:
23       file: build-environment.yml
24       service: build-environment
25     container_name: fiscal-year-verifier
26     command: mvn clean verify --settings /config/settings.xml -Dmaven.repo.local=/repository
28   # run this to cleanup your local target/ folder after running verify-project
29   clean-project:
30     extends:
31       file: build-environment.yml
32       service: build-environment
33     container_name: fiscal-year-cleaner
34     command: mvn clean --settings /config/settings.xml -Dmaven.repo.local=/repository