I have been messing around with the codehaus maven-sql-plugin and cannot get
the plugin to run without binding it to a phase.  
(This does not work)
                                        <execution>
                                                <id>create-schema</id>
                                                <goals>
                                                        <goal>execute</goal>
                                                </goals>
                                                <configuration>
                                                        
<autocommit>true</autocommit>
                                                        <srcFiles>
                                                                
<srcFile>src/main/resources/schema.sql</srcFile>
                                                        </srcFiles>
                                                </configuration>
                                        </execution>

(this does work)
                                        <execution>
                                                <id>create-schema</id>
                                                                            
<phase>process-resources</phase>
                                                <goals>
                                                        <goal>execute</goal>
                                                </goals>
                                                <configuration>
                                                        
<autocommit>true</autocommit>
                                                        <srcFiles>
                                                                
<srcFile>src/main/resources/schema.sql</srcFile>
                                                        </srcFiles>
                                                </configuration>
                                        </execution>

It seems when I run the mvn sql:execute command it doesn't run any of my
executions.  It still finishes successfully but it doesn't run any of them.

Any Ideas?
-- 
View this message in context: 
http://www.nabble.com/Running-maven-sql-plugin-standalone-tp23570326p23570326.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to