OK I reverted back to RC3 with plugins and all.  I blew away all the merlin
and Avalon directories in the maven repository.  Then I ran the
merlin:simulate goal and I got this weird result.  Check it out:

$ maven merlin:simulate
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-10

Attempting to download avalon-framework-api-SNAPSHOT.jar.
Attempting to download avalon-framework-impl-SNAPSHOT.jar.
Attempting to download schema-api-SNAPSHOT.jar.
Error retrieving artifact from
[http://www.ibiblio.org/maven/ldapd-server/jars/s
chema-api-SNAPSHOT.jar]: java.lang.Exception: Can't get
schema-api-SNAPSHOT.jar
to C:\Documents and
Settings\Administrator\.maven\repository\ldapd-server\jars\s
chema-api-SNAPSHOT.jar
Artifact /ldapd-server/jars/schema-api-SNAPSHOT.jar doesn't exists in remote
rep
ository, but it exists locally
File...... file:/C:/Documents and
Settings/Administrator/.maven/plugins/merlin-p
lugin-1.0/
Element... define:jellybean
Line...... 15
Column.... 27
org/apache/avalon/repository/Repository
BUILD SUCCESSFUL
Total time:  4 seconds

Any ideas why I'm getting this behavior now?

Alex


-----Original Message-----
From: Stephen McConnell [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 14, 2003 1:23 PM
To: Avalon framework users
Subject: Re: -repository not working like -system anymore - problem
identified



Alex Karasulu wrote:

>One last question (I can't seem to stop).  First take a look at this output
>from merlin:simulate:
>

:-)

>merlin:prepare-context:
>    [echo] merlin.repository.local = C:\Documents and
>Settings\Administrator/.ma
>ven/repository
>[DEBUG  ] (kernel.logging): default priority: DEBUG
>[DEBUG  ] (kernel.logging): adding category: kernel, null
>[DEBUG  ] (kernel.context): logging system established
>[DEBUG  ] (kernel.context): setting repository to: C:\Documents and
>Settings\Adm
>inistrator\.maven\repository\repository
>[DEBUG  ] (kernel.context): repository established
>
>Notice the echo of the merlin.repository.local property.  Now look at the
>4th debug line here:
>
>[DEBUG  ] (kernel.context): setting repository to: C:\Documents and
>Settings\Administrator\.maven\repository\repository
>

Umm - this is *really* strange - but I think I know what is happening. 


>What do you think could make the kernel switch from the echo'ed setting to
>this one which adds the extra repository component?
>  
>

The plugin is bootstrapping from the jar files in the maven repository - 
not from ${merlin.home).  In you case you have a version of merlin jars 
in your maven repository that assume that the argument passes as the 
repository base directory is in fact the system directory.  That's why 
it is apprending /repository to the path.  Could you please delete the 
avalon-* and merlin directories from the maven repository and try again.

I need to think about this ....

>Also you said I should be putting stuff into the ${merlin.home}/repository.
>Then what's the reason for having the -repository switch.
>  
>

Sorry I mean you should be putting content into wherever you point 
-repository to.

Cheers, Steve.

-- 

Stephen J. McConnell
mailto:[EMAIL PROTECTED]




---------------------------------------------------------------------
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]

Reply via email to