Integration with Maven

Paweł Baran pwelbrn at gmail.com
Mon May 30 16:35:40 UTC 2011


On 29.05.2011 22:38, Alexander Belchenko wrote:
> 29.05.2011 16:01, Gordon Tyler пишет:
>> On 5/29/2011 6:27 AM, pwbr wrote:
>>
>>> Hello! I want to use Bazaar as VCS to my project. The project
>>> consists of few modules. Layout is similiar to this[1] one. I would
>>> like to achieve some goals. The first one is following layout:
>>> repository/ # Overall repository +- project1/ # master
>>> branch | +- module1/ | +- trunk/ # branch | +- module2/ |
>>> +- trunk/ # branch | ...
>>> I would like to get convenient checkouts, too. Something like: bzr
>>> co PATH/repository/project1 - gets entire project with modules, bzr
>>> co PATH/repository/project1/module1/trunk - gets only specified
>>> module.
>>> How can i solve this problem?
>>> [1]
>>> http://docs.codehaus.org/display/MAVENUSER/Multi-modules+projects
>> Try bzr-externals or bzr-scmproj.
>>
>> https://launchpad.net/bzr-externals
>> https://launchpad.net/bzr-scmproj
>>
>> I think scmproj may be more suited to what you want to do.
> I think bzr-externals would be easier to use, because scmproj requires
> using special commands instead of standard bzr commands.
>
Thanks for replies! I don't know why i couldn't find these plugins. 
bzr-externals seems to be much easier, but i have one question. Can the 
relative path be relative in repository server? I mean situation when 
modules are on the same server (their repositories in the same 
directory). For instance:
/home/user/bzr-repos/repository1/project1
and
/home/user/bzr-repos/repository2/project2.

I want to link from one to the second. For example in project1 directory 
module1 subdirectory to project2/. I tried to assign project1/module1 -> 
../../repository2/project2, but it didn't work. Relative path works only 
on client side (local)?



More information about the bazaar mailing list