On 06.09.2014 22:29, Timo Aaltonen wrote: > > Hi > > I'm packaging jackson-module-jaxb-annotations and > jackson-jaxrs-providers, but they need newer jackson-core et al. Thing > is that -core doesn't seem to find junit: > > [INFO] Compiling 70 source files to /«PKGBUILDDIR»/target/test-classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] > /«PKGBUILDDIR»/src/test/java/com/fasterxml/jackson/test/BaseTest.java:[6,22] > error: package junit.framework does not exist > [ERROR] > /«PKGBUILDDIR»/src/test/java/com/fasterxml/jackson/test/BaseTest.java:[13,12] > error: cannot find symbol > [ERROR] symbol: class TestCase > /«PKGBUILDDIR»/src/test/java/com/fasterxml/jackson/core/io/TestJsonStringEncoder.java:[6,23] > error: package org.junit does not exist > ... > > is junit to blame or should some maven.rules magic be used?
Problem solved, Emmanuel pointed out that the pom didn't have junit on it since it's on the parent pom. So I've packaged both fasterxml-oss-parent and jackson-parent and -core 2.4.2 builds fine now. -- t -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/540d8cf2.30...@ubuntu.com