diff --git a/README.md b/README.md index 6287ca071..41672abe0 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Logbook is ready to use out of the box for most common setups. Even for uncommon ## Installation -Selectively add the following dependencies to your project: +Add the following dependency to your project: ```xml @@ -47,25 +47,48 @@ Selectively add the following dependencies to your project: logbook-core ${logbook.version} +``` + +Additional modules/artifacts of Logbook always share the same version number. + +Alternatively, you can import our *bill of materials*... + +```xml + + + + org.zalando + logbook-bom + ${logbook.version} + pom + import + + + +``` + +... which allows you to omit versions: + +```xml + + org.zalando + logbook-core + org.zalando logbook-servlet - ${logbook.version} org.zalando logbook-httpclient - ${logbook.version} org.zalando logbook-okhttp - ${logbook.version} org.zalando logbook-spring-boot-starter - ${logbook.version} ``` diff --git a/logbook-bom/pom.xml b/logbook-bom/pom.xml new file mode 100644 index 000000000..260d854dd --- /dev/null +++ b/logbook-bom/pom.xml @@ -0,0 +1,54 @@ + + + 4.0.0 + + + org.zalando + logbook-parent + 1.9.0-SNAPSHOT + + + logbook-bom + pom + + Logbook: Bill of Materials + HTTP request and response logging + + + https://github.com/zalando/logbook + scm:git:git@github.com:zalando//logbook.git + scm:git:git@github.com:zalando//logbook.git + + + + + + org.zalando + logbook-api + + + org.zalando + logbook-core + + + org.zalando + logbook-httpclient + + + org.zalando + logbook-servlet + + + org.zalando + logbook-spring-boot-starter + + + org.zalando + logbook-test + test + + + + + diff --git a/pom.xml b/pom.xml index 492173375..a6f8d9f0e 100644 --- a/pom.xml +++ b/pom.xml @@ -49,6 +49,7 @@ logbook-api + logbook-bom logbook-core logbook-httpclient logbook-okhttp