maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <j...@apache.org>
Subject [jira] [Updated] (MASSEMBLY-367) mvn assembly:assembly fails to replace ${parent.parent.version}
Date Sat, 03 Dec 2016 00:03:58 GMT

     [ https://issues.apache.org/jira/browse/MASSEMBLY-367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hervé Boutemy updated MASSEMBLY-367:
------------------------------------
    Description: 
I have a multi module project with the following structure:

{noformat}parent
    dev
       jar1
       war{noformat}

In the jar1 project there's a file with the following expression:

{noformat}${parent.parent.version}{noformat}

This expression is being correctly replaced by the project's version when I run clean install,
but when I run assembly:assembly, the expression remains as is. The file is filtered in the
resources declarartion of the pom.xml

Any ideas about what can be the cause of this?
Thanks.



  was:
I have a multi module project with the following structure:

parent
    dev
       jar1
       war

In the jar1 project there's a file with the following expression:

${parent.parent.version}

This expression is being correctly replaced by the project's version when I run clean install,
but when I run assembly:assembly, the expression remains as is. The file is filtered in the
resources declarartion of the pom.xml

Any ideas about what can be the cause of this?
Thanks.




> mvn assembly:assembly fails to replace ${parent.parent.version}
> ---------------------------------------------------------------
>
>                 Key: MASSEMBLY-367
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-367
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-2
>         Environment: Maven 2.0.8
> Ubuntu Hardy
> Java 5
>            Reporter: Pablo Saavedra
>            Assignee: John Casey
>             Fix For: 2.2
>
>
> I have a multi module project with the following structure:
> {noformat}parent
>     dev
>        jar1
>        war{noformat}
> In the jar1 project there's a file with the following expression:
> {noformat}${parent.parent.version}{noformat}
> This expression is being correctly replaced by the project's version when I run clean
install, but when I run assembly:assembly, the expression remains as is. The file is filtered
in the resources declarartion of the pom.xml
> Any ideas about what can be the cause of this?
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message