Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
This task is composed of additional tasks.
Currently, the code base is tied to ANT. ddlutils can be used outside of ant.
Here are some senarios that I can think of, where it can be with or without Apache ANT:
1- DB migration. flyway is another tool for db migration.
2- Unit testing, where we need to create and populate data for testing.
3- importing seeds / initial data into any system. Either from a build
system (ANT, Maven .. etc), or during system startup.
4- DB backup ?? may be ?
I am considering separating the code base into fewer components. A separate JIRA task will be created for each:
1- ddlutils (core), contains only the java classes for working with the DB.
2- ant tasks: contains the interface between ANT and ddlutils core.
3- maven tasks: this is not implemented, but can be easily added.
Each of these components, can be a separate maven project:
ddlutils:
--> core
--> ant-task
--> ddlutil-maven-plugin
additional plugin can be added.
Will add a reference for each subtask.
Attachments
1.
|
Remove ant dependency from the core | Open | Thomas Dudziak |
|
||||||||
2.
|
Create separate ant task | Open | Thomas Dudziak |