consolerizer-root
Technologies used
Introduction
This project offers way to seamlessly add coloured log messages in academic, study or research projects. This is not a production ready module and shouldn't be used in a production setting. It is designed also for use in tutorials, classes, teaching and knowledge sharing.
Inner Modules Java Docs
Consolerizer
Consolerizer for Java 8
Release notes for version 3.0.0 - Coming soon
- LogBack support
- Log4J2 support
- SLF4J support
Release notes for version 2.0.12 - 2021/05/02
- Optional Console log configuration
Release notes for version 2.0.11 - 2021/05/02
- Mandatory Console log configuration
Release notes for version 2.0.10 - 2021/04/23
- Emoji handling
- Emoji functions
- Random color
- JSON pretty print
Release notes for version 2.0.9 - 2021/03/19
- Unicorns on console
- outForLists
- Refactoring code
Release notes for version 2.0.8 - 2021/03/15
- Reset color after writing
- Quote
Release notes for version 2.0.7 - 2021/03/14
- Reset console color
- Work in ln mode
- Auto-write to save in cache
- More background colors
- Colors revisited
Release notes for version 2.0.6 - 2021/03/13
- File output
- Last line fix
Release notes for version 2.0.5 - 2021/03/13
- Long Title fix
- AutoWrite to Console -> No need to call
toConsole
methods - Keep everything cached until
toConsole
-> You need to calltoConsole
Release notes for version 2.0.4 - 2021/03/12
- Space initializer
- Title as a text option
- Width clipping includes color (Bug Fix)
- Color revision (Bug Fix)
- ln included in color
- none to deactivate
NOTE: Due to all issues regarding support to Java 8 it has become clear that further development of module consolerizer8 for Java 8 is not a necessity anymore.
Release notes for version 2.0.3 - 2021/03/07
- Colored Anchors
Release notes for version 2.0.2 - 2021/03/07
- Objects and new line
Release notes for version 2.0.1 - 2021/03/06
- Allows for String format
Release notes for version 2.0.0 - 2021/03/06
- Title color independent
- Color is changeable
- Default setup is now 150 fast
- Update to fast settings
** Breaking changes **
Packages have changed location. Please update your references
Release notes for version 1.1.0 and before - 2021/03/06
- Rainbow Flag on HTML and Console
- YouTube link creation
- Console output in different colors
- Unicorn line
- Title line
- Multicolored text lines for console
- Multicolored text lines for HTML
Maven
Consolerizer for Java 11 and above:
<dependency>
<groupId>org.jesperancinha.console</groupId>
<artifactId>consolerizer</artifactId>
<version>2.0.12-SNAPSHOT</version>
</dependency>
Consolerizer for Java 8 (Discontinued):
<dependency>
<groupId>org.jesperancinha.console</groupId>
<artifactId>consolerizer8</artifactId>
<version>2.0.3</version>
</dependency>
Delivery to Sonatype Repository
Tools
git push --delete origin 2.0.12-SNAPSHOT
git tag --delete 2.0.12-SNAPSHOT
git tag 2.0.12-SNAPSHOT
git push --tags
gpg --keyserver hkp://keyserver.ubuntu.com --send-keys <your GPG key>
gpg --list-keys
export GPG_TTY=$(tty)
mvn clean deploy -Prelease
mvn nexus-staging:release -Prelease
mvn -f coverage.xml clean install coveralls:report -Dconsolerizer.show=false -DrepoToken=${COVERALLS_TOKEN}
Repository settings.xml
<?xml version="1.0" encoding="UTF-8" ?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.passphrase>{{password}}</gpg.passphrase>
</properties>
</profile>
</profiles>
<activeProfiles>
<activeProfile>ossrh</activeProfile>
</activeProfiles>
<servers>
<server>
<id>ossrh</id>
<username>{{username}}</username>
<password>{{password}}</password>
</server>
</servers>
</settings>
!!Important!!: Please remove test module before release!
References
Online
- Definitive Guide To Java 12
- Publish AAR to jCenter and Maven Central
- Publishing Android Library to Bintray with Gradle + Buddy.Works
- How to distribute your own Android library through jCenter and Maven Central from Android Studio
- Creating .asc signature files with GPG
- Publish java library to JFrog Bintray and OSS Sonatype with Gradle
- Enjoy Bintray and use it as pain-free gateway to Maven Central
- Android Library Publishing Maven Artifacts via gradle
- Gradle generate javadoc for Android
- A Complete Guide to Create and Publish an Android Library to Maven Central
- Publish a Java Project to Maven Central with Gradle
- Sign and publish on Maven Central a Project with the new maven-publish Gradle plugin
- How to Upload an Open-Source Java Library to Maven Central
- Nexus Sonatype
- Working with PGP Signatures