Both maven.test.skip=true and skipTests=true will work, but
maven.test.skip=true is probably better as the compiler plugin will not
compile tests. If you want to be really sure that all plugins will
ignore tests, put both properties in debian/maven.properties

Ludovic

On 24/05/2011 21:49, Russ Allbery wrote:
> 
> Miguel Telleria de Esteban <[email protected]> writes:
> 
>> In the midst of my maven Debian learning phase I am struggling to
>> remove the test phase by passing the variable:
> 
>>      maven.test.skip = true
> 
>> which is the way according to the documentation[1] to disable the test
>> phase.
> 
> Are you sure this isn't supposed to be -DskipTests?  That's what works for
> me with Maven.  For example, from one of our internal packages'
> debian/rules:
> 
> override_dh_auto_build:
>       mvn package -DskipTests
> 


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to