You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wendy Smoak <ja...@wendysmoak.com> on 2005/08/30 15:33:48 UTC
[m1] Downloading an un-declared dependency
(Last one, I promise, at least for this morning.)
Is there a way, in maven.xml, to do the equivalent of what maven does when
you list a <dependency> in project.xml?
I have some dependencies that the build "knows" about, but that cannot be
listed in project.xml. (They're duplicates-- see the conditional dependency
thread.)
I would love to be able to conditionally try to download the "right" ones
into the local repository and fail the build if they can't be retrieved...
just like Maven does.
I've found the list of Maven Jelly tags here, but nothing jumps out at me:
http://maven.apache.org/reference/maven-jelly-tags/tags.html
Is there another reference I should be looking at? Am I venturing into
plugin creation at this point? I was trying not to, but that seems like
where I might be headed. :)
Thanks once again,
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: [m1] Downloading an un-declared dependency
Posted by Brett Porter <br...@gmail.com>.
Hi Wendy,
No, not really. In Maven1, to do conditional downloads of dependencies you
really need to split it up into subprojects (ie, shale-jsf-core which is
your main code, shal-jsf-ri which is that rebundled with the RI,
shale-jsf-myfaces which is rebundled with myfaces).
m2 has profiles for such things.
Hope this helps,
Brett
On 8/30/05, Wendy Smoak <ja...@wendysmoak.com> wrote:
>
> (Last one, I promise, at least for this morning.)
>
> Is there a way, in maven.xml, to do the equivalent of what maven does when
> you list a <dependency> in project.xml?
>
> I have some dependencies that the build "knows" about, but that cannot be
> listed in project.xml. (They're duplicates-- see the conditional
> dependency
> thread.)
>
> I would love to be able to conditionally try to download the "right" ones
> into the local repository and fail the build if they can't be retrieved...
> just like Maven does.
>
> I've found the list of Maven Jelly tags here, but nothing jumps out at me:
> http://maven.apache.org/reference/maven-jelly-tags/tags.html
>
> Is there another reference I should be looking at? Am I venturing into
> plugin creation at this point? I was trying not to, but that seems like
> where I might be headed. :)
>
> Thanks once again,
> --
> Wendy Smoak
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>