How to clear your local Maven repository

I was building a multi-module project and I faced with this annoying problem with maven that keeps using old version of the maven project even though I uses mvn install -U. I usually delete my local .m2 repository folder but I found a much cleaner way to do it. mvn dependency:purge-local-repository

April 14, 2020 · John Pili
search-a-word-in-a-two-dimensional-array-using-java.webp

Search a word in a two-dimensional array using Java

Overview I was playing this word search game with my children when I realized that I can create a simple Java application that search for words in a grid. I uploaded the source at https://github.com/johnpili/search-a-word-in-a-two-dimensional-array-using-java MainApp.java In this example, I created a 15×15 character array and populate it with strings per row. public class MainApp { public static void main(String[] args) { char[][] m = new char[15][15]; m[0] = "LRHCODRUMAJTMLE".toCharArray(); m[1] = "IYDTANDARPMAKLJ"....

September 13, 2019 · John Pili