You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2015/09/06 11:55:45 UTC

[jira] [Updated] (MINVOKER-194) wrong maven.compiler.source value in pom interpolation when run with Maven 3.3.x

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

Hervé Boutemy updated MINVOKER-194:
-----------------------------------
    Description: 
when working on MPIR, I found that java-version IT failed when build run with with Maven 3.3.x, but not when run with Maven 3.2.x or less

I found that
{code:xml}  <properties>
    <maven.compiler.source>1.3</maven.compiler.source>
    <maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
  </properties>{code}

is interpolated to
{code:xml}  <properties>
    <maven.compiler.source>1.3</maven.compiler.source>
    <maven.compiler.target>1.5</maven.compiler.target>
  </properties>{code}
when the IT is run with Maven 3.3.x

but when the IT project is not run through invoker, there is no such interpolation value issue, so I suppose m-invoker-p has some role when used in conjunction with Maven 3.3.x

  was:
when working on MPIR, I found that java-version IT failed when build run with with Maven 3.3.x, but not when run with Maven 3.2.x or less

I found that
{code:xml}  <properties>
    <maven.compiler.source>1.3</maven.compiler.source>
    <maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
  </properties>{code}

was interpolated to
{code:xml}  <properties>
    <maven.compiler.source>1.3</maven.compiler.source>
    <maven.compiler.target>1.5</maven.compiler.target>
  </properties>{code}
when the IT is run with Maven 3.3.x

but when the IT project is not run through invoker, there is no such interpolation value issue, so I suppose m-invoker-p has some role when used in conjunction with Maven 3.3.x


> wrong maven.compiler.source value in pom interpolation when run with Maven 3.3.x
> --------------------------------------------------------------------------------
>
>                 Key: MINVOKER-194
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-194
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 1.8, 2.0.0
>            Reporter: Hervé Boutemy
>
> when working on MPIR, I found that java-version IT failed when build run with with Maven 3.3.x, but not when run with Maven 3.2.x or less
> I found that
> {code:xml}  <properties>
>     <maven.compiler.source>1.3</maven.compiler.source>
>     <maven.compiler.target>${maven.compiler.source}</maven.compiler.target>
>   </properties>{code}
> is interpolated to
> {code:xml}  <properties>
>     <maven.compiler.source>1.3</maven.compiler.source>
>     <maven.compiler.target>1.5</maven.compiler.target>
>   </properties>{code}
> when the IT is run with Maven 3.3.x
> but when the IT project is not run through invoker, there is no such interpolation value issue, so I suppose m-invoker-p has some role when used in conjunction with Maven 3.3.x



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