You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by w ostrowski <wo...@gmail.com> on 2011/03/12 11:55:36 UTC

Fwd: Maven multi module project assembling problem

---------- Forwarded message ----------
From: w ostrowski <wo...@gmail.com>
Date: 2011/3/12
Subject: Maven multi module project assembling problem
To: users-subscribe@maven.apache.org
Cc: dev-subscribe@maven.apache.org



Hi everyone,

I have an issue with assembly plugin and I'm working with this few days now.
My project looks like this:

root-parent [<packing>pom</packing>]
    - GameI-parent [<packing>pom</packing>]
        - GameIFramework [<packing>jar</packing>]
        - GameIDesktop [<packing>jar</packing>]
    - GameII-parent [<packing>pom</packing>]
        - GameIIFramework [<packing>jar</packing>]
        - GameIIDesktop [<packing>jar</packing>]
    - dist


What I wont to achive is to collect all 'target' folders from all submodules
into dist folder of root-parent so I can zip it and deliver to customer as
an installation package (Each target folder contains insallation script).
The structure of dist content will look as follows:

    - dist
        - GameI-parent_GameIFramework.zip (with contents of GameIFramework
target folder)
        - GameI-parent_GameIDesktop.zip (with contents of GameIDesktop
target folder)
        - GameII-parent_GameIIFramework.zip (with contents of
GameIIFramework target folder)
        - GameII-parent_GameIIDesktop.zip (with contents of GameIIDesktop
target folder)


Is it possible with assembly plugin? Or maybe any of you know some other way
to collects all target folders and create distribution package.

In attachement there is my assembly description file. It is placed in my
root-parent directory.

Best regards
W.O.





-- 
Pozdrawiam / Best regards

Wojciech Ostrowski