Showing posts with label maven. Show all posts
Showing posts with label maven. Show all posts

Saturday, June 30, 2018

Java Spring Boot MVC and JSP with Maven and Visual Studio Code


In this tutorial I will explain step by step how to create from scratch a working Spring Boot MVC application, with JSP, using Maven and configure Visual Studio Code in order to develop and debug while using Hot Swap feature.

Sunday, September 13, 2015

Maven copy configuration file or resource in target classes directory

Although building a maven project you have to use a specific directory for resources, there are some cases that you have to keep a resource in a different directory. If you put a .properties file in src or into a java package, maven will not copy that file in the target classes directory, so in your deployment package it will not be present. Here is the procedure to force the copy and make it works.

Sunday, March 8, 2015

Maven, create an executable jar with all dependencies

You want to package your java application, i.e a console application, into a single jar that you can easily run from command line. Assume you have used Maven as dependency manager, here is the needed configuration.

Thursday, January 1, 2015

Install Oracle TopLink in Maven local repository

Oracle TopLink is not available in any online repository. In order to use it in a maven project you have to install these libraries in a local maven repository. Here is the procedure to download and install them.

(c) Copyright 2020 - MyTroubleshooting.com