slawekjaranowski commented on a change in pull request #479:
URL: https://github.com/apache/maven-surefire/pull/479#discussion_r817394759



##########
File path: surefire-its/pom.xml
##########
@@ -241,6 +262,27 @@
                             </execution>
                         </executions>
                     </plugin>
+                  <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-invoker-plugin</artifactId>
+                    <configuration>
+                      
<localRepositoryPath>${settings.localRepository}</localRepositoryPath>
+                      <extraArtifacts>
+                        
<extraArtifact>org.apache.maven.plugins:maven-surefire-report-plugin:${project.version}</extraArtifact>
+                        
<extraArtifact>org.apache.maven.plugins:maven-surefire-plugin:${project.version}</extraArtifact>
+                        
<extraArtifact>org.apache.maven.plugins:maven-failsafe-plugin:${project.version}</extraArtifact>
+                      </extraArtifacts>

Review comment:
       invoker:install also install all project dependencies with transitive 
with scope compile + runtime to local-repo, 
   so we can skip extraArtifacts if change scope to runtime of those




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to