link
Avalon
Developing With Apache Avalon
Home PlanetProductsCentral
Avalon Repository

Work in progress.

The Avalon Repository system is a powerful solution to Jar Hell. The underlying technology is fairly straight forward but it enables so much;

Using Avalon Repository

To leverage the extensive repository of Maven at ibiblio.org and other compliant repositories, Avalon Repository is capable of harnessing these resources. That means that if your component depends on, let's say, Jakarta Commons Collections, you don't need to track that Jar in your project(s) at all, just specify;

    

in the block.xml. If you want to include a component in a repository into a component that you are working on, just enter;

    
    
Bootstrapping Merlin with Repository

Avalon Merlin can be bootstrapped with a minimal Jar file, and be downloaded and started from a central repository. And since the artifact (the object that Repository picks up) is always versioned, you can even select which version of Merlin that you want to start, without having Merlin installed on your system.

Just make sure you have the merlin-cli-N.n.jar, and type;

    java -jar merlin-cli-3.3.jar -impl "merlin:merlin-impl;3.3" -execute block.xml

Please note that the first delimiter is a colon (:) and the second one is a semicolon (;).

And the block.xml can either be a local file or a remote URL, such as http://myhost.org/blocks/someApp/block.xml