Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[buckminster-dev] Maven resolution does not work

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/openrdf-root-pom/3.0-alpha1/openrdf-root-pom-2.pom.md5: File not found: http://repo.aduna-software.org/maven2/releases/org/openrdf/openrdf-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/sesame/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/openrdf-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
<?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>
<?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>

Back to the top