Get the latest version of fixedformat4j
fixedformat4j 1.4.0 is published to GitHub Packages.
Requirements
- Java 11 or later — Java 8 is no longer supported as of version 1.4.0.
Step 1 — Authenticate with GitHub Packages
GitHub Packages requires a GitHub personal access token (classic) with at least the read:packages scope, even for public packages.
Create a token at GitHub → Settings → Developer settings → Personal access tokens → Tokens (classic) and add the following server to your Maven ~/.m2/settings.xml:
<settings>
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>YOUR_PERSONAL_ACCESS_TOKEN</password>
</server>
</servers>
</settings>
Step 2 — Add the repository
Add the GitHub Packages registry to your pom.xml:
<repositories>
<repository>
<id>github</id>
<url>https://maven.pkg.github.com/jeyben/fixedformat4j</url>
</repository>
</repositories>
Step 3 — Add the dependency
<dependency>
<groupId>com.ancientprogramming.fixedformat4j</groupId>
<artifactId>fixedformat4j</artifactId>
<version>1.4.0</version>
</dependency>
No GitHub account? Download manually
If you do not have a GitHub account, download fixedformat4j-1.4.0.jar directly from the 1.4.0 release page and install it into your local Maven repository:
mvn install:install-file \
-Dfile=fixedformat4j-1.4.0.jar \
-DgroupId=com.ancientprogramming.fixedformat4j \
-DartifactId=fixedformat4j \
-Dversion=1.4.0 \
-Dpackaging=jar
After that the standard <dependency> block from Step 3 works as-is — no <repository> entry or token needed.
If you want to share the artifact across a team, deploy it to a private Nexus or Artifactory instance using mvn deploy:deploy-file with the same coordinates and your repository URL.
Logging
fixedformat4j uses SLF4J for logging. SLF4J is a logging facade — you must provide a binding on the classpath to route log output to your preferred logging framework (e.g. Logback, Log4j 2, or slf4j-simple).
Example with Logback:
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.5.18</version>
</dependency>
If no binding is found, SLF4J will print a one-time warning and silently discard all log output — the library will still function correctly.
| Home | Usage | FAQ | Changelog |