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

Olivier Lamy commented on MINVOKER-45:
--------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-invoker-plugin#353|https://github.com/apache/maven-invoker-plugin/issues/353].
 

> External properties file is ignored if parameter testProperties is not defined
> ------------------------------------------------------------------------------
>
>                 Key: MINVOKER-45
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-45
>             Project: Maven Invoker Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Benjamin Bentmann
>            Assignee: Benjamin Bentmann
>            Priority: Major
>             Fix For: 1.2.1
>
>
> The following code erroneously guards the loading of external properties from 
> the IT's base directory:
> {code:java}
> private Properties loadTestProperties( final File basedir )
>     throws IOException
> {
>     if ( testProperties == null )
>     {
>         return new Properties();
>     }
>     final File testProperties = new File( basedir, testPropertiesFile );
>     ...
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to