2011-11-30

Let's Code Jumi #99: Using Code Generator (Part 1)

We can now take our code generator Maven plugin into use, which should weed out the remaining missing features. I also figured out how to configure Maven Invoker Plugin so that we can use JUnit and other libraries in the integration test scripts.

Download as MP4

Episode Archive

2011-11-14

Let's Code Jumi #93: Embedded Java Compiler (Part 1)

Our Maven plugin must use the Java compiler to compile the listener interface's source file, because the code generator must be able to use reflection on it. This means fiddling with class loaders and more integration with Maven to find out the project's classpath. Taking a look at the Maven Compiler Plugin is helpful. We will also see how to write post-build verification scripts for the Maven Invoker Plugin.

Download as MP4

Episode Archive

2011-11-01

Let's Code Jumi #88: Maven Plugin Testing (Part 1)

To get started on writing the Maven plugin, we first need some way to write tests for it. I found from Stack Overflow a list of options, of which I will evaluate the alternatives for integration testing: shitty-maven-plugin and maven-invoker-plugin. I choose the latter one and write an integration test using it.

Download as MP4

Episode Archive