[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] Buckminster Aggregator - mvn2 repo to p2 repo help

Yes, this pattern is correct.

The repository cannot be loaded because of several reasons:

1) The hudson web page format

If the maven2 repository is not indexed by nexus (for which we have an optional non-eclipse extension), then we must parse whatever is delivered upon a http/https request. We were prepared for simple directory listings (such as the default Apache Web Server directory listing). However, the hudson format is more complicated. I can adopt the reader so that it would parse this format properly (although I'm not sure how to distinguish between a link to a file and to a folder right now, in the "standard" listing folders end with a slash which is not the hudson's case).

2) The maven-metadata.xml file is not found

We look for maven-metadata.xml files. These files are not available in your repository, but maven-metadata-local.xml files are. I can add a rule to recognize this file as well.

3) MD5 and SHA1 checksums are missing

We require checksums to be present and correct, otherwise the components are refused. Should we ignore the checksums? Should we add properties to choose if (and which) checksums are required/checked? What do you think?

Once we fix these three issues, you will see your components in the repository view. Then we can talk about the displayed content.



Chris Aniszczyk napsal(a):
I'm trying to convert an existing maven2 repo to a p2 repo using the aggregator (which is a cool little tool btw)

This is my current model:

<?xml version="1.0" encoding="UTF-8"?>
<aggregator:Aggregator xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"; xmlns:aggregator="http://www.eclipse.org/buckminster/2009/aggregator";>
<configurations operatingSystem="macosx" windowSystem="cocoa"/>
<contributions description="JGit Latest" label="JGit">
<repositories location="https://build.eclipse.org/hudson/job/jgit/lastSuccessfulBuild/artifact/.repository/"; nature="maven2"/>

For some reason, I can't contact the site... even if I try a local URL too (i.e., /Users/chrisaniszczyk/.m2/repository/org/eclipse/jgit)

Any thoughts? Is this an intended usage pattern?


Chris Aniszczyk