I am very proud to announce the release of TrueLicense version 2.4! If you care about details, there is the usual Release Notes generated from the issue tracker. However, there is a bigger story behind the pesky details and it deserves to be told in this blog posting.
So what is so special about this release?
If you have tried TrueLicense before, then you sure have used the TrueLicense Maven Archetype. This is a code generator which generates a custom licensing schema for your software product. However, in previous versions, the generated licensing schema was fix and you had to edit the generated code to do even simple things like changing passwords. Also, the key stores were fix and so you had to edit them, too. Overall, the old archetype exploited only a very small fraction of the TrueLicense Core API and yet it was very cumbersome and error-prone to work with. Well, that’s how it was!
For version 2.4, the TrueLicense Maven Archetype has been completely rewritten in order to exploit the full power of the TrueLicense Core API and yet be as easy to work with as possible. As a result, there is now a set of thirty properties for customizing the generated licensing schema! Passwords and key stores are automatically obfuscated and generated from these properties when building the project, so no code editing is required anymore!
Isn’t configuring thirty properties cumbersome, too?!
Don’t worry about the number of properties. There are reasonable default values set wherever possible. As a result, you don’t need to configure more properties than before in order to generate a custom licensing schema for your software product. But this time, the generated project automatically generates unique key stores and so you can immediately use the JARs after running the build. Here’s a minimal, yet fully working example:
$ mvn archetype:generate -B \ -DarchetypeArtifactId=truelicense-maven-archetype \ -DarchetypeGroupId=net.java.truelicense \ -DarchetypeVersion=2.4 \ -DartifactId=license \ -DcompanyName="Company Inc." \ -DdefaultPassword=test1234 \ -DgroupId=com.company.product \ -DlicensingSubject="Product 1" \ -Dversion=1.0-SNAPSHOT [...] $ cd license $ mvn install [...] $ java -jar *-keymgr/target/*-keymgr-*-guarded.jar wizard
The last command starts the internationalized license wizard GUI. You can see some screenshots in the documentation.
Did you update the documentation?
Oh yes! To help you fully exploit all options with my shiny new code generator, I completely rewrote the documentation for the TrueLicense Maven Archetype. There are now twelve pages explaining all the details, including the CLI, GUI, WSI, API and last, but not least the certification of your custom licensing schema.
Finally, if you followed any of these links, you sure noticed the new web site design. I have spend quite some time and energy this time in order to make sure the new TrueLicense web site provides you with a great experience, just as the TrueLicense API does.
I hope you enjoy TrueLicense 2.4 and wish you…