Skip to content

Maven Plugin #1

@schnatterer

Description

@schnatterer

As a developer, I'd love to have maven plugin that allows for loading the test-data-loader groovy scripts into an database, to be able to simply load the specified test data into a real database, instead of the test one.

Scenario: I specified test-data-loader groovy scripts for unit tests, that runs on an in-memory H2 database to execute fast. Now, I'd like to optimize my query using Explain Plans, etc. on the production database (e.g. Postresql). In order to load the test data script into the real database, I'd have to write a new Entity Manager, that relies on the new database. It would be so much easier if I could run this using maven.
A good example would be the Flyway maven plugin.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions