Skip to main content

Core Concepts

The plugin works around three concepts:

ConceptsMeaning
POMThe detailed information contains in a publication.
pubIt refers to a publication, which consists of a collection of artefacts. It is a unit of publication for a component. It is possible to publish multiple components in one (sub-)project.
repositoryIt refers to a destination of publishing. It could be the Maven Central repository or internal Maven repositories. One pub can be targeted to multiple repositories. Each of them may need some setting in gradle.properties to specify the server URL, credentials, etc.

Jarbird plugin creates a number of tasks for publishing. They are prefixed with jb.

We will cover POM first.