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

Slawomir Jaranowski commented on MNG-8168:
------------------------------------------

Your issue can be caused by MINVOKER-336.

In your project you create a {{.mvn}} directory in project base directory

{code:xml}
                        <configuration>
                            <outputDirectory>${basedir}/.mvn</outputDirectory>
                            <resources>
                                <resource>
                                    <directory>.</directory>
                                    <includes>
                                        <include>extensions.xml</include>
                                    </includes>
                                </resource>
                            </resources>
                        </configuration>
{code}

Instead of copy please put {{.mvn/extensions.xml}} directly in your it project 
- {{... src/it/example/}}

> Core release 3.9.8 has impact to the invoker plugin.
> ----------------------------------------------------
>
>                 Key: MNG-8168
>                 URL: https://issues.apache.org/jira/browse/MNG-8168
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.9.8
>            Reporter: Ozgun OZ
>            Priority: Major
>
> The integration tests of my 
> [extension|https://github.com/HomeOfTheWizard/spring-bridge-maven-extension] 
> do not work if I upgrade the maven-core dependency from 3.9.7 to 3.9.8.
> The release seems to have an impact on the invoker plugin.
> It does not see the extensions.xml in the .mvn directory of my IT tests.
> When I run the project in the IT folder myself, all works good, but when run 
> with the invoker:run, the extension is not picked up.
> {*}Might help{*}: the extension uses a custom Guice module and according to 
> the release note, 3.9.8 includes a new release of 
> [SISU|https://maven.apache.org/docs/3.9.8/release-notes.html]



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

Reply via email to