You can lookup the fullpath of your dependency.
Check out maven-dependency-plugin for sample source.
-Dan
On 4/20/06, Michael Niemaz <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I have a project with a zip dependency. I thought I could access it
> from java such as:
>
> classloader.getResourceAsStream("${dep}.zip");
>
> but apparently not.
>
> I tried to rename the zip deps into jar ones and change the java code
> accordingly but in vain ;-(
> This getResourceAsStream returns null;
>
> Works fine though if I put the zip dep as a build resource i.e: in the
> src directory...
>
> Is this possible at all or am I out of the scope?
>
> Regards,
>
> --mike
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>