JaCoCo not generating jacoco.exec until after skipping JaCoCo execution

Just an addition to the answers already given. It could happen that in your maven-surefire-plugin configuration you already use the argLine configuration to override something like the memory used. If you do so the argline set by jacoco-maven-plugin will not be used failing to generate the jacoco report. In this case assign a property name … Read more

Getting java.lang.ClassNotFoundException: com.sun.xml.internal.ws.spi.ProviderImpl despite the dependencies are defined

The first part of the answer by @reta works for me. These are the relevant dependencies from my pom (Java 10): <dependency> <groupId>javax.xml.ws</groupId> <artifactId>jaxws-api</artifactId> <version>2.3.1</version> </dependency> <dependency> <groupId>com.sun.xml.ws</groupId> <artifactId>rt</artifactId> <version>2.3.1</version> </dependency>

What version numbering scheme to use?

I would recommend the Semantic Versioning standard, which the Maven versioning system also appears to follow. Please check out, http://semver.org/ In short it is <major>.<minor>.<patch><anything_else>, and you can add additional rules to the anything else part as seems fit to you. eg. -<qualifier>-<build_number>.

How are maven scopes mapped to ivy configurations by ivy

The following two articles helped me to better understand how Maven and Ivy inter-operate http://www.symphonious.net/2010/01/25/using-ivy-for-dependency-management/ http://lightguard-jp.blogspot.com/2009/04/ivy-configurations-when-pulling-from.html Oddly, I never really understood ivy configurations, until it was explained how they can be used to simulate Maven scopes. The following listis from the www.symphonious.net link and illustrates the available configurations from pom-files/maven repositories: default runtime dependencies and … Read more

How to Exclude properties file from jar file?

I encountered this scenario as well. Basically, you want to be able to run your code locally from Eclipse using some userConfig.properties file that is readily accessible, such as inside /src/main/resources. Additionally, you want to provide a compiled executable JAR with an external userConfig.properties that allows the user to configure the application without cracking the … Read more

JUnit test class order

In JUnit 5 (from version 5.8.0 onwards) test classes can be ordered too. src/test/resources/junit-platform.properties: # ClassOrderer$OrderAnnotation sorts classes based on their @Order annotation junit.jupiter.testclass.order.default=org.junit.jupiter.api.ClassOrderer$OrderAnnotation Other Junit built-in class orderer implementations: org.junit.jupiter.api.ClassOrderer$ClassName org.junit.jupiter.api.ClassOrderer$DisplayName org.junit.jupiter.api.ClassOrderer$Random For other ways to set configuration parameters (beside junit-platform.properties file) see JUnit 5 user guide. You can also provide your own orderer. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)