Install DataValve into Maven

This tutorial will show you how to install DataValve into your local Maven repository. You should already have Maven installed locally on your machine into which we will be installing the DataValve libraries.

    Prerequisites

  • Install Maven
  1. First, download the DataValve framework and place it into a temporary folder of your choice.
  2. Open a command prompt and change directory to the <install-dir>\modules\ folder
  3. in the modules folder, type the command :
    mvn clean javadoc:jar source:jar install
    
  4. This will compile the code, source and javadocs and install them into the local maven repository for use in your local maven applications.

Once installed, to use DataValve in a Maven project you will need to add the necessary DataValvel modules as dependencies :

		<dependency>
			<groupId>org.fluttercode.datavalve</groupId>
			<artifactId>datavalve-dataset</artifactId>
			<version>0.9.0.CR2</version>
		</dependency>

Typically, adding the datavalve-dataset artifact pulls in the core module also. From there, you just need to add modules that your development environment will be dependent on (Wicket, JSF, Swing etc).

2 thoughts on “Install DataValve into Maven

  1. Waldemar

    The sample application cdidemo does n’t run. There’s an error linked to the tag sf:sortLink. I was see that url: xmlns:sf=”http://java.sun.com/jsf/composite/datavalve” related isn’t valid actualy, I suspect that it is changed (by Oracle).

    I like datavalve.
    Good work !!!

  2. I’ve updated the download link to point to the latest version on GitHub which is probably why it wasn’t working,

    Cheers,

    Andy Gibson