"It doesn't appear to work" is very difficult to diagnose. You'll need to provide more details of what you tried to do and what were the results.
Using Apache Maven 3.9.6 and Eclipse Temurin Java 21.0.2 I was able to create an empty plugin by following the instructions from the
Creating a new plugin page. The commands that I ran were:
mvn archetype:generate -Dfilter=io.jenkins.archetypes:empty-plugin
I answered the prompts as noted in the
Create a plugin tutorial. The resulting plugin compiled and passed its automated tests.
Mark Waite