Java / Maven: Add SNAPSHOT repository to pom
How to configure a Maven repository element to accept SNAPSHOT artifacts (enable snapshots, disable releases).
Read →Blog
Practical reminders, fixes, and implementation notes collected while building Java, Spring, cloud, and developer-tooling systems.
Latest Posts
Newest articles first, keeping the existing Jekyll pagination and post archive behavior.
How to configure a Maven repository element to accept SNAPSHOT artifacts (enable snapshots, disable releases).
Read →Benchmark results: Thymeleaf 3.0 snapshot is significantly faster than Thymeleaf 2.1.4 in this test.
Read →How to load files from the classpath in Spring Boot using ResourceLoader (File vs InputStream).
Read →Example showing that the finally block runs before the method returns.
Read →Java utility to download a remote file to the system temp directory and return its path.
Read →Add the Thymeleaf namespace (xmlns:th) and DOCTYPE so the IDE recognizes th: attributes.
Read →Why controllers are not discovered and how to configure component scanning (scanBasePackages) in Spring Boot.
Read →Use Restrictions.sqlRestriction(“1=1 order by rand()”) as a simple workaround for random ordering in Criteria.
Read →Commands to disable or enable the macOS Dashboard and restart the Dock to apply changes.
Read →Guide and scripts to install Nginx on several Ubuntu releases using the official Nginx repository.
Read →