Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster dev » Maven resolution does not work
Maven resolution does not work [message #35448] Mon, 22 June 2009 11:35 Go to next message
Ken Wenzel is currently offline Ken Wenzel
Messages: 39
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------050308020008060603040303
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hallo,

I have problems materializing Maven projects with the latest Version of Buckminster for Eclipse 3.5.

If I try to resolve sesame.cquery an Exception is thrown:
Resolution attempt ended with exception: File not found:
http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/3.0-alpha1/openrdf-root-pom-2.pom.md5: File not found:
http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/3.0-alpha1/openrdf-root-pom-2.pom.md5

The reference to the parent project openrdf-root-pom is stated in the POM
http://repo.aduna-software.org/maven2/releases/org/openrdf/s esame/sesame/3.0-alpha1/sesame-3.0-alpha1.pom

by
<parent>
<groupId>org.openrdf</groupId>
<artifactId>openrdf-root-pom</artifactId>
<version>2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

I think either the given relativePath is wrong or is not interpreted by Buckminster and/or the version attribute is ignored.
The correct URL of the file openrdf-root-pom-2.pom.md5 is:
http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/2/openrdf-root-pom-2.pom.md5

Using advisor nodes to override the versions of sesame and/or openrdf-root-pom does not help either.

Thank you in advance.

Best regards,
Ken Wenzel

--------------050308020008060603040303
Content-Type: text/xml;
name="resources.rmap"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="resources.rmap"

<?xml version="1.0" encoding="UTF-8"?>
<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">

<searchPath name="org.openrdf">
<provider xsi:type="mp:MavenProvider" readerType="maven2" componentTypes="maven" mutable="false"
source="false">
<uri format="http://repo.aduna-software.org/maven2/releases" />
</provider>
<provider xsi:type="mp:MavenProvider" readerType="maven2" componentTypes="maven" mutable="false"
source="false">
<uri format="http://repo.aduna-software.org/maven2/snapshots" />
</provider>
</searchPath>

<searchPath name="default">
<provider xsi:type="mp:MavenProvider" readerType="maven2" componentTypes="maven" mutable="false"
source="false">
<uri format="http://repo1.maven.org/maven2" />
</provider>

</searchPath>

<locator searchPathRef="org.openrdf" pattern="^org\.openrdf(\..+)?$" />
<locator searchPathRef="org.openrdf" pattern="^info\.aduna(\..+)?$" />
<locator searchPathRef="default" pattern=".*" />
</rmap>

--------------050308020008060603040303
Content-Type: text/xml;
name="sesame.cquery"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="sesame.cquery"

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="resources.rmap">
<cq:rootRequest name="org.openrdf.sesame/sesame" componentType="maven"/>
</cq:componentQuery>

--------------050308020008060603040303--
Re: Maven resolution does not work [message #35483 is a reply to message #35448] Mon, 22 June 2009 18:47 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
Is this a regression?
- henrik
Ken Wenzel wrote:
> Hallo,
>
> I have problems materializing Maven projects with the latest Version of
> Buckminster for Eclipse 3.5.
>
Re: Maven resolution does not work [message #35598 is a reply to message #35483] Tue, 23 June 2009 07:10 Go to previous messageGo to next message
Ken Wenzel is currently offline Ken Wenzel
Messages: 39
Registered: July 2009
Member
The given component query worked with previous versions of Buckminster.
I think it's a regression but I cannot guarantee for that since it could also be possible that
changes in the structure of the maven repository lead to this error.

Ken

Henrik Lindberg schrieb:
> Is this a regression?
> - henrik
> Ken Wenzel wrote:
>> Hallo,
>>
>> I have problems materializing Maven projects with the latest Version
>> of Buckminster for Eclipse 3.5.
Re: Maven resolution does not work [message #35665 is a reply to message #35448] Tue, 23 June 2009 14:20 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3229
Registered: July 2009
Senior Member
Hi Ken,
Can you please file a bugzilla for this?

Regards,
Thomas Hallgren

Ken Wenzel wrote:
> Hallo,
>
> I have problems materializing Maven projects with the latest Version of
> Buckminster for Eclipse 3.5.
>
> If I try to resolve sesame.cquery an Exception is thrown:
> Resolution attempt ended with exception: File not found:
> http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/3.0-alpha1/openrdf-root-pom-2.pom.md5:
> File not found:
> http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/3.0-alpha1/openrdf-root-pom-2.pom.md5
>
>
> The reference to the parent project openrdf-root-pom is stated in the POM
> http://repo.aduna-software.org/maven2/releases/org/openrdf/s esame/sesame/3.0-alpha1/sesame-3.0-alpha1.pom
>
>
> by
> <parent>
> <groupId>org.openrdf</groupId>
> <artifactId>openrdf-root-pom</artifactId>
> <version>2</version>
> <relativePath>../../pom.xml</relativePath>
> </parent>
>
> I think either the given relativePath is wrong or is not interpreted by
> Buckminster and/or the version attribute is ignored.
> The correct URL of the file openrdf-root-pom-2.pom.md5 is:
> http://repo.aduna-software.org/maven2/releases/org/openrdf/o penrdf-root-pom/2/openrdf-root-pom-2.pom.md5
>
>
> Using advisor nodes to override the versions of sesame and/or
> openrdf-root-pom does not help either.
>
> Thank you in advance.
>
> Best regards,
> Ken Wenzel
>
Re: Maven resolution does not work [message #35699 is a reply to message #35665] Tue, 23 June 2009 15:54 Go to previous message
Ken Wenzel is currently offline Ken Wenzel
Messages: 39
Registered: July 2009
Member
I created a bug report for this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=281231
Previous Topic:[buckminster-dev] Committer vote for Ed Merks has concluded successfully
Next Topic:[buckminster-dev] Committer vote for Ed Merks has been approved by the PMC
Goto Forum:
  


Current Time: Sun Oct 26 06:59:34 GMT 2014

Powered by FUDForum. Page generated in 0.11314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software