Re: dbunit plugin - how to consolidate and not run when skipping tests

2006-11-03 Thread Thomas Van de Velde

Matt,

Where is this dbunit hosted?  I couldn't find it under

http://snapshots.repository.codehaus.org/

Cheers,
Thomas


On 11/1/06, mraible [EMAIL PROTECTED] wrote:



I have the following configuration for the dbunit plugin:

plugins
   plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIddbunit-maven-plugin/artifactId
   version1.0-SNAPSHOT/version
   configuration
   driver${jdbc.driverClassName}/driver
   username${jdbc.username}/username
   password${jdbc.password}/password
   url${jdbc.url}/url

sourceData${basedir}/src/test/data/sample-data.xml/sourceData
   sourceDataFormatxml/sourceDataFormat
   /configuration
   executions
   execution
   idtest-compile/id
   phasetest-compile/phase
   goals
   goalclean-insert/goal
   /goals
   /execution
   execution
   idpre-integration-test/id
   phasepre-integration-test/phase
   goals
   goalclean-insert/goal
   /goals
   /execution
   /executions
   dependencies
   dependency
   groupId${jdbc.groupId}/groupId
   artifactId${jdbc.artifactId}/artifactId
   version${jdbc.version}/version
   /dependency
   /dependencies
   /plugin

I'm using this in several poms in my application.  Is it possible to
consolidate this so it only resides in one location?  I'm guessing I can
put
it into a top-level pom? If I do that, where should my sample-data.xml
reside so all child modules can see it?

Also, what phase should I use (instead of test-compile) so clean-insert is
skipped when maven.test.skip=true?

Thanks,

Matt
--
http://raibledesigns.com

--
View this message in context:
http://www.nabble.com/dbunit-plugin---how-to-consolidate-and-not-run-when-skipping-tests-tf2553978s177.html#a7116451
Sent from the Maven - Users mailing list archive at Nabble.com.


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




Re: dbunit plugin - how to consolidate and not run when skipping tests

2006-11-03 Thread Dan Tran

dbunit plugin source was checked in sometimes ago to the mojo sanbox, but i
beleive no one is working on it  and no snapshot is ever deployed.

-D


On 11/3/06, Thomas Van de Velde [EMAIL PROTECTED] wrote:


Matt,

Where is this dbunit hosted?  I couldn't find it under

http://snapshots.repository.codehaus.org/

Cheers,
Thomas


On 11/1/06, mraible [EMAIL PROTECTED] wrote:


 I have the following configuration for the dbunit plugin:

 plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddbunit-maven-plugin/artifactId
version1.0-SNAPSHOT/version
configuration
driver${jdbc.driverClassName}/driver
username${jdbc.username}/username
password${jdbc.password}/password
url${jdbc.url}/url

 sourceData${basedir}/src/test/data/sample-data.xml/sourceData
sourceDataFormatxml/sourceDataFormat
/configuration
executions
execution
idtest-compile/id
phasetest-compile/phase
goals
goalclean-insert/goal
/goals
/execution
execution
idpre-integration-test/id
phasepre-integration-test/phase
goals
goalclean-insert/goal
/goals
/execution
/executions
dependencies
dependency
groupId${jdbc.groupId}/groupId
artifactId${jdbc.artifactId}/artifactId
version${jdbc.version}/version
/dependency
/dependencies
/plugin

 I'm using this in several poms in my application.  Is it possible to
 consolidate this so it only resides in one location?  I'm guessing I can
 put
 it into a top-level pom? If I do that, where should my sample-data.xml
 reside so all child modules can see it?

 Also, what phase should I use (instead of test-compile) so clean-insert
is
 skipped when maven.test.skip=true?

 Thanks,

 Matt
 --
 http://raibledesigns.com

 --
 View this message in context:

http://www.nabble.com/dbunit-plugin---how-to-consolidate-and-not-run-when-skipping-tests-tf2553978s177.html#a7116451
 Sent from the Maven - Users mailing list archive at Nabble.com.


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






Re: dbunit plugin - how to consolidate and not run when skipping tests

2006-11-03 Thread mraible

We've compiled it and deployed it to the the AppFuse repo:

http://static.appfuse.org/repository/

We hope to figure out a way to get it released before we release AppFuse 2.0
final.  We're more than happy to contribute to the plugin.  AFAIK, Brian
Topping built the plugin when we converted an Ant-based AppFuse project to
Maven 2.

Matt


thomasvdv wrote:
 
 Matt,
 
 Where is this dbunit hosted?  I couldn't find it under
 
 http://snapshots.repository.codehaus.org/
 
 Cheers,
 Thomas
 
 
 On 11/1/06, mraible [EMAIL PROTECTED] wrote:


 I have the following configuration for the dbunit plugin:

 plugins
plugin
groupIdorg.codehaus.mojo/groupId
artifactIddbunit-maven-plugin/artifactId
version1.0-SNAPSHOT/version
configuration
driver${jdbc.driverClassName}/driver
username${jdbc.username}/username
password${jdbc.password}/password
url${jdbc.url}/url

 sourceData${basedir}/src/test/data/sample-data.xml/sourceData
sourceDataFormatxml/sourceDataFormat
/configuration
executions
execution
idtest-compile/id
phasetest-compile/phase
goals
goalclean-insert/goal
/goals
/execution
execution
idpre-integration-test/id
phasepre-integration-test/phase
goals
goalclean-insert/goal
/goals
/execution
/executions
dependencies
dependency
groupId${jdbc.groupId}/groupId
artifactId${jdbc.artifactId}/artifactId
version${jdbc.version}/version
/dependency
/dependencies
/plugin

 I'm using this in several poms in my application.  Is it possible to
 consolidate this so it only resides in one location?  I'm guessing I can
 put
 it into a top-level pom? If I do that, where should my sample-data.xml
 reside so all child modules can see it?

 Also, what phase should I use (instead of test-compile) so clean-insert
 is
 skipped when maven.test.skip=true?

 Thanks,

 Matt
 --
 http://raibledesigns.com

 --
 View this message in context:
 http://www.nabble.com/dbunit-plugin---how-to-consolidate-and-not-run-when-skipping-tests-tf2553978s177.html#a7116451
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/dbunit-plugin---how-to-consolidate-and-not-run-when-skipping-tests-tf2553978s177.html#a7169427
Sent from the Maven - Users mailing list archive at Nabble.com.


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