This post demonstrates how to import Maven Remote Archetype Catalogs in IntelliJ IDEA to use archetypes that are not readily available out-of-the-box.
IBM Bluemix, Cloud Foundry, DevOps, and Spring Boot
In this post, we’ll show how to build, and deploy Spring Boot applications in IBM Bluemix using DevOps,
Add external resource directories to jar using build-helper-maven-plugin
This post demonstrates how to add directories that contain resources needed by an application using build-helper-maven-plugin via Maven.
WSDL files using cxf-codegen-plugin
There are many ways to generate Java classes from WSDL files – one of them is using the cxf-codegen-plugin, which comes from the Apache Maven CXF. Note that this post will not work with the JDK version beyond 1.8. (See
Maven – Build Web Service client from WSDL file
Using wsimport on the command prompt allows you to generate a client jar, .java, and or .class files depending on the options you pass to it. To use it in Maven, you need to following stuff in your pom.xml
Headstart Framework: Flyway and Supported Databases
We have designed the Headstart framework to be database-agnostic to support major database products with the help of Flyway. To achieve this database agnosticism, Headstart uses Spring Data/Hibernate but relies on migration scripts for creating database tables. We run these
Spring Dependency Injection Examples Without Spring Boot
The Spring Framework has come a long way. Nowadays, it is way easier to start a Java project with the Spring Framework using Spring Boot. In the past, we used to download Spring individual jar files and configure the dependencies
Java Compiler Weird Error in Travis CI due to Implicit Exception type
We were trying to build this Maven project in Travis CI and got a weird compilation error. After modifying the codes to explicitly define the exception types.
Kotlin – How to create Maven project for Kotlin
This post demonstrates how to create a Maven project for Kotlin as as library jar. Instead of a Java codes, we’ll only have Kotlin codes.
Maven – Create an executable jar
This post demonstrates how to create an executable in Apache Maven using maven-shade-plugin plugin.