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
> 


-- 
To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fc296f4.7060...@laposte.net

Reply via email to