language: java
jdk:
  - oraclejdk8

#validate javadoc
before_install:
  - sh -c 'mvn -B -q javadoc:javadoc -Dshow=package'
install:
  - sh -c 'mvn -B -q install -DskipTests=true'
script:
  - sh -c 'mvn -B test'
cache:
  directories:
    - $HOME/.m2

language: java
jdk:
  - oraclejdk8

#validate javadoc
before_install: mvn -B -q javadoc:javadoc -Dshow=package

install: mvn -B -q install -DskipTests=true
script: mvn -B test

cache:
  directories:
    - $HOME/.m2

Change 'sh -c' usage to plain command
Change 'sh -c' usage to plain command
