Paritosh,

If you end up needed to do another release:prepare, try something like:

 mvn -Darguments="-DskipTests=true" release:prepare
 mvn -Darguments="-Dmaven.test.skip" release:prepare

Or to skip the verify goal entirely:

 mvn -DpreparationGoals="clean compile" release:prepare

See: http://maven.apache.org/plugins/maven-release-plugin/prepare-mojo.html

- Drew

On Fri, Jun 8, 2012 at 3:11 PM, Paritosh Ranjan <[email protected]> wrote:
> Tried with -DskipTests also. Tests still run. Not a issue, rebuilding again ( 
> tests are made to run :)).
> And, maven.test.skip does exist, I use it. Its even written on the link 
> (page) you have shared.
> ________________________________________
> From: Sean Owen [[email protected]]
> Sent: Friday, June 08, 2012 8:55 PM
> To: [email protected]
> Subject: Re: Mahout Release : 0.7
>
> I have never seen maven.test.skip, so looked it up -- it's really
> supposed to be skipTests:
>
> http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.html
>
> On Fri, Jun 8, 2012 at 7:45 PM, Paritosh Ranjan <[email protected]> wrote:
>> No, it did not skip tests through -Dmaven.test.skip.
>> Rebuilding from scratch ( with tests ).

Reply via email to