LibraryLink ToToggle FramesPrintFeedback

Before Running the Samples

The following sections summarize the required software and setup steps for working with the FUSE Services Framework samples. Refer to the Installing FUSE Services Framework for detailed installation and setup instructions.

To work with the FUSE Services Framework samples as described in the following sections, you must have an active internet connection. These instructions use the Maven build engine, which connects to one or more Maven repositories on the internet to download JAR files that are determined to be dependencies of the current build.

If you prefer to run the samples using Apache Ant, wsdl2java, javac, or java, see the ReadMe files for each sample for instructions. Also see the top level ReadMe file in the install_dir\samples directory for additional setup requirements common to all the samples.

To work with the FUSE Services Framework samples, you must have the following software installed:

Refer to Installing FUSE Services Framework for detailed instructions on installing and setting up the required software.

Download FUSE ESB 3.4.x or FUSE ESB 4.0.x from the fusesource downloads page.

The instructions for installing your version of FUSE ESB are available at the FUSE Documentation web site.

Installing FUSE Services Framework also installs the samples directory, which contains sub-directories for all the samples.

Download FUSE Services Framework 2.x from the fusesource downloads page.

The instructions for installing FUSE Services Framework are available at the FUSE Documentation web site.

Download and install Maven. See the Apache Maven Project web site for the downloadable files and installation instructions.

After installing Maven, you must change the following settings in your operating system environment:

  1. Set the M2_HOME environment variable to point to the Maven root directory.

  2. Add the Maven bin directory to your PATH:

    • On Windows: %M2_HOME%\bin

    • On UNIX: $M2_HOME/bin

Maven is a project management tool that encompasses a Project Object Model (POM), a set of standards, a project lifecycle, a dependency management system, and logic for executing plugin goals at defined phases in a lifecycle.

A POM is an XML file containing information about the project and configuration details. Configuration information can include project dependencies, plugins or goals to be executed, project versions, and so on. Maven uses the configuration information in this file to build the project.

The POMs, along with dependencies that are downloaded and artifacts that are generated when you run Maven commands, are stored on your system in a Maven repository. This repository is located:

  • On Windows, in: ...\Documents and Settings\username\.m2\repository\

  • On UNIX, in: .../home/username/.m2/repository/

POMs and generated resources for the FUSE Services Framework samples are stored in the Maven \repository directory in: \org\apache\cxf\samples\sample_name\1.0\.

See the Apache Maven documentation for more information.