Thank you both. I was avoiding trunk and verified this Stargate "multiuser" stuff in 0.20 branch, but obviously that didn't work out so well this evening.
----- Original Message ---- > From: Dan Washusen <d...@reactive.org> > To: hbase-dev@hadoop.apache.org > Sent: Wed, February 24, 2010 10:31:35 PM > Subject: Re: quick question on Maven > > You can also run specific tests using the "-Dtest=" property. > > For example, to run the org.apache.hadoop.hbase.stargate.TestRowResource > test: > > > mvn -Dtest=TestRowResource test > > > > On 25 February 2010 16:59, Paul Smith wrote: > > > > > On 25/02/2010, at 4:28 PM, Andrew Purtell wrote: > > > > > Hi, > > > > > > I'm hoping someone familiar with Maven can help me out. Should be quick > > to answer -- > > > > > > How do I run tests only for the Stargate contrib? If I recurse and do > > 'mvn test' in contrib/stargate, Maven tries to pull HBase dev/snapshot > > artifacts. If I run from the top level, I have to wait for core tests to > > complete and I don't see how to specify a subproject or module on the mvn > > command line. > > > > > > > I would do this: > > > > 1) from the top-level: > > > > mvn -DskipTests clean install > > > > this will package and install into your local repo the hbase-core bits you > > need (but skip the tests) > > > > 2) > > cd contrib/stargate > > mvn test > > > > that really should work.. Because it'll find the latest hbase-core, and > > hbase-core-test artifacts now in your local maven report (~/.m2/repository). > > > > > > > > > Thanks, > > > > > > - Andy > > > > > > > > > > > > > > > > > > >