If it is a dependency of Project A and Project B it belongs to its own
module and be treated as a dependency. It is the easiest way, really.

Another option would be to use the dependency plugin unpack goal with
an includes of the needed file. [1]

[1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack-mojo.html

Hth,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl



On Tue, Oct 19, 2010 at 9:55 AM, Maimon Oded <oded.mai...@gmail.com> wrote:
> Hi,
> I'm new to maven and I've a basic question that i hope that someone can help
> me with, my projects structure looks something like this:
>
> My project structure is simple:
> - Project A
>  - src
>  - conf
>    - myxml.xml
>  - scripts
>
> - Project B
>  - src
>
> I would like to have an assembly for project B that will include only the
> myxml.xml file from project A + all the files in project B,
> is it possible? how?
>
> thanks,
> Oded.
>

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

Reply via email to