You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by SkeebZ <mc...@gmail.com> on 2009/05/16 06:17:45 UTC

Running maven-sql-plugin standalone

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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org