Home
Archives
About
Site Notice
Privacy Policy
  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x

    Jun 10, 2020 integration-testing jacoco maven sonarqube test-coverage test-report unit-testing

    Some years ago I write a blog post about how to generate test reports in SonarQube separate in test report for unit tests and for integration tests. Since SonarQube 6.2 the test report isn't separate in these categories any more (see SonarQube's blog post). SonarQube merges all test reports to one test report with an …

    Read More
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests

    Mar 21, 2019 groovy junit5 maven spock1.x

    I create a sample Groovy project for Maven, that mixes Spock tests and JUnit 5 tests in one project. In the next section I'll describe how to set up such kind of Maven project. Enable Groovy in the Project First at all, you have to enable Groovy in your project. One possibility is to add the GMavenPlus Plugin to your …

    Read More
  • Using JUnit 5 In Pre-Java 8 Projects

    Jan 20, 2019 gradle intellij java8 junit5 maven netbeans

    This post demonstrates how JUnit 5 can be used in pre-Java 8 projects and explains why it could be a good idea. JUnit 5 requires at least Java 8 as runtime environment, so you want to update your whole project to Java 8. But sometimes there exists reason why you can't immediately update your project to Java 8. For …

    Read More
  • How to Mark a Jenkins Job Red When Tests Fail In A Maven Build

    Oct 14, 2017 jenkins maven test-report unit-testing

    The default setting in Jenkins is to mark a job yellow, when a Maven build fails because of failing tests. If you don't want to have three status of your jobs, you can configure Jenkins so, that the jobs also mark red independent why a Maven build fails. For this you will need administration rights on your Jenkins …

    Read More
  • Unit And Integration Test Reports For Maven Projects In SonarQube 4.5.1

    Jan 30, 2015 integration-testing jacoco maven sonarqube test-coverage test-report unit-testing

    Since SonarQube 4.2. the test report isn't generated by the Sonar Maven Plugin during a Maven build (see SonarQube's blog post) . Therefore, the test report has to be generated by another plugin before Sonar Maven Plugin collects the information for the SonarQube server. Here, Jacoco Maven Plugin can help. It has the …

    Read More
  • Generate P2 Repository From Maven Artifacts In 2017

    Jul 4, 2013 eclipse rcp maven maven tycho nexus p2 p2-repository

    A new version of this blog post is published under the title "Generate P2 Repository From Maven Artifacts in 2017" Motivation If you use Maven Tycho to build your Eclipse RCP application, you can use Maven dependencies as you know it from Maven (for more information see [1]). I notice that Tycho takes many …

    Read More
  • Spring Web Application With Hessian Services As a Maven Project

    Nov 12, 2012 hessian maven spring tomcat

    This post describes how to set up a Maven project for a Spring web application with Hessian Service. It also shows how to set up the deployment for exposing the Hessian service and how to set up a client to consume the Hessian service. The Spring Framework version is 3.1.1.RELEASE and the Hessian version is 4.0.7. …

    Read More
  • Release Preparing of a Maven Project

    Dec 8, 2011 maven release

    This post describes how to prepare a release for Maven project with a set of Maven Plugins. Background The release preparation phase is built of following common steps: Build the artifact to verify that the build is successful. Run the unit tests of the artifact. Update the version of the artifact to the release …

    Read More
  • SaxException During a Sucessful Maven Build in Jenkins

    Oct 8, 2011 jenkins maven

    During the inspection of several sucessful Maven 3 build output, following SaxException catchs my eye: 1[INFO] Parsing file:/home/skosmalla/.m2/repository/repository.xml 2[Fatal Error] repository.xml:3:1: Premature end of file. 3org.xml.sax.SAXParseException: Premature end of file. 4at …

    Read More

Sandra Parsick

Software Developer, Consultant, Java Champion.
Read More

Featured Posts

  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests
  • Pimp My Git - Manage Different Git Identities
  • Generate P2 Repository From Maven Artifacts In 2017

Recent Posts

  • Test Coverage Reports For Maven Projects In SonarQube 8.3.x
  • Using Testcontainers in Spring Boot Tests For Database Integration Tests
  • Test Environment for Ansible on a Windows System Without Linux Subsystem Support
  • Software Engineering Camp 2019
  • Strategy Pattern Revisited With Spring
  • Maven Project Setup for Mixing Spock 1.x and JUnit 5 Tests
  • Using JUnit 5 In Pre-Java 8 Projects
  • How to Format a Large Code Base Automatically

Categories

CONTINUOUS-INTEGRATION 26 JAVA 17 JVM 12 MAVEN 9 LINUX 8 WINDOWS 8 JENKINS 7 QUALITY-ASSURANCE 7 TESTING 7 OSGI 6 CONFIGURATION-MANAGEMENT 5 GIT 5 NEXUS 5 MAVEN-TYCHO 4
All Categories
ANSIBLE2 CONFERENCE3 CONFIGURATION-MANAGEMENT5 CONTINUOUS-INTEGRATION26 GIT5 GROOVY3 JAVA17 JENKINS7 JUNIT3 JVM12 LINUX8 MAVEN9 MAVEN-TYCHO4 NEXUS5 NODE.JS1 OSGI6 POWERSHELL2 QUALITY-ASSURANCE7 READING-TIPS2 SALT2 SONARQUBE2 SPRING-BOOT1 SPRING-FRAMEWORK4 TESTCONTAINERS1 TESTING7 VAGRANT3 WINDOWS8
[A~Z][0~9]

Tags

MAVEN 9 LINUX 8 GROOVY 7 JENKINS 7 SPRING 5 ECLIPSE-RCP 4 HOW-TO 4 INTEGRATION-TESTING 4 MAVEN-TYCHO 4 NEXUS 4 OSGI 4 JUNIT5 3 P2-REPOSITORY 3 PROXY 3
All Tags
AGENTLESS1 AGILE1 ANSIBLE1 APACHE22 ARC421 AUTOMATION2 BARCAMP1 BASH2 BEGINNER1 BOWER-REPOSITORY1 BUILD2 CENTOS52 CHEAT-SHEET1 CLASSPATH1 CMD2 COBOL1 CODE-FORMATTING1 CODING-DOJO1 COMMONS-VFS1 CONFERENCE2 CONFIGURATION2 CONSOLE21 CYGWIN1 DAEMON1 DEBIAN1 DEPLOYMENT1 DESIGN-PATTERN1 DOCKER1 ECLIPSE-RCP4 EQUINOX1 FORWARDING1 GIT2 GITIGNORE1 GRADLE1 GROOVY7 HC151 HERBSTCAMPUS1 HERBSTCAMPUS20151 HESSIAN1 HIBERNATE1 HOW-TO4 HSQLDB1 IBM1 IDENTITIES1 INDEX1 INSTALLATION1 INTEGRATION-TESTING4 INTELLIJ2 INTELLJI1 JACOCO2 JAR1 JAVA81 JDBC1 JENKINS7 JERSEY1 JNDI1 JPA1 JSCH1 JUNIT53 JVM2 KATA1 LINUX8 LIVING-DOC1 MANIFESTO1 MAVEN9 MAVEN-REPOSITORY2 MAVEN-TYCHO4 MELD1 MERGING1 MIGRATION1 MOCK1 MOUNT1 NETBEANS1 NEXUS4 NOTES1 NPM1 NPM-REGISTRY1 NTFS1 OPENSPACE1 OPS4J1 OSGI4 P22 P2-REPOSITORY3 PAX2 PAX-RUNNER1 PERSONA1 PROXY3 PYTHON2 QA2 QS1 RELEASE1 REPOSITORY-MANAGER1 RESOURCE2 REWARDING1 RUBY1 SALT2 SALTSTACK2 SCRIPTING1 SCRUM1 SELENIUM1 SERVERSPEC1 SFTP1 SHELL2 SOCRATES1 SOFTWARE-ARCHITECTURE2 SOFTWARE-DOCUMENTATION2 SOLID-DESIGN1 SONARQUBE2 SPOCK1.X1 SPRING5 SPRING-DATA1 SSH2 SSHJ1 SUBVERSION3 SVENTON1 SWECAMP1 TEAM-BUILDING1 TECHNICAL-DEBT1 TERRAFORM1 TEST-COVERAGE2 TEST-INFRASTRUCTURE1 TEST-REPORT3 TESTCONTAINERS1 TESTING-TESTER-TESTS1 TOMCAT2 TOOL-TIP2 UBUNTU2 UNIT-TESTING3 VAGRANT3 VIRTUAL-HOST1 VIRTUALBOX2 WEBSERVICES1 WINDOWS1 ZEROMQ1
[A~Z][0~9]

Copyright SANDRA PARSICK - JUST ANOTHER BLOG ABOUT IT. All Rights Reserved