Marco Tedone wrote:

Ok - the block defintion was missing the api class dependency!
Fixed in cvs.  If you update then:

 cd impl
 maven merlin:simulate




I followed the instructions and I obtain the following error:


D:\Projects\Merlin_template>cd impl

D:\Projects\Merlin_template\impl>maven merlin:simulate


<snip>


Exception: org.apache.avalon.repository.RepositoryException
Message: Failed to download artifact to local cache file C:\Documents and
Settings\mtedone\.avalon\r
epository\template\jars\template-api-1.0.jar from hosts:
 http://dpml.net/
 http://www.ibiblio.org/maven/


The above exception indicates the the \template\jars\template-api-1.0.jar has not been installed into your local maven repository. The merlin:simulate goal only simulates a component demployment based on the the target/classes and whatever dependencies are included in the block.xml that is copied into target/classes.


First thing to do is to check why you don't have the api jar in you local repository.

Also, if you testing this from CVS - there have been a number of minor updates over the weekend.

Stephen.

--

Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





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



Reply via email to