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

Re: Gradle and transitive dependencies



On 07.08.2016 12:32, Christopher Hoskin wrote:
> Dear Markus,
> 
> Thanks for the reply. I've changed the debian/maven.rules file so that
> it just has:
> 
> junit junit jar s/4\..*/4.x/ * *
> 
> But if I run debuild, I still get the same error message.
> 
> Looking in
> 
> /usr/share/maven-repo/org/codenarc/CodeNarc/0.23/CodeNarc-0.23.pom
> 
> CodeNarc's pom appears to assert a dependency on a 'debian' version of junit:
> 
>                 <dependency>
>                         <groupId>junit</groupId>
>                         <artifactId>junit</artifactId>
>                         <version>debian</version>
>                 </dependency>
> 
> So perhaps this is actually a bug in the CodeNarc package?

The debian substitution is correct but when I look at

https://anonscm.debian.org/cgit/pkg-java/codenarc.git/tree/debian/maven.rules

it seems that CodeNarc wants to use Junit 3 but it build-depends on
Junit 4. Maybe this is the reason for your build failure.

Markus


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: