Skip to main content

Tag: JSR199

Jigsaw and Maven: Take 2, a Maven plugin

Last updated: 2012-11-01

This post will create a Maven plugin for Jigsaw. This plugin is based on HK2 Maven plugin.
The post includes all the code needed to build the plugin.
(the resulting source code, except for changes in Jigsaw’s source, is available at: https://svn.kenai.com/svn/lh-playground~svn/jigsaw )

Setting up the environment:

  1. Build Jigsaw

  2. Get Subversion

sudo apt-get install subversion

  1. Get Maven

sudo apt-get install maven2

  1. Set JAVA_HOME

export JAVA_HOME=’/usr/lib/jvm/java-7-openjdk-i386'

Custom Plexus Javac Component: