From cb58a3287dca665e5b2cc24438c6a33e0e17d8e0 Mon Sep 17 00:00:00 2001 From: Junghoon Ban Date: Thu, 20 Jul 2023 02:41:04 +0900 Subject: [PATCH] release: v1.0.0 (#21) * docs(readme): preparing for deployment * chore: version to v1.0.0 --- README.md | 36 ++++++++---------------------------- pom.xml | 2 +- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 7e9d1c2..94642fa 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ Testcontainers Meilisearch === +[![Maven Central](https://img.shields.io/maven-central/v/io.vanslog/testcontainers-meilisearch.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.vanslog%22%20AND%20a:%22testcontainers-meilisearch%22) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=testcontainers-meilisearch&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=testcontainers-meilisearch) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=testcontainers-meilisearch&metric=coverage)](https://sonarcloud.io/summary/new_code?id=testcontainers-meilisearch) ![](https://img.shields.io/github/license/junghoon-vans/testcontainers-meilisearch?label=License) @@ -23,13 +24,11 @@ MeilisearchContainer container = new MeilisearchContainer(); ### Custom image ```java -DockerImageName imageName = DockerImageName.parse("getmeili/meilisearch:latest"); - @Container -MeilisearchContainer container = new MeilisearchContainer(imageName); +MeilisearchContainer container = new MeilisearchContainer(DockerImageName.parse("getmeili/meilisearch:latest")); ``` -### Set master key +### Setup master key ```java @Container @@ -37,43 +36,24 @@ MeilisearchContainer container = new MeilisearchContainer() .withMasterKey("masterKey"); ``` -Dependency +Setup --- -> **Note** -> This project is not available in `Maven Central` repository. -> So you need to add the `Sonatype Snapshots` repository to your build file. +This library is available in Maven Central. +You can add it as a dependency to your project using the following snippets. ### Gradle ```groovy -// build.gradle -repositories { - mavenCentral() - maven { - url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' - } -} - -testImplementation 'io.vanslog:testcontainers-meilisearch:1.0.0-SNAPSHOT' +testImplementation 'io.vanslog:testcontainers-meilisearch:1.0.0' ``` ### Maven - ```xml - - - - sonatype-snapshots - Sonatype Snapshots - https://s01.oss.sonatype.org/content/repositories/snapshots/ - - - io.vanslog testcontainers-meilisearch - 1.0.0-SNAPSHOT + 1.0.0 test ``` diff --git a/pom.xml b/pom.xml index 2524f7c..01144ea 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.vanslog testcontainers-meilisearch - 1.0.0-SNAPSHOT + 1.0.0 testcontainers-meilisearch Testcontainers Meilisearch