Skip to content

Commit

Permalink
Add distribution management
Browse files Browse the repository at this point in the history
Also add badges for released version and Javadoc
  • Loading branch information
maximevw committed Jan 6, 2020
1 parent 6ddfbab commit 2ee35a9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Autolog
[![Apache 2.0 License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0.txt)
[![Maven Central](https://img.shields.io/maven-central/v/com.github.maximevw/autolog)](https://search.maven.org/search?q=g:com.github.maximevw%20AND%20autolog)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/maximevw/autolog/Autolog%20CI%20Workflow)
![Code Coverage](autolog-coverage-reporting/resources/jacoco.svg)
[![Javadoc](https://javadoc.io/badge2/com.github.maximevw/autolog-core/javadoc.svg)](https://javadoc.io/doc/com.github.maximevw/autolog-core)

A library providing capabilities for automatic logging in Java applications.

Expand All @@ -24,7 +26,8 @@ Using Autolog requires **JDK 11 or greater**.

### Installing

You can install Autolog in your application using one of the following Maven dependencies:
The latest release of Autolog is available on Maven Central. You can install Autolog in your application using one of
the following Maven dependencies:
* In a Spring application:
```xml
<dependency>
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
<url>https://github.com/maximevw/autolog</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<modules>
<module>autolog-core</module>
<module>autolog-spring</module>
Expand Down

0 comments on commit 2ee35a9

Please sign in to comment.