Slawomir Jaranowski created MINVOKER-195:
--------------------------------------------

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


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}
                <configuration>

                    <settingsFile>src/it/settings.xml</settingsFile>
                    <mergeUserSettings>true</mergeUserSettings>

                </configuration>
{code}

and in my local ~/.m2/settings.xml I have:

{code}
    <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 dosen't working.



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

Reply via email to