You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/04/03 20:08:00 UTC

[jira] [Commented] (MSHADE-200) Property in parent.artifactId isn't interpolated

    [ https://issues.apache.org/jira/browse/MSHADE-200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809187#comment-16809187 ] 

Michael Osipov commented on MSHADE-200:
---------------------------------------

Is this one still valid?

> Property in parent.artifactId isn't interpolated
> ------------------------------------------------
>
>                 Key: MSHADE-200
>                 URL: https://issues.apache.org/jira/browse/MSHADE-200
>             Project: Maven Shade Plugin
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Chiwan Park
>            Priority: Major
>             Fix For: waiting-for-feedback
>
>
> I'm using property in project artifact id to support multiple scala version like following:
> {code:xml}
> <groupId>org.apache.flink</groupId>
> <artifactId>flink-parent${scala.suffix}</artifactId>
> <version>0.10-SNAPSHOT</version>
> {code}
> So child pom have to direct parent with property.
> {code:xml}
> <parent>
> 	<groupId>org.apache.flink</groupId>
> 	<artifactId>flink-parent${scala.suffix}</artifactId>
> 	<version>0.10-SNAPSHOT</version>
> 	<relativePath>..</relativePath>
> </parent>
> <artifactId>flink-scala${scala.suffix}</artifactId>
> <name>flink-scala</name>
> {code}
> In dependency reduced pom, I expected that property in parent artifactId is interpolated. But I found that there is untouched property expression.
> {code:xml}
> <parent>
>   <artifactId>flink-parent${scala.suffix}</artifactId>
>   <groupId>org.apache.flink</groupId>
>   <version>0.10-SNAPSHOT</version>
>   <relativePath>../../pom.xml</relativePath>
> </parent>
> <modelVersion>4.0.0</modelVersion>
> <artifactId>flink-scala_2.11</artifactId>
> <name>flink-scala</name>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)