Where does this setting go? In the <configuration> element, or in the
<execution> element? Do you have an example?
Thanks,
Matt
On 1/9/07, Dan Tran <[EMAIL PROTECTED]> wrote:
try this
<skip>${maven.test.skip}</skip>
and you need to pass in -Dmaven.test.skip=true. -Dmaven.test.skip would
not work
-Dan
On 1/9/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> Is it possible to modify this plugin so it can be skipped when
> -Dmaven.test.skip=true is passed in? Since I sent the last e-mail to
> you only, yes, the changes seem to work fine.
>
>
http://fisheye4.cenqua.com/browse/appfuse/trunk/data/hibernate/pom.xml?r1=2272&r2=2277
>
> Matt
>
> On 1/9/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> > Yes, I'm all set. I made the changes and everything has been working
great.
> >
> >
http://fisheye4.cenqua.com/browse/appfuse/trunk/data/hibernate/pom.xml?r1=2272&r2=2277
> >
> > Thanks!
> >
> > Matt
> >
> > On 1/9/07, Dan Tran <[EMAIL PROTECTED]> wrote:
> > > Matt, are you all set?
> > >
> > > I am planning to remove deprecated mojos tomorrow.
> > >
> > > Thanks
> > >
> > > -D
> > >
> > >
> > >
> > > On 1/7/07, Dan Tran <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Yes you can place all configurations in one place.
> > > >
> > > > BTW sourceData is now "src"
> > > > sourceDataFormat is now "format" which has default value as
"xml"
> > > >
> > > > I will working on the usage to make it clearer.
> > > >
> > > > -Dan
> > > >
> > > >
> > > > On 1/7/07, Matt Raible < [EMAIL PROTECTED] > wrote:
> > > >
> > > > > Does this mean that my plugin should change from:
> > > > >
> > > > > <plugin>
> > > > > <groupId> org.codehaus.mojo</groupId>
> > > > >
> > > <artifactId>dbunit-maven-plugin</artifactId>
> > > > > <version>1.0-beta-1-SNAPSHOT</version>
> > > > > <configuration>
> > > > > <driver>${jdbc.driverClassName}</driver>
> > > > >
<username>${jdbc.username}</username>
> > > > > <password>${
jdbc.password}</password>
> > > > > <url>${ jdbc.url}</url>
> > > > >
> > >
<sourceData>src/test/resources/sample-data.xml</sourceData>
> > > > >
> > > <sourceDataFormat>xml</sourceDataFormat>
> > > > > </configuration>
> > > > > <executions>
> > > > > <execution>
> > > > > <id>test-compile</id>
> > > > >
<phase>test-compile</phase>
> > > > > <goals>
> > > > >
<goal>clean-insert</goal>
> > > > > </goals>
> > > > > </execution>
> > > > > <execution>
> > > > > <!-- Runs before integration tests and
> > > > > jetty:run-war -->
> > > > > <id>test</id>
> > > > > <phase>test</phase>
> > > > > <goals>
> > > > >
<goal>clean-insert</goal>
> > > > > </goals>
> > > > > </execution>
> > > > > </executions>
> > > > > <dependencies>
> > > > > <dependency>
> > > > > <groupId>${
jdbc.groupId}</groupId>
> > > > >
<artifactId>${jdbc.artifactId}</artifactId>
> > > > >
<version>${jdbc.version}</version>
> > > > > </dependency>
> > > > > </dependencies>
> > > > > </plugin>
> > > > >
> > > > > To:
> > > > >
> > > > > <plugin>
> > > > > <groupId>org.codehaus.mojo</groupId>
> > > > >
> > > <artifactId>dbunit-maven-plugin</artifactId>
> > > > > <version>1.0-beta-1-SNAPSHOT</version>
> > > > > <configuration>
> > > > > <driver>${jdbc.driverClassName }</driver>
> > > > > <username>${
jdbc.username}</username>
> > > > >
<password>${jdbc.password}</password>
> > > > > <url>${ jdbc.url}</url>
> > > > >
> > > <sourceData>src/test/resources/sample-
> > > data.xml</sourceData>
> > > > >
> > > <sourceDataFormat>xml</sourceDataFormat>
> > > > > </configuration>
> > > > > <execution>
> > > > > <id>test-compile</id>
> > > > >
<phase>test-compile</phase>
> > > > > <goals>
> > > > > <goal>operation</goal>
> > > > > </goals>
> > > > > <configuration>
> > > > >
<type>CLEAN_INSERT</type>
> > > > > </configuration>
> > > > > </execution>
> > > > > <execution>
> > > > > <!-- Runs before integration tests and
> > > jetty:run-war -->
> > > > > <id>test</id>
> > > > > <phase>test</phase>
> > > > > <goals>
> > > > > <goal>operation</goal>
> > > > > </goals>
> > > > > <configuration>
> > > > >
<type>CLEAN_INSERT</type>
> > > > > </configuration>
> > > > > </execution>
> > > > > <dependencies>
> > > > > <dependency>
> > > > >
<groupId>${jdbc.groupId}</groupId>
> > > > >
<artifactId>${jdbc.artifactId}</artifactId>
> > > > > <version>${
jdbc.version}</version>
> > > > > </dependency>
> > > > > </dependencies>
> > > > > </plugin>
> > > > >
> > > > > Can I specify the source file once, or do I need to do it in each
> > > > > execution's configuration? If it's in each execution, that's
quite a
> > > > > bit more verbose than the first (now deprecated) way.
> > > > >
> > > > > Matt
> > > > >
> > > > > On 1/7/07, Dan Tran <[EMAIL PROTECTED] > wrote:
> > > > > > Hello all,
> > > > > >
> > > > > > I am about done with dbunit-maven-plugin works and ready to call
a
> > > vote
> > > > > > to move it out of mojo-sandbox and cut the first beta release.
> > > > > >
> > > > > > However, before I do that, I would like to remove all operation
types
> > > mojo
> > > > > > (ie dbunit:clean-insert, dbunit:insert, dbunit:update, etc).
and
> > > replace
> > > > > > them
> > > > > > with dbunit:operation mojo. This is neccessary to
> > > > > >
> > > > > > - Take full advantage of the works already done by the dbunit
Ant
> > > counter
> > > > > > part.
> > > > > >
> > > > > > - Achieve same behavior between the ant task and maven
plugins.
> > > > > >
> > > > > > - less code from maven side
> > > > > >
> > > > > > I already deployed a beta-1 snapshot with all those mojo marked
as
> > > > > > deprecated.
> > > > > > plugin site is at
> > > > > > http://mojo.codehaus.org/dbunit-maven-plugin/
> > > > > >
> > > > > > If I dont see any objections in the next 72 hours, i will go
ahead
> > > with the
> > > > > > removes and
> > > > > > call the vote.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > -Dan
> > > > >
> > > > >
> > > > > --
> > > > > http://raibledesigns.com
> > > > >
> > > > >
> > >
---------------------------------------------------------------------
> > > > > To unsubscribe from this list please visit:
> > > > >
> > > > > http://xircles.codehaus.org/manage_email
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
> > --
> > http://raibledesigns.com
> >
>
>
> --
> http://raibledesigns.com
>
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email