Maven for WADE Tutorial

Quick start guide to configure an Eclipse project using Maven for developing WADE-based applications

This mini-tutorial is written for people wishing to manage the development of a WADE-based project using Maven and Eclipse. The reader is assumed to be already familiar with both WADE and Maven. The tutorial refers to version 3.2 of WADE and 3.5.1 of WOLF (the Eclipse-based graphical development environment of WADE) or later. Both WADE and WOLF can be downloaded from the download area. Create the project structure using the WADE archetype by means of the Maven command below

    1. Create the project structure using the WADE archetype by means of the Maven command below
      mvn archetype:generate \ 
       -DarchetypeGroupId=com.tilab.wade.archetypes \
       -DarchetypeArtifactId=wade-archetype-basic \
       -DarchetypeVersion=1.0 \
       -DarchetypeCatalog=http://jade.tilab.com/maven/archetype/
    2. Create the .project and .classpath Eclipse files by means of the Maven command below
      mvn eclipse:eclipse
    3. From the Eclipse IDE import the project created in steps 1 and 2.
    4. Add the WADE nature to your project by right-clicking to your project root and selecting WADE tools –> Add WADE Nature as shown in the picture below. This step, as well as the following ones, assumes you have installed the WOLF plug-in (version 3.5.1 or later) in your Eclipse IDE
      wadeNature
    5. In the Properties of your project, select the Wade Configurations section and set the default options for a Maven project by pressing the “Set” button as shown below. The default path of the cfg folder for the WADE archetype (src/main/resources/cfg) will automatically appear in the project configuration.
      wadeConfiguration