spring-boot with flyway and how to get your tests working

spring-boot with flyway and how to get your tests working published on No Comments on spring-boot with flyway and how to get your tests working

Problem You have a spring boot application with flyway migration scripts for a MySQL database. Now your tests are failing because you don’t have the database available during unit testing and flyway is complaining. Solution Use an in memory H2 database in MySql mode. How Create a file called flyway_init.sql in src/test/resources with the following… Continue reading spring-boot with flyway and how to get your tests working

Java Maven AngularJS seed project

Java Maven AngularJS seed project published on No Comments on Java Maven AngularJS seed project

In this article I’ll try to find the answer to a couple of basic questions like: * Is there a marriage possible between AngularJS, Java and Maven? * Can it be done? * Should it be done? * Must it be done? Here I’ll describe the whole process of making a Java Maven AngularJS seed… Continue reading Java Maven AngularJS seed project

Install or Upgrade Sonatype Nexus

Install or Upgrade Sonatype Nexus published on No Comments on Install or Upgrade Sonatype Nexus

Problem You want to manage your own maven 2 repository (nexus), but you don’t know how to install / upgrade it on your linux server. Solution The solution depends on what your goal is. If you want to make it a public maven repository proxy you have take some extra steps. I will try to… Continue reading Install or Upgrade Sonatype Nexus