Chiwan Park created MSHADE-200:
----------------------------------

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


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