<!--

    Copyright (c) 2012-2015 Codenvy, S.A.
    All rights reserved. This program and the accompanying materials
    are made available under the terms of the Eclipse Public License v1.0
    which accompanies this distribution, and is available at
    http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Codenvy, S.A. - initial API and implementation

-->

###################################################
###
### Che Server-Side Extension Example
###
###################################################

DOCS:     https://eclipse-che.readme.io/docs/developing-extensions
SOURCE:   http://github.com/che-samples/che-server-extension.git
PRE-REQS: Java 1.8, Maven, Git, and a clone of Che's assembly repo @ http://github.com/codenvy/che.

STEPS:    1. git clone http://github.com/che-samples/che-server-extension
          2. cd che-server-extension
          3. mvn clean install
          4. Add new extension as dependency to /che/assembly-machine-war/pom.xml
          5. Optional: Add new extension as dependency to /che/pom.xml
          6. Create a new ws-agent with your extension: `mvn -Denforcer.skip=true clean install` in /che/assembly-machine-war directory
          7. Create a new Che assembly: `mvn clean install` in /che
          8. In /che/assembly-main/target/eclipse-che-{version}/bin, run `che run` to launch new Che assembly.