goBoss

command module
v0.0.0-...-ba4d9c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

README

Goboss

  • Goboss will build your java project, copy to jboss and run-it. Tested with Jboss EAP 6.4/Wildfly10 on Ubuntu 16.04

How To

  1. Modify projects.yml adding your project information.
  • dir: must be your project folder, for instance: /home/dude/git/myproject
  • target-dir: must be your project target folder, where your main artifact will be generated. for instance: /home/dude/git/myproject/target (necessary when building multi-module projects)
  • artifact: must be the main artifact generated file, for instance: myproject.ear
  1. Set in your environment the necessary environment variables:
  • JBOSS_HOME: the folder where your jboss server is located
  • GOBOSS_ARGS: arguments that will be passed to the jboss to initialize, for instance: -b localhost --server-config=standalone.xml
  • GOBOSS_BUILD_ARGS: arguments that will be passed to the maven to build the artifact, for instance: clean install -skipSomePlugin

Running

First of all, setup your GO environment, GOPATH, etc.

Ensure that you have dep installed as well.

$ go get
$ dep ensure & go build main.go & ./main

or

$ dep ensure & go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL