Apache FreeMarker Generator

Clone this repo:
  1. f427a26 FMG-011 Update the README and Maven coordinates after fork by Siegfried Goeschl · 9 days ago master
  2. e977fd0 Bump junit from 4.13 to 4.13.1 (#41) by dependabot[bot] · 2 years, 3 months ago
  3. 4d7e6b5 Bump jsoup from 1.14.2 to 1.15.3 in /freemarker-generator-tools (#42) by dependabot[bot] · 2 years, 3 months ago
  4. 2895a8c Bump snakeyaml from 1.28 to 2.0 in /freemarker-generator-tools (#45) by dependabot[bot] · 2 years, 3 months ago
  5. 5d769ae FREEMARKER-211 [freemarker-generator] Build fails with JDK 17 LTS with " No XPath support is available" (#43) by Siegfried Goeschl · 2 years, 3 months ago

Apache FreeMarker Generator

Introduction

The Apache Freemarker Generator project has quite a long and unsuccessful history

  • It started when I migrated one of my pet projects from Apache Velocity & Groovy to Apache Freemarker & Java many moons ago
  • I contributed the code 2022 to the Apache Software Foundation and became a committer to the Apache Freemarker project
  • During the next two years I worked on Apache Freemarker Generator, but I did not see a chance to have to code officially released
  • No public release, no users, no community to grow, another failed open source project
  • In March 2025 I became an Emeritus Member of the ASF
  • Since I frequently require Apache Freemarker Generator myself I decided to fork and further work it

Disclaimer - this is a fork of Apache Freemarker Generator and/but I did not change the package names so all of my private releases won't go to Maven Central

What is Apache FreeMarker Generator?

FreeMarker Generator is a set of tools that generates files based on FreeMarker templates and data that's typically provided in files (such as JSON files) as well. It can be used to generate source code, configuration files, etc.

Currently, it can be invoked as a

  • Command-line interface freemarker-generator
  • Maven plug-in freemarker-generator-maven-plugin

Building Apache FreeMarker Generator

To create the artifacts locally run

mvn clean install

To build the documentation site run

mvn clean site site:stage

Licensing

Apache FreeMarker Generator is licensed under the Apache License, Version 2.0.

See the LICENSE file for more details!