BrooklynCentral ROOT

BrooklynCentral project root, serving as the ancestor POM for all projects contained in the brooklyncentral GitHub's organisation.

License

License

GroupId

GroupId

io.brooklyn
ArtifactId

ArtifactId

brooklyncentral-parent
Last Version

Last Version

1.0.2
Release Date

Release Date

Type

Type

pom
Description

Description

BrooklynCentral ROOT
BrooklynCentral project root, serving as the ancestor POM for all projects contained in the brooklyncentral GitHub's organisation.
Project URL

Project URL

https://github.com/brooklyncentral/brooklyncentral-parent
Source Code Management

Source Code Management

https://github.com/brooklyncentral/brooklyncentral-parent

Download brooklyncentral-parent

How to add to project

<!-- https://jarcasting.com/artifacts/io.brooklyn/brooklyncentral-parent/ -->
<dependency>
    <groupId>io.brooklyn</groupId>
    <artifactId>brooklyncentral-parent</artifactId>
    <version>1.0.2</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/io.brooklyn/brooklyncentral-parent/
implementation 'io.brooklyn:brooklyncentral-parent:1.0.2'
// https://jarcasting.com/artifacts/io.brooklyn/brooklyncentral-parent/
implementation ("io.brooklyn:brooklyncentral-parent:1.0.2")
'io.brooklyn:brooklyncentral-parent:pom:1.0.2'
<dependency org="io.brooklyn" name="brooklyncentral-parent" rev="1.0.2">
  <artifact name="brooklyncentral-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='io.brooklyn', module='brooklyncentral-parent', version='1.0.2')
)
libraryDependencies += "io.brooklyn" % "brooklyncentral-parent" % "1.0.2"
[io.brooklyn/brooklyncentral-parent "1.0.2"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

brooklyncentral-parent

Parent project, serving as the ancestor POM for all brooklyncentral projects. It sets up a profile that can be used to deploy artifacts to sonatype automatically.

Setup downstream projects

  1. You need to add this pom as parent within you project's pom.xml:
    <parent>
        <groupId>io.brooklyn</groupId>
        <artifactId>brooklyncentral-parent</artifactId>
        <version>1.0.2</version> <!-- BROOKLYN_CENTRAL_PARENT_VERSION -->
    </parent>
  2. Copy the entire folder .circleci and paste it in the root of your project.
  3. Go to https://circleci.com/ and add your project to be built automatically for each commit and pull requests.

Perform releases

SNAPSHOT releases

master branch should only contains SNAPSHOT version. Upon every commit pushed on master, Circle CI will build, sign then deploy SNAPSHOT version to sonatype automatically.

Official releases

To perform an official release, simply create a branch release/<version>, update the version number in the code then push your changes. Circle CI will build, sign then deploy artifacts to sonatype automatically.

You will then need to go to the sonatype UI to manually close and release artifacts.

Manual releases

You can always perform manual releases by running the following command:

mvn clean deploy -DskipTests -DdeployTo=sonatype --settings .circleci/settings.xml

Note that you need to setup the following environment variables:

Environment variable Value
SONATYPE_USER Sonatype user
SONATYPE_PASSWORD Sonatype password
GPG_EXECUTABLE GPG executable, e.g. gpg
GPG_SECRET_KEY GPG secret key to use. You can get it be running: `gpg -a --export-secret-keys
GPG_PASSPHRASE The passphrase of the
io.brooklyn

Brooklyn Central

A community hub for Apache Brooklyn

Versions

Version
1.0.2
1.0.1
1.0.0