Re: Using a resource/artifact from a sibling module build?

2009-01-28 Thread Stephen Connolly
dependency:copy-dependencies

2009/1/28 philion :
> Greetings,
>
> I have a need to copy one of the artifacts from one module build and
> use it as a resource (*not* a dependency) for another build. In ant, I
> would just copy the file over to the right directory.
>
> For example:
>
> - project
>  + sub-a
> + produces "sub-a.jar"
>  + sub-b
> + requires "src/main/resources/foo/sub-a.jar"
>
> How do I tell sub-b to go get sub-a.jar and copy it to the right place
> (for an assembly)?
>
> Thanks,
>
> - philion
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Using a resource/artifact from a sibling module build?

2009-01-28 Thread philion
Greetings,

I have a need to copy one of the artifacts from one module build and
use it as a resource (*not* a dependency) for another build. In ant, I
would just copy the file over to the right directory.

For example:

- project
  + sub-a
 + produces "sub-a.jar"
  + sub-b
 + requires "src/main/resources/foo/sub-a.jar"

How do I tell sub-b to go get sub-a.jar and copy it to the right place
(for an assembly)?

Thanks,

- philion

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org