mvn clean install -DskipTests
=> error or
mvn clean test mvn clean test jps -l | grep org.apache.karaf.main.Main
=> two karaf instances are started
Conditions to start and stop remote karaf container are not properly set.