You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2010/09/05 11:43:34 UTC

[jira] Commented: (MEAR-120) does not work in multi module project

    [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234246#action_234246 ] 

Stephane Nicoll commented on MEAR-120:
--------------------------------------

I am confused by your report. What is not working exactly? The generate EAR does not have the proper final name or the modules bundled in the EAR? If you are talking about the modules bundled in the EAR, it's just not going to work, finalName is not honored outside the module (look at the file name when you deploy it in the repository).

Please attach a sample project that demonstrates your issue.

> <finalName> does not work in multi module project
> -------------------------------------------------
>
>                 Key: MEAR-120
>                 URL: http://jira.codehaus.org/browse/MEAR-120
>             Project: Maven 2.x Ear Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3.1
>         Environment: OS name: "linux" version: "2.6.5-7.244-smp" arch: "i386" Family: "unix"
>            Reporter: Deepak Chavan
>
> I have given finalName for my projects but it is not working for some modules. Following tag has been added in root pom.xml of my project:
> <build><finalName>so-${pom.artifactId}-${pom.version}</finalName>
> .
> .
> .</build>
> According to this it should append prefix "so-" for all modules but it is not working as expected. 
> maven-ear-plugin version : 2.3.1
> maven : maven 2.0.8
> Thanks,
> Deepak

-- 
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