tcdl / msb-java

MIT License
6 stars 4 forks source link

MSB-Java Project status Coverage Status

Microservice bus - Java API. See developer guide for motivation, architecture and usage.

Required tools:

Bintray support release configuration:

If you're part of the tcdl bintray organization (https://bintray.com/tcdl) and have sufficient rights you can publish releases to bintray (https://bintray.com/tcdl/releases/msb-java/view).

For this you'll need to add a server to the servers section of your settings.xml:

<server>
  <id>bintray-msb-java</id>
  <username>[YOUR_USERNAME]</username>
  <password>[YOUR_API_TOKEN]</password>
</server>

Bintray / jcenter SNAPSHOT publishing configuration:

If you're part of the tcdl bintray organization (https://bintray.com/tcdl) and have sufficient rights you can publish snapshots to jfrog / jcenter (http://oss.jfrog.org/artifactory/simple/oss-snapshot-local/io/github/tcdl/).

For this you'll need to add a server to the servers section of your settings.xml:

<server>
  <id>oss-jfrog-msb-java</id>
  <username>[YOUR_BINTRAY_USERNAME]</username>
  <password>[YOUR_BINTRAY_API_TOKEN]</password>
</server>

Java code style

Downloadable formatting:

Eclipse: codeFormatting.xml -> Window -> Preferences -> Java -> Code Style -> Formatter -> Import

IntelliJ IDEA: Use the same formatting XML as for Eclipse and use IntelliJ IDEA 13: Importing Code Formatter Settings from Eclipse.

Additionally disable folding of imports (via '*') in Intellij IDEA. Navigate to Settings -> Editor -> Code Style -> Java -> Imports, set "Class count to use import with '*'" and "Names count to use static import with '*'" both to 1000.

How codeFormatting.xml was created:

In Eclipse: As base, use "Java Conventions [built-in]", after that apply the following: