We are automating the build of our plugins.
Per the tutorial, we setup a new workspace, and imported only our plugins, with the goal being to materialize from an iDempiere build.
Our plugins all start with my.plugin
But we are getting this error, when opening the .cquery file, and clicking on Resolve and Materialize:
ERROR [0001] : No suitable provider for component base:eclipse.feature was found in resourceMap file:/path/to/my.plugin/base.rmap
ERROR [0001] : No suitable provider for component base:eclipse.feature was found in searchPath idempiere-evebuild01
ERROR [0001] : Rejecting provider p2(file://home/myuser/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/site.p2[file://home/myuser/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/site.p2]): No component match was found
Errors and Warnings
E [0001] : No suitable provider for component base:eclipse.feature was found in resourceMap file:/path/to/my/autobuildworkspace/my.plugin/base.rmap
E [0001] : No suitable provider for component base:eclipse.feature was found in searchPath idempiere-evebuild01
E [0001] : Rejecting provider p2(file://home/myuser/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/site.p2[file://home/myuser/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/site.p2]): No component match was found
TAG-ID 0001 = Query for base:eclipse.feature
Follows is our rmap file:
<?xml version="1.0" encoding="UTF-8"?>
<rm:locator pattern="^my\.plugin(\..+)?" searchPathRef="local"/>
<rm:locator searchPathRef="idempiere-evebuild01"/>
<rm:searchPath name="local">
<rm:provider componentTypes="eclipse.feature,osgi.bundle" readerType="local">
<rm:uri format="{0}/{1}">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
</rm:provider>
</rm:searchPath>
<rm:searchPath name="idempiere-evebuild01">
<rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="p2" mutable="false">
<rm:property key="buckminster.mutable" value="false"/>
<rm:uri format="file://home/myuser/buckminster.output/org.adempiere.server_2.1.0-eclipse.feature/site.p2">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
</rm:provider>
</rm:searchPath>
</rm:rmap>
Here is our cquery file:
<cq:rootRequest name="base" componentType="eclipse.feature"/>
<cq:property key="target.arch" value="*"/>
<cq:property key="target.os" value="*"/>
</cq:componentQuery>