You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Deepak Chavan (JIRA)" <ji...@codehaus.org> on 2010/01/04 10:30:55 UTC

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

<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

        

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

Posted by "Deepak Chavan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205136#action_205136 ] 

Deepak Chavan commented on MEAR-120:
------------------------------------

yes..

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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ 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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205131#action_205131 ] 

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

Does mvn help:effective-pom yeld the right finalName in your ear module?

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

        

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

Posted by "Deepak Chavan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205130#action_205130 ] 

Deepak Chavan commented on MEAR-120:
------------------------------------

Following are the structure of my project:

root
|----->proj-1
|       |----->	sub-proj-1.1
|       |----->	sub-proj-1.2
|----->	proj-2
|	|----->	sub-proj-2.1
|	|----->	sub-proj-2.2
|----->	proj-3
|----->	proj-4
|	|----->	sub-proj-4.1
|	|----->	sub-proj-4.2
|----->	proj-5
	|----->	sub-proj-5.1


proj-1, proj-2, proj-3, proj-4 and proj-5 anr the modules of my project and these modules are also splitted into sub modules.
All project bundled according to the name given in finalName tag in root pom.xml except proj-3, this projec is not generating the final name as given in root pom.xml.

Thanks,
Deepak


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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll closed MEAR-120.
--------------------------------

    Resolution: Cannot Reproduce

No response from user

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

        

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

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MEAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205129#action_205129 ] 

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

>From the top of my head, you can't inherit this property from the parent pom. That would be pretty bad.

Does mvn help:effective-pom yeld the right finalName in your ear module? Does it work for any other module that is not an EAR project?

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