View on GitHub


Remote Automation with Groovy and JVM Friends

Download this project as a .zip file Download this project as a tar.gz file

Welcome the Bear!

Bear is a lightweight remote automation tool for Groovy/Java/JVM. Bear allows your to deploy projects, setup your cluster and install software to your remote machines. Bear differs from other existing tools in that it's using programmatic approach. In Bear your deployment is a regular Java class which may have it's main(). Bear loves static type safety, chained method calls, FP and fluent programming techniques.

Below is an example of a remote task:

@Project(shortName = "my")
class MyProject{

    def sayHi(){
        run([named("say-hi task", { _, task ->

            println "${}: ${_.sys.capture('echo hi from `hostname`')}!";
        } as TaskCallable)])

    static main(args){
        new MyProject().sayHi()

Which can be run as a Java app or from a command line:

$ bear my.sayHi --ui

Bear provides tested deployment examples which include deploying, starting and monitoring, release management, installing server application as a service for the following technologies:

Quick Start

To quickly start using Bear, check out the Quick Start Guide. There also might be an interesting topic to read in our Wiki. There are demos and examples to use as prototypes for your own projects. These demos are also used as integration tests. At the moment Bear supports Node.js, Grails, Play! Framework.

The Goal

The goal of Bear is to provide less learning experience by using features of the existing Java IDEs. Bear tries to minimize reading documentation and proposes using code completion or quick method lookup to create your deployment project.

The first version of Bear has been released on January 12th, 2014 and is a work in progress. It first started as a Capistrano clone, but then grew into a different project.

Our main priorities for the project for now are usability and bugfixing, so your feedback, bugreports and feature requests are very welcome.


You can create a ticket or ask a question or just drop a line at We will accept contributions - below you will find instructions on how to build Bear and how to start the integration tests. Please discuss your changes with us if you want to change or add something significant.


Bear can be compared to the following tools:

Bear Highlights

Bear UI

Bear has a UI written in AngularJS inside a JavaFX's WebView. It's probably the first AngularJS desktop app. :-)

Configuration Sample

Installing and using Bear

To install the latest stage version of Bear, type in your console:

$ mvn com.chaschev:installation-maven-plugin:1.4:install -Dartifact=com.chaschev:bear

Bear is also available in Maven Central:


Continue reading in Wiki...

Building Bear

Bear requires Maven 3.x to build:

$ mvn com.zenjava:javafx-maven-plugin:2.0:fix-classpath
$ git clone
$ cd bear
$ mvn install

The first command will fix JavaFX installation to be available on classpath. You might need to run this with admin user. More...

Bitdeli Badge