0

Build/Install Maven Projects in Separate Directors in Travis CI via GitHub

This blog demonstrates how to build/install maven projects in separate directories in Travis CI via GitHub.com.

One Repository, one Maven project

Normally, you would have one project in a particular GitHub repository. You could also have a single parent project with multiple child projects.

But what if you have projects in separate directories?

You could build them one by one.

.travis.yml

You could instruct Travis CI to build/install each project. Consider this .travis.yml file.

Mvn Install Log Output

You may check the output log for this at

https://travis-ci.org/Turreta/spring-rest-template-demo

Karl San Gabriel

Karl San Gabriel

Java and Enterprise Technologies Expert