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

ASF GitHub Bot commented on SUREFIRE-1293:
------------------------------------------

Github user Tibor17 commented on the issue:

    https://github.com/apache/maven-surefire/pull/127
  
    Try to clone Surefire master and just run "mvn test"
    
    Caused by: java.lang.NoClassDefFoundError: 
org/apache/commons/lang3/ObjectUtils
        at 
org.apache.maven.plugin.surefire.report.DefaultReporterFactory.createFileReporter(DefaultReporterFactory.java:111)
        at 
org.apache.maven.plugin.surefire.report.DefaultReporterFactory.createReporter(DefaultReporterFactory.java:92)
        at 
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:102)
    
    
    
    On Wed, Oct 12, 2016 at 2:57 PM, Benedikt Ritter <notificati...@github.com>
    wrote:
    
    > @Tibor17 <https://github.com/Tibor17> I don't understand. mvn clean
    > compile works. Why does this fail on Jenkins?
    >
    > —
    > You are receiving this because you were mentioned.
    > Reply to this email directly, view it on GitHub
    > 
<https://github.com/apache/maven-surefire/pull/127#issuecomment-253205875>,
    > or mute the thread
    > 
<https://github.com/notifications/unsubscribe-auth/AA_yR1I15EmeNcuXoehEwBCwAB3Al1vwks5qzNk6gaJpZM4KSBgs>
    > .
    >
    
    
    
    -- 
    Cheers
    Tibor



> Simplify org.apache.maven.plugin.surefire.report.TestSetRunListener by using 
> the null object pattern
> ----------------------------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1293
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1293
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>            Reporter: Benedikt Ritter
>            Assignee: Tibor Digana
>              Labels: github
>             Fix For: 2.19.2
>
>
> The class org.apache.maven.plugin.surefire.report.TestSetRunListener has a 
> lot of checks like this:
> {code:java}
> if( field != null )
> {
>     // do something with field
> }
> {code}
> This can be simplified by providing fallback implementations for the fields 
> being used by TestSetRunListener.



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

Reply via email to