Hi,
I think I figure out a way to use MavenSettingsBuilder to get the local
repo. I'll do more test before I check in the fix.
Thanks,
Raymond
----- Original Message -----
From: "Freeman Fang" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Wednesday, December 13, 2006 6:31 PM
Subject: Re: why some tests assume a maven repo in the default location
Hi Raymond,
One solution is in those testcase we can parse settings.xml in maven
configuration folder(.m2) and get local localRepository element from this
configuration file.
If this solution is acceptable I can provide a patch for this.
Any thoughts, better solutions?
Thanks very much
Freeman
Raymond Feng wrote:
Hi, Alex and Freeman.
Thank you for reporting the issue and making proposals. Are you
interested in contributing a patch for this?
Thanks,
Raymond
----- Original Message ----- From: "Alex Chen" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Wednesday, December 13, 2006 12:36 AM
Subject: Re: why some tests assume a maven repo in the default location
I think maven can get the local repo location and pass to those tests by
itself.
--Alex
Freeman Fang wrote:
Hi,
I notice that there are two test MavenArtifactRepositoryTestCase and
LocalMavenRepositoryTestCase assume that maven repo is installed at
default location (user.home/.m2/repository), the test will fail in my
case, since I didnot install maven repo in the default location. I
believe many other users are same as me, just install maven repo
wherever they want, so the tests shouldnot be based on the assumption
that a maven repo is in the default location.
Any Thoughts?
Thanks very much
Freeman
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Freeman Fang
Software Engineer
IONA Asia Pacific Software Development Center
No.2 Floor A Unit Information Center
Zhongguancun Software Park Haidian District,
Beijing, P.R.China
Tel.: +86-10-82825151 - ex. 551
Fax: +86-10-8282-5210
[EMAIL PROTECTED]
-------------------------------------------------
Making Software Work Together TM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]