[java-parent-project] branch master updated: IDP-1465 - Make dependency on surefire-testng explicit

Ian Young ian at iay.org.uk
Fri Jan 24 09:03:23 EST 2020


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=7becb3cdadcc5dce4a16748b56abf0de07377a26

The following commit(s) were added to refs/heads/master by this push:
       new  7becb3c   IDP-1465 - Make dependency on surefire-testng explicit
7becb3c is described below

commit 7becb3cdadcc5dce4a16748b56abf0de07377a26
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Fri Jan 24 14:03:19 2020 +0000

    IDP-1465 - Make dependency on surefire-testng explicit
    
    The maven-surefire-plugin has dynamic dependencies on providers dependent on the test frameworks detected in the test classpath. If the provider isn't available for download (e.g., in the central-disabled environment nightly Jenkins jobs run in) then you just get a class not found exception.
    
    Work round this by making the dependency explicit for the provider we need.
    
    https://issues.shibboleth.net/jira/browse/IDP-1465
---
 pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/pom.xml b/pom.xml
index 743e3eb..e0def5b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -769,6 +769,13 @@
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-surefire-plugin</artifactId>
                     <version>${maven-surefire-plugin.version}</version>
+                    <dependencies>
+                        <dependency>
+                            <groupId>org.apache.maven.surefire</groupId>
+                            <artifactId>surefire-testng</artifactId>
+                            <version>${maven-surefire-plugin.version}</version>
+                        </dependency>
+                    </dependencies>
                 </plugin>
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list