Maven Examples dIon Gillard

This plug-in provides examples of using maven for various types of projects

The following samples are provided:

This example project shows how easy it is to 'Mavenize' a set of Java classes that are built into a jar file.

You can find this example in your ${maven.home}/plugins/maven-examples-plugin-1.0/simple-java directory.

It consists of

With just the addition of the Maven project.xml file, the wide array of built-in maven functionality is now available for use in this project.

Maven packages its functionality as plugins and each plugin adds one or more goals that may be executed. For example, the java plugin provides a jar goal for compiling code and bundling it into a jar file.

To build the java code into a jar, type the following from the command prompt:

maven jar

Under construction

Under construction

Under construction

Under construction