Convert JSON schema to Java classes using maven plugin Introduction We often need to convert JSON schema’s to Java classes, there is a jsonschema2pojo-maven-plugin which helps in generating POJO(plain old java objects) from JSON or JSON schema. To use it all we need is add this plugin, update dependencies and run mvn generate Add jsonschema2pojo-maven-plugin […]
Category: Maven
Maven is a widely used dependency resolver and build configuration tool
How To Push Docker Images To Docker Hub Repository Using Docker Maven plugin
Push a Docker image to DockerHub using docker maven plugin fabric8.io Introduction If you want to push a docker image to Docker Hub repository, it can be achieved using docker maven plugin from fabric8.io. This plugin lets you build images, start and stop containers and push it to Docker repositories In case you are wondering […]
How to add remote archetype catalog in Eclipse
Add Maven Remote catalogue in eclipse Maven remote catalogues are very useful in starting a project quickly and neatly. The project structure including src, test directory are created along with pom dependencies. Follow below steps to add remote archetype catalogue Go to Windows -> Preferences -> Maven ->Archetype Click on Add Remote Catalog Add catalogue […]