Re: [sbt] Bad organization name with org.apache.commons:commons-io and commons-io:commons:io

333 views
Skip to first unread message

Mark Harrah

unread,
Sep 15, 2012, 8:55:21 AM9/15/12
to simple-b...@googlegroups.com
On Fri, 14 Sep 2012 04:08:43 -0700 (PDT)
Nepomuk Seiler <nepomuk...@gmail.com> wrote:

> Hi,
>
> I'm working on a osgi test setting with apache karaf and pax runner.
> Pull Request: https://github.com/akka/akka/pull/589#issuecomment-8557635
>
> Problem.
> Apache Karaf needs *org.apache.commons:commons-io *and the akka
> SBT build already uses *commons-io:commons-io* which leads to a dependcy
> conflict with the following error:
>
> {file:/home/muki/Development/workspace_play/akka/}akka-osgi-tests/*:update:
> sbt.ResolveException: unresolved dependency: org.apache.commons#commons-io;1.3.2: java.text.ParseException:
> inconsistent module descriptor file found in 'http://repo1.maven.org/maven2/org/apache/commons/commons-io/1.3.2/commons-io-1.3.2.pom':
> bad organisation: expected='org.apache.commons' found='commons-io';
>
> I'm not able to fix this conflict. I tried excluding dependecies, removing
> from the Dependencies.OSGI object.

It is isn't a conflict- Ivy is complaining about the pom being inconsistent. Excluding should work, but you need to exclude the version with the broken metadata. What do your dependency definitions look like?

-Mark

> I cross posted this on the akka userlist:
> https://groups.google.com/forum/?fromgroups=#!topic/akka-user/nqSn6teoX6Y
>
> anybody an idea?
> thanks Muki
>
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/simple-build-tool/-/ICaMS3CM_V8J.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>

Reply all
Reply to author
Forward
0 new messages