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

Chiwan Park commented on MSHADE-200:
------------------------------------

Here is our project: (https://github.com/chiwanpark/flink/tree/FLINK-2200)

Property {{scala.suffix}} is controlled by scala version profile (scala-2.10, 
scala-2.11) and used to change project artifact id. I use {{mvn clean install 
-DskipTests}} and {{mvn clean install -DskipTests -Dscala-2.11}} to build the 
project.

> 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
>             Fix For: waiting-for-feedback
>
>
> I'm using property in project artifact id to support multiple scala version 
> like following:
> {code}
> <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}
> <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}
> <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
(v6.3.4#6332)

Reply via email to