The maven-pmd-plugin is another source of possible quality gates for our java build. It can help ensure that we only release code that meets the team's quality standards. #java #mavenBuild #qualityGates #maven-pmd-plugin
The maven-pmd-plugin is another source of possible quality gates for our java build. It can help ensure that we only release code that meets the team's quality standards. #java #mavenBuild #qualityGates #maven-pmd-plugin
Static code analysis, such as that provided by spotbugs-maven-plugin, can help ease the code review burden and get early feedback on performance, style and possible functionality issues. #java #mavenBuild #maven #staticCodeAnalysis
http://codingchica.com/2023/10/16/adding-spotbugs-a-static-code-analysis-plugin/
Certain plugins, such as those for static code analysis may not repeat the source code in their own reports, but rather prefer to deep link to source code report references when reporting issues / concerns. #java #mavenBuild #site #reports #source
http://codingchica.com/2023/10/12/java-sources-cross-referencing-reports/
Layering tests and quality gates helps ensure that the team has the earliest feedback as fast as possible. It can also help catch issues ahead of peer feedback in pull requests. #java #mavenBuild #cicd #testing #testingPyramid
http://codingchica.com/2023/10/09/testing-pyramid-intro-build-steps/
Existing Java projects can also benefit from a Maven JaCoCo code coverage quality gate, but we have to ensure that the build doesn't break for existing classes when we add the new check. #mavenBuild #java #unitTesting #testing #qualityGate
http://codingchica.com/2023/10/02/adding-jacoco-quality-gate-to-an-existing-code-base/
By adding the site goal to our Maven build command, we can generate basic reports about the Java project based upon the pom.xml configuration. #MavenBuild #java #report #site #documentation
http://codingchica.com/2023/09/25/project-reports-generating-a-simple-maven-site-in-the-build/
Different scopes for Maven dependencies will let us control how that dependency is used in our Maven build, as well as any places that consume our Maven artifacts. #java #MavenBuild #dependencies
To avoid class name collisions between similar classes, we can group them into packages/folders. Doing so can also help identify code ownership. #java #packages #syntax #mavenBuild
http://codingchica.com/2023/09/11/avoid-the-mess-java-packages/