Hi,
ich habe ein build file bei dem ich per jacoco die coverage ermitteln will.
Nun habe ich folgendes in mein buildskript eingetragen:
<ivy:cachepath organisation="org.jacoco" module="org.jacoco.ant" revision="0.7.5.201505241946" inline="true" conf="test" pathid="jacoco.classpath"/>
<taskdef resource="org/jacoco/ant/antlib.xml" classpathref="jacoco.classpath"/>
was laut cachepath | Apache Ivy dazu fuehrt, dass die dependency resolved wird und dann für den taskdef bereitsteht.
Wenn ich das nun laufen lasse bekomme ich aber
[ivy:cachepath] :: downloading artifacts ::
[ivy:cachepath] :: resolution report :: resolve 19ms :: artifacts dl 0ms
---------------------------------------------------------------------
| | modules || artifacts |
| conf | number| search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| test | 1 | 0 | 0 | 0 || 0 | 0 |
---------------------------------------------------------------------
[ivy:cachepath] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] WARN: :: UNRESOLVED DEPENDENCIES ::
[ivy:cachepath] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] WARN: :: org.jacoco#org.jacoco.ant;0.7.5.201505241946: configuration not public in org.jacoco#org.jacoco.ant;0.7.5.201505241946: 'test'. It was required from org.jacoco#org.jacoco.ant-caller;working test
[ivy:cachepath] WARN: ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] report for org.jacoco#org.jacoco.ant-caller;working test produced in /home/vagrant/.ant/cache/org.jacoco-org.jacoco.ant-caller-test.xml
[ivy:cachepath] resolve done (19ms resolve - 0ms download)
[ivy:cachepath]
[ivy:cachepath] :: problems summary ::
[ivy:cachepath] :::: WARNINGS
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :: UNRESOLVED DEPENDENCIES ::
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath] :: org.jacoco#org.jacoco.ant;0.7.5.201505241946: configuration not public in org.jacoco#org.jacoco.ant;0.7.5.201505241946: 'test'. It was required from org.jacoco#org.jacoco.ant-caller;working test
[ivy:cachepath] ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:cachepath]
[ivy:cachepath] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
irgendwas scheint hier mit org.jacoco.ant-caller zu sein, was aber nicht wirklich gibt (nix im netz gefunden).
Die eigentliche dependency (org.jacoco.ant) ist vorhanden-
Weiss jemand was da läuft ? Hab auch mit älteren jacoco Versionen probiert, da ist aber das selbe
thx