Unable to locate Source XRef to link to

前端 未结 4 947
既然无缘
既然无缘 2020-12-24 04:24

I have a big maven project that uses the pmd plugin for code quality checks.

since I started using the pmd plugin i get the following warning message:



        
4条回答
  •  天命终不由人
    2020-12-24 05:17

    It is way easier to configure it this way and not tie it to the site phase.

    Then, it is as simple as mvn test.

    
      
        
          org.apache.maven.plugins
          maven-compiler-plugin
          3.8.1
          
            1.8
            1.8
          
        
        
          org.apache.maven.plugins
          maven-surefire-plugin
          ${maven-surefire-plugin.version}
          
            
              org.junit.platform
              junit-platform-surefire-provider
              1.2.0
            
            
              org.junit.jupiter
              junit-jupiter-engine
              ${junit.jupiter.version}
            
          
          
          src/test/java
          
            com.whatever.suite.*
          
          
            ${grid.hub}
          
          false
        
      
      
        org.apache.maven.plugins
        maven-surefire-report-plugin
        ${maven-surefire-plugin.version}
        
          target/surefire-reports
          false
        
        
          
            during-tests
            test
            
              report
            
          
        
      
    
    

提交回复
热议问题