[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fakeroot and maven



On Mon, Feb 14, 2011 at 06:32:16PM +0100, Olivier Sallou wrote:
> Hi,
> I want to build a lib with maven in my packaging process.
> I have an issue though with fakeroot. Maven requires a repository (under  
> debian is /usr/share/maven-repo.
>
> I do not have the rights (unless being root) to write in this dir, so it  
> fails with fakeroot.

That's correct.  While building a package you must not write into /usr.

> I tried to use a specific setting.xml file but issue is the repository  
> property needs to be a full path, not relative, so I cannot set it  
> either to use my package dir....

Try either

	$(CURDIR)/debian/your_temp_dir
or
	`pwd`/debian/your_temp_dir

Hope this helps

    Andreas.

-- 
http://fam-tille.de


Reply to: