Setup

This plugin relies on Windows COM and com4j.dll to generate .java files used to communicate with COM interfaces. Therefore, it will only run on a Windows system (and likely a 32 bit system at that).

Add plugin to pom.xml

Add a simple plugin configuration block to your pom.xml file. To create Java-COM bridges to multiple Windows files (exe, dll, etc), you might need a complex plugin configuration.

Find the LIBID

To find the LIBID of your COM target, the library version, and its dependencies, use OleView for Windows 2000 or OleView for Windows XP/2003