Nathan:


I've been looking into this problem in relation to component deployment requirements related to the Avalon Merlin project [1]. Merlin provides support for composite components (i.e. coponents that are created dynamically based on service provided by other components). The James mail server is such as example - it is a composite component it pulls in Avalon Cornersone components as part of its implementation strategy. However, in order to deploy James you need the sun activation and mail jar files. Traditionally James has packaged and deployed thair product using container specific solutions - however, recent developments over in Avalon are providing solutions that are totally linked to the Maven repository model.

For example, if you have the Merlin prouduct installed [2], you can do the following:

$ merlin -install http://dpml.net/james/james-server.bar

This command basically populates your local repository with the james application including the necessary bundled Sun jar files. The Merlin repository uses the same structure as the Maven repository so you can do thing like:

$merlin -install <your-bar-file> -repository %MAVEN_HOME%\repository

We already have a Maven plugin that provides support for component deployment based on the content of the Maven repo and it would not be too hard to update this to include the install capabilities relative to project dependencies.

Stephen.

[1] http://avalon.apache.org/sandbox/merlin
[2] http://dpml.net/merlin/distributions



Nathan Coast wrote:

Hi,

Just wondering if there had been any movement on the licensing of sun jars recently?

http://maven.apache.org/sun-licensing-journey.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00641.html

Until such a time as these jars become available via maven (if they ever do) what is the best approach to getting round dependencies? Up until now I've been placing some jar that contains dependencies into the repo and creating a dependency to it. E.g. j2ee.jar, weblogic.jar. Whilst this works, it seems a bit ham-fisted, once you start sharing the project with other people - unless they're sharing the same local repo.

cheers
Nathan




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



--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]




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



  • sun jars Nathan Coast
    • Stephen McConnell

Reply via email to