Skip to content

Tag: Howto (en)

english how tos (tutorials) and pictured references. This category also contain guides on how to configure, install and use software.

“Edit this page on Github” using Freemarker in JBake

Another challenge we (the Apache Shiro Team) faced with our new JBake website was to re-re-add the “edit this page on GitHub” link at the bottom of the page. But it can be done with a workaround as long as the related bug is not solved.

Screenshot of the Apache Shiro website with a "Edit this page on GitHub" link at the bottom (footer).
Screenshot of the Apache Shiro website with a “Edit this page on GitHub” link at the bottom (footer).

Use SnakeYAML in a modular jlink distribution

Whenever you pull in SnakeYAML (either directly or via Jackson), you will break your modulear builds. The reason: SnakeYAML is a named automatic module. But then, automatic modules cannot be used in jlink images.

But this can be healed. You can rescue your builds using the moditect-maven-plugin. It is a little hard to use, as the documentation is very technical. It also has few examples, and the documentation does not explain when to use which goal, and how to proceed. So, if you want to see a simple example, read on! 🙂

Spigot Plugin Development: How I got started

Developing a spigot plugin is easy, if you have used the Java programming language before. So, do you love playing Minecraft as I do? Are you a developer? There is a good chance that you are already running spigot as your server, which supports plugins using their own API. If you would like to develop your own plugin, you might get lost — there is not much in the way of good tutorials. In this article, I will try to explain the basic components of spigot, how to set up your development environment and how to get started.