---
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

title: Download
in_menu: true
sort_info: 5
--- name:overview

# ${project_name}
Download it today!

--- name:content pipeline:jade

.left
  :markdown
    # Latest Releases
.right
  - val release_base= "http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/%s".format(project_id)
  - for( version <- project_versions )
    :&markdown
      ### Version #{version}
    
      *  [#{project_id}-#{version}.jar](#{release_base}/#{project_id}/#{version}/#{project_id}-#{version}.jar) 
      *  [#{project_id}-scala-#{version}.jar](#{release_base}/#{project_id}-scala/#{version}/#{project_id}-scala-#{version}.jar) 

.left
  :markdown
    # Nightly Snapshot
    
.right
  - val snapshot_base= "http://repo.fusesource.com/nexus/service/local/artifact/maven/redirect?r=snapshots&g=org.fusesource.%s&".format(project_id)
  :&markdown

    Want to help stablize the latest and greatest nightly development
    build?  **Warnning**: This build may be extremely bleeding edge!

    *  [#{project_id}-#{project_snapshot_version}.jar](#{snapshot_base}a=#{project_id}&v=#{project_snapshot_version}&e=jar) 
    *  [#{project_id}-scala-#{project_snapshot_version}.jar](#{snapshot_base}a=#{project_id}-scala&v=#{project_snapshot_version}&e=jar) 
    
.left
  :markdown
    # As a Maven Dependency

.right
  :&markdown

    If your a maven user, then just add the following dependency to your `pom.xml`

    {pygmentize::xml}
    <dependency>
      <groupId>org.fusesource.#{project_id}</groupId>
      <artifactId>#{project_id}</artifactId>
      <version>#{project_version}</version>
    </dependency>
    {pygmentize}    

    or if you a scala user then you would add:

    {pygmentize::xml}
    <dependency>
      <groupId>org.fusesource.#{project_id}</groupId>
      <artifactId>#{project_id}-scala</artifactId>
      <version>#{project_version}</version>
    </dependency>
    {pygmentize}    

    If you are using a snapshot version, then you will also need to 
    also add the following snapshot repository to your pom:
  
    {pygmentize::xml}
    <repository>
      <id>fusesource-snapshots</id>
      <name>Fusesource Snapshots</name>
      <url>http://repo.fusesource.com/nexus/content/repositories/snapshots</url>
      <snapshots><enabled>true</enabled></snapshots>
      <releases><enabled>false</enabled></releases>
    </repository>
    {pygmentize}
    
