httplient 4.1.1 can't find httpcore configuration 'core'

11 views
Skip to first unread message

Alan Chaney

unread,
Jun 23, 2011, 8:37:07 AM6/23/11
to ivyroundup
Hi

I have a dependency in one of my projects:

<dependency org="org.apache.httpcomponents" name="httpclient"
rev="4.1.1" conf="coverage,test->client,mime" />

which has worked fine up until this morning. I'm now getting:

:: problems summary ::
:::: WARNINGS
::::::::::::::::::::::::::::::::::::::::::::::

:: UNRESOLVED DEPENDENCIES ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.apache.httpcomponents#httpcore;4.1.1: configuration not found
in org.apache.httpcomponents#httpcore;4.1.1: 'core'. It was required
from org.apache.httpcomponents#httpclient;4.1.1 client

::::::::::::::::::::::::::::::::::::::::::::::

The ivy.xml for httpcore in my cache is:

<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0">
<info organisation="org.apache.httpcomponents"
module="httpcore"
revision="4.1.1"
status="release"
publication="20110621060012"
default="true"
/>
<configurations>
<conf name="default" visibility="public"/>
</configurations>
<publications>
<artifact name="httpcore" type="jar" ext="jar" conf="default"/>
</publications>
</ivy-module>

And so the error message is correct - there is no configuration 'core'
in httpcore - I assume that a change was made in the last few days.
Anyway - either httpclient should be changed to have require the
default configuration from httpcore, or httpcore should be changed to
publish the core config.

Thanks

Alan





Archie Cobbs

unread,
Jun 23, 2011, 10:47:14 AM6/23/11
to ivyro...@googlegroups.com
Looks like the ivy.xml for httpcore in your cache must have come from some other repository.

Here is the current Ivy RoundUp one, which shows the "core" configuration.

-Archie






--
You received this message because you are subscribed to the Google Groups "ivyroundup" group.
To post to this group, send email to ivyro...@googlegroups.com.
To unsubscribe from this group, send email to ivyroundup+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ivyroundup?hl=en.




--
Archie L. Cobbs

Alan Chaney

unread,
Jun 23, 2011, 10:57:40 AM6/23/11
to ivyro...@googlegroups.com
Hi Archie

You were right, but I have no idea how it could have happened. I deleted the httpcomponents folder from my cache and re-ran the resolution and, of course, it comes out OK.

*Something* must have generated the other version which was in the correct place in the cache, but the contents were totally different from that of the ivyroundup version. I'll see if it happens again.

Sorry to bother you.

Thanks

Alan
Reply all
Reply to author
Forward
0 new messages