Steve,

Why is the maven system repo in the $MAVEN_HOME/repository directory being used for 
the DefaultFileRepository in the DefaultEmbeddedKernel's createBootstrapRepository() 
static method?  Namely here:

<snip/>
DefaultEmbeddedKernel:(417-430)
    private Repository createBootstrapRepository() 
    {
        try
        {
            File repo = getSystemRepositoryDirectory();
            ProxyContext proxy = createProxyContext();
            URL[] hosts = createHostsSequence();
            return new DefaultFileRepository( repo, proxy, hosts );
        }
<snip/>

I would figure the ${user.home}/.maven/repository directory would be used instead.  Am 
I totally off on this one?  I'm asking this because I'm getting the following error in 
the StandardTestCase test run:

Cause: org.apache.avalon.merlin.unit.UnitRuntimeException
Message: Internal bootstrap error.  Unable to load item: avalon-framework:avalon
-framework-api;4.1.5

Cause: org.apache.avalon.repository.RepositoryException
Message: No resources of the type: 'jar' in the group: 'avalon-framework' with the 
name: 'avalon-framework-api' and version: '4.1.5. 

File: 
'C:\cygwin\opt\java\tools\maven-1.0-beta-10\repository\avalon-framework\jars\avalon-framework-api-4.1.5.jar'.

So it's trying to access the jar dependency in the maven system directory rather than 
hitting my user's temp repository here:

'C:\Documents and 
Settings\akarasulu\.maven\repository\avalon-framework\jars\avalon-framework-api-4.1.5.jar'

BTW I got the error by running the maven default goal within the merlin/kernel/unit 
directory using maven beta-10 as you can see above.

Thanks,
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to