Ivy resolve fails for jacoco.ant

85 views
Skip to first unread message

emers...@yahoo.com

unread,
Sep 15, 2015, 8:31:02 AM9/15/15
to JaCoCo and EclEmma Users

Hi,

I have a build file (ant/ivy) containing the following:

      <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"/>


to include jacoco.ant in the build for coverage analysis.

When I run this though it returns

[ivy:cachepath] :: downloading artifacts ::

[ivy:cachepath] :: resolution report :: resolve 2431ms :: artifacts dl 0ms

       --------------------------------------------------------------------

       |                  |            modules            ||   artifacts   |

       |       conf       | number| search|dwnlded|evicted|| number|dwnlded|

       ---------------------------------------------------------------------

       |       test       |   1   |   1   |   1   |   0   ||   0   |   0   |

       ---------------------------------------------------------------------

[ivy:cachepath] WARN:   ::::::::::::::::::::::::::::::::::::::::::::::

[ivy:cachepath] WARN:   ::          UNRESOLVED DEPENDENCIES         ::

[ivy:cachepath] WARN:   ::::::::::::::::::::::::::::::::::::::::::::::

[ivy:cachepath] WARN:   :: org.jacoco#org.jacoco.ant;0.7.3.201502191951: configuration not public in org.jacoco#org.jacoco.ant;0.7.3.201502191951: '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 (2431ms 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.3.201502191951: configuration not public in org.jacoco#org.jacoco.ant;0.7.3.201502191951: '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


what is this jacoco.ant-caller ? 

And what do I need to change to make the build working ?

Thanks


emers...@yahoo.com

unread,
Sep 15, 2015, 8:59:48 AM9/15/15
to JaCoCo and EclEmma Users
Sorry, the output from ivy shows an older version I also tried.
I want to make it run with the 0.7.5 version - and for this the same error/output is produced

emers...@yahoo.com

unread,
Sep 15, 2015, 9:57:12 AM9/15/15
to JaCoCo and EclEmma Users
Found out that this is also the case for other libraries. I tried cobertura and even google guava.
So this seems not to be a jacoco thing. In case anyone knows about it though...


On Tuesday, September 15, 2015 at 2:31:02 PM UTC+2, emers...@yahoo.com wrote:

Marc Hoffmann

unread,
Sep 15, 2015, 10:22:36 AM9/15/15
to jac...@googlegroups.com
Hi,

> what is this jacoco.ant-caller ?


No idea. This is not an artifact the JaCoCo project delivers or depends
on.

Regards,
-marc
> --
> You received this message because you are subscribed to the Google
> Groups "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jacoco+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jacoco/8344bf83-c4c2-43b2-b3f8-6ce975a5da57%40googlegroups.com
> [1].
> For more options, visit https://groups.google.com/d/optout [2].
>
>
> Links:
> ------
> [1]
> https://groups.google.com/d/msgid/jacoco/8344bf83-c4c2-43b2-b3f8-6ce975a5da57%40googlegroups.com?utm_medium=email&utm_source=footer
> [2] https://groups.google.com/d/optout

emers...@yahoo.com

unread,
Sep 16, 2015, 3:00:34 AM9/16/15
to JaCoCo and EclEmma Users
I found the problem - the 'conf="test"' was the bad one. Not sure why, but removing this from the definition and it worked.



On Tuesday, September 15, 2015 at 2:31:02 PM UTC+2, emers...@yahoo.com wrote:
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages