Github-Synchronized, Markdown-based, and Auth-Enabled Wiki System

Summary In this post, I will introduce how to set up a personal Wiki system with the following features, Github-Synchronized: All pages are synchronized on Github; Markdown-based: All pages can be written in Markdown; Auth-Enabled: Visitors can view and admins can view/edit. Conclusion I provide a ready-to-use Docker image. sudo docker run \ -v ${PWD}:/home/wiki_repo…

DependencyManagement and Dependencies in Maven

Summary In this post, I will introduce the key difference between Maven’s <dependencyManagement> and <dependencies>. Conclusion In pom inheritance, artifacts specified <dependencies> will ALWAYS be included as a dependency of the child module(s). However, artifacts specified in <dependencyManagement> will only be included if child modules explicitly specify them in <dependencies>. <dependencyManagement> is good for centralized…