Skip to main content

Tag: Module

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:

Jigsaw: From Hello World to WorldClock

(last updated 2010-06-20)

Moving on from Hello World to WorldClock, a simple multimodules application.

1. Get the source

Install Subversion:

sudo apt-get install subversion

Create the directories:

mkdir -p ~/dev/worldclock

 Get the source:

cd ~/dev/worldclock
svn checkout https://worldclock-application.dev.java.net/svn/worldclock-application/tags/application6-jigsaw ~/dev/worldclock/application –username guest