Skip to content

Commit

Permalink
Refactoring test packages
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaprasadreddy committed Jun 5, 2023
1 parent 78857cc commit 7bc9033
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ by using [Testcontainers](https://www.testcontainers.org/) and applying database
* Postgres
* MySQL
* MariaDB
*

## Supported migration tools:
* Flyway - [supported properties](https://flywaydb.org/documentation/configuration/parameters/ )
* Liquibase - [supported properties](src/main/java/org/testcontainers/jooq/codegen/migration/runner/LiquibaseRunner.java)
Expand All @@ -22,9 +22,9 @@ by using [Testcontainers](https://www.testcontainers.org/) and applying database

<project>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<testcontainers.version>1.18.3</testcontainers.version>
<testcontainers-jooq-codegen-maven-plugin.version>0.0.2</testcontainers-jooq-codegen-maven-plugin.version>
<jooq.version>3.18.3</jooq.version>
Expand Down Expand Up @@ -134,7 +134,7 @@ $ cd examples/postgres-flyway-example
$ mvn clean package
```

The JOOQ code should be generated under example/target/generated-sources/jooq folder.
The JOOQ code should be generated under `example/target/generated-sources/jooq` folder.

## CREDITS:
This plugin is heavily based on official https://github.com/jOOQ/jOOQ/tree/main/jOOQ-codegen-maven.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.testcontainers.jooq.codegen;

import static assertions.MavenProjectAssert.assertThatProject;
import static org.codehaus.plexus.PlexusTestCase.getTestFile;
import static org.testcontainers.jooq.codegen.assertions.MavenProjectAssert.assertThatProject;

import org.apache.maven.plugin.testing.MojoRule;
import org.apache.maven.project.MavenProject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package assertions;
package org.testcontainers.jooq.codegen.assertions;

import static common.Common.DEFAULT_GENERATED_BASEDIR;
import static common.Common.DEFAULT_GENERATED_PACKAGE;
import static org.assertj.core.api.Assertions.assertThat;
import static org.testcontainers.jooq.codegen.common.Common.DEFAULT_GENERATED_BASEDIR;
import static org.testcontainers.jooq.codegen.common.Common.DEFAULT_GENERATED_PACKAGE;

import java.nio.file.Path;
import org.apache.maven.project.MavenProject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package common;
package org.testcontainers.jooq.codegen.common;

import java.nio.file.Path;

Expand Down

0 comments on commit 7bc9033

Please sign in to comment.