Deploy Dependencies Maven Plugin

use maven to download artifacts in the dependency list from your private repository and upload to remote machine

License

License

GroupId

GroupId

com.github.lkq
ArtifactId

ArtifactId

insta-db
Last Version

Last Version

0.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

Deploy Dependencies Maven Plugin
use maven to download artifacts in the dependency list from your private repository and upload to remote machine
Project URL

Project URL

https://github.com/lkq/deploy-deps-maven-plugin
Source Code Management

Source Code Management

https://github.com/lkq/insta-db

Download insta-db

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.lkq/insta-db/ -->
<dependency>
    <groupId>com.github.lkq</groupId>
    <artifactId>insta-db</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.lkq/insta-db/
implementation 'com.github.lkq:insta-db:0.1.3'
// https://jarcasting.com/artifacts/com.github.lkq/insta-db/
implementation ("com.github.lkq:insta-db:0.1.3")
'com.github.lkq:insta-db:jar:0.1.3'
<dependency org="com.github.lkq" name="insta-db" rev="0.1.3">
  <artifact name="insta-db" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.lkq', module='insta-db', version='0.1.3')
)
libraryDependencies += "com.github.lkq" % "insta-db" % "0.1.3"
[com.github.lkq/insta-db "0.1.3"]

Dependencies

compile (1)

Group / Artifact Type Version
com.github.docker-java : docker-java jar 3.0.14

test (8)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.1.0
org.junit.jupiter : junit-jupiter-engine jar 5.1.0
org.mockito : mockito-core jar 2.21.0
org.mockito : mockito-junit-jupiter jar 2.21.0
ch.qos.logback : logback-classic jar 1.2.3
javax.activation : activation jar 1.1
org.postgresql : postgresql jar 42.2.5
mysql : mysql-connector-java jar 8.0.13

Project Modules

There are no modules declared in this project.

Insta DB

a wrapper over docker-java api to startup a local db docker container for testing

Build Status

Dependency

<dependency>
    <groupId>com.github.lkq</groupId>
    <artifactId>insta-db</artifactId>
    <version>0.1.3</version>
</dependency>

Usage

Setup

instaDB = InstaDB.postgresql("instadb-pg-container")
        .dockerClient(DockerClientFactory.defaultClient())
        .dockerLogger(dockerLogger)
        .init();

int hostPort = PortFinder.find();
instaDB.container().bindPort(5432, hostPort, InternetProtocol.TCP);
instaDB.container().environmentVariables(Arrays.asList("POSTGRES_PASSWORD=password01"));

instaDB.start(60);

Connect

connection = DriverManager.getConnection("jdbc:postgresql://localhost:" + hostPort + "/", "postgres", "password01");

Versions

Version
0.1.3