Maven Usage

For the instrumentation with Jour use the file microlog.jour.xml contained in the microlog-instrument-#version#.jar and include it in your pom.xml:

                <plugins>
                      <plugin>
                        <groupId>net.sf.jour</groupId>
                        <artifactId>jour-maven-plugin</artifactId>
                        <version>2.0.3</version>
                        <executions>
                            <execution>
                                <phase>compile</phase>
                                <goals>
                                    <goal>instrument</goal>
                                </goals>
                                <configuration>
                                    <jourConfig>microlog.jour.xml</jourConfig>
                                    <classesDirectory>target/classes</classesDirectory>
                                    <output>classes</output>
                                </configuration>
                            </execution>
                        </executions>
                <dependencies>
                   <dependency>
                        <groupId>net.sf</groupId>
                        <artifactId>microlog-instrument</artifactId>
                       <version>#version#</version>
                    </dependency>
                </dependencies>
                    </plugin>
                </plugins>
        </build>

The default microlog.jour.xml can be downloaded from here.

There is an example project in the module Microlog Instrument Example.