[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Transition from junit to junit4



That's quite easy. If the package uses maven-debian-helper or
maven-repo-helper, then you need to use the following rule in
debian/maven.rules to use unconditionally Junit 4:

junit junit jar s/.*/4.x/ * *

Change the dependency from junit to junit4 in debian/control, and it
should work!

Ludovic

On 27/05/2012 22:12, Emmanuel Bourg wrote:
> Le 20/05/2012 14:55, Onkar Shinde a écrit :
> 
>> I haven't received any response on this. Any thoughts?
> 
> How would you do that for Maven based projects depending on JUnit 3,
> like several projects from Apache Commons? Do you plan to rewrite the
> POM on the fly?
> 
> 
> Emmanuel Bourg
> 


Reply to: