Installing the Maven command-line tool is strongly recommended, but not required.

With Maven command-line, you will be able to automatically build a wider range of Aspire distribution projects, including:

  • Distributions that work without an internet connection
  • Separate distributions for development, staging, QA, and production environments
  • Distributions that are bundled as "App Bundles" and can be re-used inside of other Aspire server instances.

In addition, the Maven command-line tool will be useful for creating new Aspire components and deploying these components to Maven repositories for use in other Aspire installations.

If you do not wish to install Maven command-line, you may download a pre-packaged set of Aspire binaries instead,

On this page:

 


1. Download and install Apache Maven: http://maven.apache.org/download.html

    1. Download and unpack the latest version
      1. Suggestion: Create a "C:\dev" directory and store it in there.
      2. "C:\dev" is a good place to store open source tools like Apache Maven, since (on rare occasions) they will not work with path names that have spaces in them.

2. Add the "bin" directory from Apache Maven to your environment path.

Windows Instructions:

    1. Open your Control panel.
    2. Go to System (may be inside the System and Security category).
    3. Open the Advanced System settings.
    4. Go to the Advanced tab (may already be selected) and select Environment Variables.
      1. Add the bin directory on to the end of the PATH variable in the System Variables section. Note that it needs to be preceded by a semi-colon.
      2. For example,  ;C:\dev\apache-maven-3.0.4\bin

3. Test that you can access Maven.

    1. Open a new command-shell (in Windows, go to Start, and enter cmd where it says Run or Search for Programs, and then execute the cmd.exe program).
    2. Enter: mvn -version

You should see roughly the same response as shown in the image to the right. →

SettingPath.png

  • No labels