Skip to content

Commit

Permalink
Updated the domain to org.testcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasadreddy committed May 12, 2023
1 parent db5a79a commit d8bac12
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 21 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
The `jooq-testcontainers-codegen-maven-plugin` simplifies the jOOQ code generation
by using [Testcontainers](https://www.testcontainers.org/) and applying Flyway database migrations.

[![Build](https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml)
![Maven Central](https://img.shields.io/maven-central/v/io.github.sivalabs/jooq-testcontainers-codegen-maven-plugin)
[![Build](https://github.com/testcontainers/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml/badge.svg)](https://github.com/testcontainers/jooq-testcontainers-codegen-maven-plugin/actions/workflows/build.yml)

## Supported databases:
* Postgres
Expand Down Expand Up @@ -37,7 +36,7 @@ by using [Testcontainers](https://www.testcontainers.org/) and applying Flyway d
<build>
<plugins>
<plugin>
<groupId>io.github.sivalabs</groupId>
<groupId>org.testcontainers</groupId>
<artifactId>jooq-testcontainers-codegen-maven-plugin</artifactId>
<version>${jooq-testcontainers-codegen-maven-plugin.version}</version>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions examples/mariadb-flyway-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.sivalabs.jooqtc</groupId>
<groupId>org.testcontainers.jooqtc</groupId>
<artifactId>mariadb-flyway-example</artifactId>
<version>1.0-SNAPSHOT</version>

Expand All @@ -29,7 +29,7 @@
<build>
<plugins>
<plugin>
<groupId>io.github.sivalabs</groupId>
<groupId>org.testcontainers</groupId>
<artifactId>jooq-testcontainers-codegen-maven-plugin</artifactId>
<version>${jooq-testcontainers-codegen-maven-plugin.version}</version>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions examples/mysql-flyway-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.sivalabs.jooqtc</groupId>
<groupId>org.testcontainers.jooqtc</groupId>
<artifactId>mysql-flyway-example</artifactId>
<version>1.0-SNAPSHOT</version>

Expand All @@ -29,7 +29,7 @@
<build>
<plugins>
<plugin>
<groupId>io.github.sivalabs</groupId>
<groupId>org.testcontainers</groupId>
<artifactId>jooq-testcontainers-codegen-maven-plugin</artifactId>
<version>${jooq-testcontainers-codegen-maven-plugin.version}</version>
<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions examples/postgres-flyway-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.sivalabs.jooqtc</groupId>
<groupId>org.testcontainers.jooqtc</groupId>
<artifactId>postgres-flyway-example</artifactId>
<version>1.0-SNAPSHOT</version>

Expand All @@ -29,7 +29,7 @@
<build>
<plugins>
<plugin>
<groupId>io.github.sivalabs</groupId>
<groupId>org.testcontainers</groupId>
<artifactId>jooq-testcontainers-codegen-maven-plugin</artifactId>
<version>${jooq-testcontainers-codegen-maven-plugin.version}</version>
<dependencies>
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.sivalabs</groupId>
<groupId>org.testcontainers</groupId>
<artifactId>jooq-testcontainers-codegen-maven-plugin</artifactId>
<version>0.0.2</version>
<packaging>maven-plugin</packaging>
<name>jooq-testcontainers-codegen-maven-plugin</name>
<description>jOOQ code generator using Testcontainers</description>
<url>https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin</url>
<url>https://github.com/testcontainers/jooq-testcontainers-codegen-maven-plugin</url>
<inceptionYear>2023</inceptionYear>

<licenses>
Expand All @@ -31,9 +31,9 @@
</developers>

<scm>
<connection>scm:git:https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin.git</connection>
<connection>scm:git:https://github.com/testcontainers/jooq-testcontainers-codegen-maven-plugin.git</connection>
<developerConnection>scm:git:https://github.com/jooq-testcontainers-codegen-maven-plugin.git</developerConnection>
<url>https://github.com/sivalabs/jooq-testcontainers-codegen-maven-plugin</url>
<url>https://github.com/testcontainers/jooq-testcontainers-codegen-maven-plugin</url>
<tag>HEAD</tag>
</scm>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

/**
* Database configuration properties.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

import org.testcontainers.containers.JdbcDatabaseContainer;
import org.testcontainers.containers.MariaDBContainer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

/**
* Database Types supported by the plugin
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

import java.util.Properties;
import org.flywaydb.core.Flyway;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

/**
* Flyway configuration properties.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

import static org.apache.maven.plugins.annotations.LifecyclePhase.GENERATE_SOURCES;
import static org.apache.maven.plugins.annotations.ResolutionScope.TEST;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.sivalabs.jooq.codegen;
package org.testcontainers.jooq.codegen;

/**
* Plugin configuration properties.
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/jooq-config-example.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<validationAnnotations>false</validationAnnotations>
</generate>
<target>
<packageName>com.sivalabs.techbuzz.jooq</packageName>
<packageName>com.mycompany.myapp.jooq</packageName>
<directory>src/main/jooq</directory>
</target>
</generator>
Expand Down

0 comments on commit d8bac12

Please sign in to comment.