Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml travis deploy Jul 19, 2019
Dockerfile Back to Java 10 Jul 5, 2018
README.md
settings.xml add more 'pass' profiles Dec 28, 2017

README.md

Maven Builder (Cross Compiler)

The builder uses a pre defined settings.xml file with the maven repo configuration.

Usage

  • Provide the source code in a volume named data. E.g.
git clone https://code.linksmart.eu/la/data-processing-agent.git src
  • Run the builder with the normal maven comands as arguments. E.g. using install phase skiping test
docker run --rm -v src:/data docker.linksmart.eu/ci/maven-builder install -Dskip
  • In case of need to provide access to the LinkSmart maven repo, the password and optionally the username (in case is not pipelines server) must be provided. This can be done by setting the environmental variables SERVER_PASSWORD and/or SERVER_USERNAME using -e . E.g.:
docker run --rm -v src:/data -e SERVER_PASSWORD=thisIsNoPass -e SERVER_USERNAME=thisIsNoUser docker.linksmart.eu/ci/maven-builder deploy
  • If new maven repos must be added, the settings.xml file located in https://code.linksmart.eu/scm/ci/docker-builder.git must be updated and the image rebuild.
You can’t perform that action at this time.