I would like to get a dependency materialized from the local maven repository on my machine. Is this possible with buckminster?
At the moment I get the following error trying to get it from local (example: org.sat4j.core, replaced specific locations on my machine with <path_to_rmap_file> and <maven_location>):
E  : No suitable provider for component org.sat4j/org.sat4j.core:maven was found in resourceMap file:/<path_to_rmap_file>/buckminster.rmap
E  : No suitable provider for component org.sat4j/org.sat4j.core:maven was found in searchPath maven_local
E  : Rejecting provider maven2(file:///<mavne_location>/.m2/repository[file://<maven_location>/.m2/repository]): No component match was found: java.io.FileNotFoundException: <maven_location>\.m2\repository\org\sat4j\org.sat4j.core\maven-metadata.xml (The system cannot find the file specified)
And there is no maven-metadata.xml in my local maven repository for org.sat4j.core.
Here is my rmap:
<rm:locator pattern="^.*" searchPathRef="maven_local"/>
<rm:provider xsi:type="mp:MavenProvider" readerType="maven2" componentTypes="maven" mutable="false" source="false">
<rm:uri format="file:///<maven_location>/.m2/repository" />
Here is my cquery:
<?xml version="1.0" encoding="UTF-8"?>
xmlns:cq="..." <- left out due to restriction on links by eclipse forum
<cq:rootRequest name="org.sat4j/org.sat4j.core" componentType="maven"/>
<cq:advisorNode namePattern="Maven Resolution" useTargetPlatform="false" useWorkspace="false"/>
If I just replace in the rmap the uri with the online maven repository it materializes successfully.
Thanks in advance!