Lifecycle tasks

Plugin Task Note

org.ysb33r.lifecycle.base

formatAll

For tasks that perform text and code formatting. An example is the tfFormatAll tasks from the Infrastructure-as-code Plugin suite.

org.ysb33r.lifecycle.docs

assembleDocumentation

Assembles all documentation. Automatically builds javadoc, groovydoc and scaladoc if available.

publishDocumentation

Runs tasks that publish documentation i.e. writing to GitHub/Gitlab pages or a website

org.ysb33r.lifecycle.dev

coverageCheck

Runs code coverage checks outside the check lifecycle. Automatically will run Jacoco verification tasks if they are available. Running the build lifecycle task will also run this task.

securityCheck

Runs security audit checks. A plugin author or build script author could chosoe to wire security vulnerability checks into this lifecycle. Running the build lifecycle task will also run this task.

org.ysb33r.lifecycle.release

deployApplication

Starts all tasks that deploy applications to infrastructure. This could, for instance, be used to send a container image to an AWS ECS task, or to copy files to a static website.

publishLibrary

Start tasks that publish artifacts to central registries. It does not automatically add any publish tasks in from maven-publish or ivy-publish. It is up to the build script author to select which of those publications make sense in a deployment scenario.

Remember that of you do not want to apply these plugins separately, apply the org.ysb33r.lifecycle plugin.