I have the sql-maven-plugin configured and working but one of the executions
in there should not run unless explicitly called, namely the one that drops
and recreates the databases. My question is, how do I call that execution
from the command line, or even better, how do I assign a goal name to it
such as "mvn db-create"?

<plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>sql-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>db-create</id>
                        <goals>
                            <goal>execute</goal>
                        </goals>
                        <configuration>
                            <srcFiles>
                                <srcFile>database/createdb.sql</srcFile>
                            </srcFiles>
                        </configuration>
                    </execution>


-- 
View this message in context: 
http://www.nabble.com/Calling-an-M2-execution-as-a-goal-tp16518534s177p16518534.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to