It would certainly be helpful to our users to include the dependencies in
the distro. Otherwise, it's like trying to drive a car without the
wheels.
David
--- Henri Yandell <[EMAIL PROTECTED]> wrote:
> Not a huge issue for things like Lang which have no dependencies, but
> for other things like Digester I think it would be a lot better if the
> binary tar.gz contained the jars it depends on?
>
> So when I download digester-1.6, the tar.gz contains jars for
> logging-1.0.3 and beanutils-1.7. We're not forcing those versions on
> people, just providing them to save lots of searching around or
> waiting while iBiblio responds.
>
> It seems pretty easy to do too from a maven.xml point of view:
>
> <?xml version="1.0"?>
> <project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
> <!--
> description="Adds dependencies to distributions"
> -->
> <postGoal name="dist:prepare-bin-filesystem">
> <ant:mkdir dir="${maven.dist.bin.archive.dir}/dependencies"/>
> <j:forEach var="dep" items="${pom.dependencies}">
> <j:if test="${dep.getProperty('distributable')=='true'}">
> <copy todir="${maven.dist.bin.archive.dir}/dependencies"
>
file="${maven.repo.local}/${dep.getGroupId()}/jars/${dep.getArtifact()}"/>
> </j:if>
> </j:forEach>
> </postGoal>
> </project>
>
> You'd just add:
>
> <properties>
> <distributable>true</distributable>
> </properties>
>
> to a dependency.
>
> Anyone interested?
>
> Hen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
=====
Get Firefox!
http://www.mozilla.org/firefox/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]