sql-maven-plugin multiple executions

View: New views
1 Messages — Rating Filter:   Alert me  

sql-maven-plugin multiple executions

by picosam :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,
I'm trying to execute multiple <execution> tags in my plugin but I cannot. What should specify on the command line other than: mvn sql:execute

I have multiple <execution> tags in a parent <executions> tag. The problem is I cannot have them all in the main configuration block since the URL changes, I have to connect once without a database

jdbc:postgresql://localhost:5432

to drop it, then actually connect to the database

jdbc:postgresql://localhost:5432/mydatabase

to create the schema files.

Any ideas?
Thanks,
Sammy