[
http://jira.codehaus.org/browse/MEAR-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_110828
]
Tomek Matynia commented on MEAR-77:
-----------------------------------
Well, that's ok for me if the finalName isn't honored. I mean it shouldn't be
included in the ear together with artifacts from local repository.
I need only one of them - why artifacts from target directory of other projects
(named with finalName) are also included in the bundle?
And second thing is, what is the order of bundling:
1. copy artifacts from local repo to target of ear
2. overlay with artifacts form target's of other projects
or inverse:
1. copy artifacts form target's of other projects to ear's target
2. overlay with artifacts from local repository
I still think it's some kind of inconsistent.
Of course, next time I ask...
Regards
> Duplicated jars in ear
> ----------------------
>
> Key: MEAR-77
> URL: http://jira.codehaus.org/browse/MEAR-77
> Project: Maven 2.x Ear Plugin
> Issue Type: Bug
> Affects Versions: 2.3.2
> Environment: Win XP SP2, JDK 1.6.0, JRE 1.6.0_03, Maven 2.0.7
> Reporter: Tomek Matynia
> Priority: Trivial
> Attachments: poms.txt
>
>
> Hi, this is my first issue submition, hope it is one, otherwise sorry for
> bothering. If i did something wrong feel fre to teach me (I'm a beggining
> software devloper, eager to learn).
> I use Maven as an integration tool for an enterprise application with web,
> ejb and simple jar modules.
> I have poms like included in attachment, in my projects (I use Eclipse as
> IDE, therefore its flat projects structure). I build the ear using
> aggregation mechanism by calling goals 'clean package' on the
> parent/aggregating project. It builds me an ear. That is ok. But when I
> assign project.build.finalName on p5041a-krk-core (as "krk-core"),
> p5041a-krk-ejb (as "krk-ejb") and p5041a-krk-web (as "krk-web"), for more
> readable, then I get duplicated jars (core, ejb and web) in ear. In generated
> application.xml, there are only those which I included in maven-ear-plugin's
> configuration. I imagine, I get them from dependency, they are copied from my
> local maven repo.
> This is rather trivial issue, but i spent some time finding out what was
> wrong. Now I don't use project.build.finalName.
> Geetings to all Maven team, You're doing a great job, and sorry for my
> english, if it's bad.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira