Utils

Utils for Appulse Java projects

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.appulse
ArtifactId

ArtifactId

utils-java
Last Version

Last Version

1.18.0
Release Date

Release Date

Type

Type

jar
Description

Description

Utils
Utils for Appulse Java projects
Project URL

Project URL

https://github.com/appulse-projects/utils-java
Project Organization

Project Organization

Appulse
Source Code Management

Source Code Management

https://github.com/appulse-projects/utils-java

Download utils-java

How to add to project

<!-- https://jarcasting.com/artifacts/io.appulse/utils-java/ -->
<dependency>
    <groupId>io.appulse</groupId>
    <artifactId>utils-java</artifactId>
    <version>1.18.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.appulse/utils-java/
implementation 'io.appulse:utils-java:1.18.0'
// https://jarcasting.com/artifacts/io.appulse/utils-java/
implementation ("io.appulse:utils-java:1.18.0")
'io.appulse:utils-java:jar:1.18.0'
<dependency org="io.appulse" name="utils-java" rev="1.18.0">
  <artifact name="utils-java" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.appulse', module='utils-java', version='1.18.0')
)
libraryDependencies += "io.appulse" % "utils-java" % "1.18.0"
[io.appulse/utils-java "1.18.0"]

Dependencies

compile (2)

Group / Artifact Type Version
io.netty : netty-buffer Optional jar 4.1.45.Final
io.appulse : logging-java Optional jar 1.1.3

provided (4)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.12
net.jcip : jcip-annotations jar 1.0
com.github.spotbugs : spotbugs-annotations jar 3.1.12
com.google.code.findbugs : jsr305 jar 3.0.2

test (5)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.6.0
org.junit.jupiter : junit-jupiter-params jar 5.6.0
org.assertj : assertj-core jar 3.15.0
org.mockito : mockito-core jar 3.3.0
org.mockito : mockito-junit-jupiter jar 3.3.0

Project Modules

There are no modules declared in this project.

Overview

build_status maven_central License

Common utility classes for Appulse projects.

Development

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

For building the project you need only a Java compiler.

IMPORTANT: the project requires Java version starting from 8

And, of course, you need to clone the project from GitHub:

$> git clone https://github.com/appulse-projects/utils-java
$> cd utils-java

Building

For building routine automation, I am using maven.

To build the project, do the following:

$> mvn clean compile
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.522 s
[INFO] Finished at: 2019-05-19T15:31:22+03:00
[INFO] Final Memory: 43M/512M
[INFO] ------------------------------------------------------------------------

Running the tests

To run the project's test, do the following:

$> mvn clean test
...
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
...
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 26, Failures: 0, Errors: 0, Skipped: 0
[INFO]
...

Also, if you do package or install goals, the tests launch automatically.

Deploy

To deploy the project in Maven Central, use the following command:

$> ./mvnw \
    -DskipTests \
    -Dmaven.test.skip=true \
    -Dfindbugs.skip=true \
    -Dpmd.skip=true \
    -Dcheckstyle.skip \
    -Dmaven.javadoc.skip=false \
    --settings .settings.xml \
    deploy -B

It maybe usefull to import gpg's secret keys and ownertrust from somewhere:

$> echo "${GPG_SECRET_KEYS}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import
...
$> echo "${GPG_OWNERTRUST}" | base64 --decode | "${GPG_EXECUTABLE}" --batch --passphrase "${GPG_PASSPHRASE}" --import-ownertrust
...

Built With

  • Java - is a systems and applications programming language

  • Lombok - is a java library that spicing up your java

  • Junit - is a simple framework to write repeatable tests

  • AssertJ - AssertJ provides a rich set of assertions, truly helpful error messages, improves test code readability

  • Maven - is a software project management and comprehension tool

Changelog

To see what has changed in recent versions of the project, see the changelog file.

Contributing

Please read contributing file for details on my code of conduct, and the process for submitting pull requests to me.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the Apache License 2.0 License - see the license file for details

io.appulse

Appulse

Appulse aims to build correct concurrent and scalable applications based on JVM and BEAM VM.

Versions

Version
1.18.0
1.17.2
1.17.1
1.17.0
1.16.4
1.16.3
1.16.2
1.16.1
1.16.0
1.15.1
1.15.0
1.14.1
1.14.0
1.13.0
1.12.0
1.11.1
1.11.0
1.10.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.2
1.5.1
1.5.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0