On Fri, Jan 4, 2013 at 3:23 AM, Sergiu Dumitriu <[email protected]> wrote:
> On 01/03/2013 09:16 PM, [email protected] wrote:
>> Hi.  I'm new to XWiki and haven't done much with Java and Maven, so
>> apologies for the dumb question...
>>
>> I'm trying to build from the git repositories.  I'm starting with
>> xwiki-commons and just naively typing "mvn" to see what happens.  It
>> seems to get quite a long way through the build, but then dies with:
>>
>> [WARNING] The POM for
>> edu.emory.mathcs.util:emory-util-classloader:jar:2.1 is missing, no
>> dependency information available
>> [ERROR] Failed to execute goal on project xwiki-commons-classloader-api:
>> Could not resolve dependencies for project
>> org.xwiki.commons:xwiki-commons-classloader-api:jar:4.5-SNAPSHOT:
>> Failure to find edu.emory.mathcs.util:emory-util-classloader:jar:2.1 in
>> http://repo1.maven.org/maven2 was cached in the local repository,
>> resolution will not be reattempted until the update interval of central
>> has elapsed or updates are forced -> [Help 1]
>>
>> Interpreting the various .pom files, it looks like it expects to find
>> all necessary dependencies on maven.xwiki.org.  Looking through the
>> hierarchy there, seems like there's org. and com. hierarchies, but
>> nothing under edu. at all.
>>
>> Am I supposed to configure other repositories myself before this build
>> will work?
>
> Yes, see the example settings.xml file at:
> http://dev.xwiki.org/xwiki/bin/Community/Building#HInstallingMaven

Well yes and no, you actually found an issue. commons is a bit special
since it's supposed to depend on nothing but Maven central so it
should have worked but I checked and indeed emory-util-classloader is
not on Central which mean we have quite an issue here since it
completely defeat the whole point of deploying commons itself on
Central.

In the meantime doing what Sergiu suggested will fix your issue.


>
>> Or is it just an oversight that edu.emory.mathcs.util isn't
>> already included on maven.xwiki.org?
>>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs



--
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to