Hey Rohit, If the build breaks often we should fix the unit tests imho. I know there is still some work to be done to setup proper unittests, but turning of the tests again might send the wrong signal that we don't really care about proper unittests and testing in general.
That said, you can easiliy disable tests if the -DskipTests flag. So my proposal would be to leave tests enabled by default, fix tests that break (or fix the code if the test is ok). Cheers, Hugo P.S. CC-ed the dev list, this is definitely something that needs to be discussed in public. > -----Original Message----- > From: Rohit Yadav [mailto:rohit.ya...@citrix.com] > Sent: Thursday, November 01, 2012 9:10 AM > To: Hugo Trippaers; Edison Su; Prasanna Santhanam > Subject: Enabling test by default > > By enabling tests by default, my build breaks often. > May I enable a profile 'test' so if one wants only then maven should runs > tests; mvn -P developer,test install #etc. > > diff --git a/pom.xml b/pom.xml > index 4b563b3..2173c2d 100644 > --- a/pom.xml > +++ b/pom.xml > @@ -81,7 +81,7 @@ > <cs.jstl.version>1.2</cs.jstl.version> > <cs.selenium.server.version>1.0- > 20081010.060147</cs.selenium.server.version> > <cs.vmware.api.version>4.1</cs.vmware.api.version> > - > + <skipTests>true</skipTests> > </properties> > > <distributionManagement> > @@ -348,6 +348,12 @@ > </modules> > </profile> > <profile> > + <id>test</id> > + <properties> > + <skipTests>false</skipTests> > + </properties> > + </profile> > + <profile> > <id>vmware</id> > <activation> > <property>