In this chapter, we will be looking at the specific features that TeamCity provides to set up CI for Java projects. We will be covering the following topics in the context of how they can be implemented using TeamCity:
Using Ant build files to build a Java project
Performing simple and complex Maven lifecycle activities for our project
Getting started with building a project with Gradle
Learning about database migrations, and their role in CI
In the process, we will be also be looking at other essential tools in the Java ecosystem, such as JUnit, Emma, JaCoCo, and more. We will also be exploring the rich integration that TeamCity has with these tools, thereby making it very simple and straightforward to set up our builds.