Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Buckminster and Maven2 Local Repository
Buckminster and Maven2 Local Repository [message #652312] Thu, 03 February 2011 14:48
Rajarshi is currently offline Rajarshi
Messages: 3
Registered: February 2011
Junior Member
Hi,

I am using Buckminster on the top of Maven2. I have noticed that buckminster always creates Maven2 directory before materializing maven components.

In my mspec file, I have given workspaceLocation="C:\Program Files\eclipse-xa\workspace" and installLocation="C:\Documents and Settings\A502484\.m2\repository".

[It creates "Maven2" directory under "C:\Documents and Settings\A502484\.m2\repository".]

[Below my mspec file]
<?xml version="1.0" encoding="UTF-8"?>
<mspec:mspec xmlns:mspec="http://www.eclipse.org/buckminster/MetaData-1.0" installLocation="" workspaceLocation="" name="wlp" shortDesc="" url="wlp.cquery">
<mspec:mspecNode installLocation="" materializer="workspace" workspaceLocation="C:\Program Files\eclipse-xa\workspace" filter="(buckminster.source=true)"/>
<mspec:mspecNode installLocation="C:\Documents and Settings\A502484\.m2\repository" materializer="filesystem" filter="(buckminster.source=false)"/>
</mspec:mspec>


[Below my rmap file]
<?xml version="1.0" encoding="UTF-8"?>
<rm:rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:maven="http://www.eclipse.org/buckminster/MavenProvider-1.0" xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
<rm:locator pattern="^wlp-.*" searchPathRef="awlcvs"/>
<rm:locator pattern=".*" searchPathRef="maven2"/>
<rm:searchPath name="awlcvs">
<rm:provider componentTypes="maven" readerType="cvs">
<rm:uri format=":ext:a502484@99.99.99.99:/cvs/s/spop/WLP_IBO,{0}">
<bc:propertyRef key="buckminster.component"/>
</rm:uri>
</rm:provider>
</rm:searchPath>
<rm:searchPath name="maven2">
<rm:provider xsi:type="maven:MavenProvider" componentTypes="maven" readerType="maven2" source="false" mutable="false" transitive="false">
<rm:property key="buckminster.source" value="false"/>
<rm:property key="buckminster.mutable" value="false"/>
<rm:uri format="http://xa.atosworldline.com/repository/maven"/>
</rm:provider>
</rm:searchPath>
</rm:rmap>


Is this default behavior of Buckminster? How can I tell Buckminter not to create "maven2" directory?

Thanks for help in advance.

Thanks
Rajarshi
Previous Topic:Buckminster and Maven2
Next Topic:Problem signing jar locally with custom keystore
Goto Forum:
  


Current Time: Fri Oct 24 20:41:51 GMT 2014

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

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