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

Olivier Lamy reassigned MINVOKER-195:
-------------------------------------

    Assignee: Olivier Lamy

> Fast Build Configuration and mirrors in local settings.xml
> ----------------------------------------------------------
>
>                 Key: MINVOKER-195
>                 URL: https://issues.apache.org/jira/browse/MINVOKER-195
>             Project: Maven Invoker Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>         Environment: mvn 3.3.3, os win 7
>            Reporter: Slawomir Jaranowski
>            Assignee: Olivier Lamy
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I try use settings for fast build according to manual from site:
>  
> [https://maven.apache.org/plugins/maven-invoker-plugin/examples/fast-use.html]
> My configuration for invoker plugin is:
> {code:java}
>                 <configuration>
>                     <settingsFile>src/it/settings.xml</settingsFile>
>                     <mergeUserSettings>true</mergeUserSettings>
>                 </configuration>
> {code}
> and in my local ~/.m2/settings.xml I have:
> {code:java}
>     <mirrors>
>         <mirror>
>             <id>mirrorId</id>
>             <name>Public Mirrors</name>
>             <url>url_to_my_mirror</url>
>             <mirrorOf>*,!repo1,!repo2</mirrorOf>
>         </mirror>
>     </mirrors>
> {code}
> Of course I have also defined repositories with id repo1, repo2 and so on in 
> my settings.xml
> When invoker plugin merges settings from project with local setings result 
> doesn't include correct configuration about mirrors.
> So in this case fast build configuration doesn't work.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to