If you use Vertx, It could be helpful to create a jar or war where Vertx is included. If you use maven. You can add the following code in your pom.xml: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>2.4.1</version> <executions> <execution> <phase>package</phase> <goals>...
How to fix Fatal error compiling: invalid target release: 1.8
This tutorial is writen for mac users, on windows I didn’t have this error.
When I tried to do a mvn compile. I got the following error:
How to display project version in Java
Sometimes, it’s useful to display the project version in your application. That version can be found in the MANIFEST.MF file. It’s located in every JAR or WAR file in the META-INF folder.
How to change Sonar default database
Sonar uses a Derby or H2 as default database. When running Sonar, it says that these databases may only be used for evaluation. Now, in this article, I will tell you how to change the default database and how to configure Maven to use it.
How to skip maven unit test in Eclipse
When you want to build, install, clean… maven. You have to run all the unit tests. The problem is when you have plenty of tests or database connections to test, the time that the build need is way too long. It is possible to build without running the tests. You can configure that in Eclipse:
How to solve the Maven VM initialization error
When you do a simple Maven build and you get the following error:
How to change the root URL with Maven
An application with root name ‘myproject’ will have the following URL: ‘;.
I want change my URL to: ‘;.
How can I do that? With Maven.