Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #637 was successful Run by child build REFAPP-OMODDISTRO

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
6 minutes
Labels
None
Revisions
openmrs-module-webservices.rest
1f51b542177bb529853f99a60e45804f7eeca0be 1f51b542177bb529853f99a60e45804f7eeca0be
Release scripts
1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa 1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa
Total tests
1259
Successful since
#616 ()

Tests

Code commits

openmrs-module-webservices.rest
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 1f51b542177bb529853f99a60e45804f7eeca0be 1f51b542177bb529853f99a60e45804f7eeca0be Merge pull request #239 from teleivo/RESTWS-611
RESTWS-611 Use maven license plugin
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> a4be2336d2a789b1fd9149131bb8d5edd79e81a0 m a4be2336d2a789b1fd9149131bb8d5edd79e81a0 formatting: update license headers
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> 179b21d9f3c40cbe75e462d0309f57554c74be94 m 179b21d9f3c40cbe75e462d0309f57554c74be94 RESTWS-611 Use maven license plugin
* replace license.txt by file from openmrs-core/LICENSE
* added license-header.txt from openmrs-core
* use com.mycila maven license plugin
takes license-header.txt from this repo and updates .java files
* runs in root and all maven submodules
* runs by default plugin goal format which formats the headers if not properly
formatted or missing

* ATTENTION: adjusted maven profiles
had to play a trick on the "java-8" profile which uses mavens activeByDefault
this prevented the "ci" profile to run in combination with it once the env is
set to CI=true.

Now the "java-8" profile will still run by default unless you specify mvn
property

"-DnoJava8"

This however allows the "ci" profile to also be active together with the
"java-8" profile if CI=true (so for example on travis CI)

* when environment variable CI=true it will run license plugin goal "check" which
fails the build if a header is missing or not properly formatted

try:
mvn license:format
mvn license:check

Jira issues

IssueDescriptionStatus
Unknown Issue TypeRESTWS-611Could not obtain issue details from Jira