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.
2011-11-30
2011-11-25
2011-11-22
2011-11-20
2011-11-19
2011-11-17
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.
Labels:
jumi
2011-11-10
2011-11-07
2011-11-04
2011-11-03
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.
Labels:
jumi
Subscribe to:
Posts (Atom)