diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..df6dbbca0b252f08899daefaa08f53978908b14a --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +### https://raw.github.com/github/gitignore/14b7566ce157ce95b07006466bacee160f242284/maven.gitignore + +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties + + diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..a3b214061e558a431391980e254ae9cb79d2bb99 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +sudo: required + +services: + - docker + +language: go + +go: 1.4 + +install: + - go get github.com/openshift/source-to-image + - pushd ${GOPATH}/src/github.com/openshift/source-to-image + - export PATH=$PATH:${GOPATH}/src/github.com/openshift/source-to-image/_output/local/bin/linux/amd64/ + - hack/build-go.sh + - popd + +script: make test diff --git a/README.md b/README.md index 55045314b9dd9a58d58b74d2dd9df25f80f7645d..f4d081d790cac4311b2648b46a6219e3d5b4eddd 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Spring Boot - Maven 3 - CentOS Docker image +[](https://travis-ci.org/codecentric/springboot-maven3-centos) + This repository contains the sources and [Dockerfile](https://github.com/codecentric/springboot-maven3-centos/blob/master/Dockerfile) of the base image for deploying Spring Boot applications as reproducible Docker images. The resulting images can be run either by [Docker](http://docker.io) or using [S2I](https://github.com/openshift/source-to-image). This image is heavily inspired by the awesome [openshift/sti-ruby](https://github.com/openshift/sti-ruby/) builder images. diff --git a/test/test-app/pom.xml b/test/test-app/pom.xml index 7a2e9e0c2d31edc381cc06f9096669961abb248a..de28539d06f62bca1944b0cfb8fc0eee54cf6887 100644 --- a/test/test-app/pom.xml +++ b/test/test-app/pom.xml @@ -20,4 +20,13 @@ <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + </plugin> + </plugins> + </build> </project>