
# @coremail/ci-common [![npm][npm-image]][npm-url] [![downloads][downloads-image]][npm-url]

[npm-url]: https://www.npmjs.com/package/@coremail/ci-common
[npm-image]: https://img.shields.io/npm/v/@coremail/ci-common.svg
[downloads-image]: https://img.shields.io/npm/dm/@coremail/ci-common.svg

Common CI dependencies for nodejs / java projects

- [apache ant](http://ant.apache.org)
- [apache maven](http://maven.apache.org)

Usage in `package.json`

```json-doc
{
    ...,
    "devDependencies" : {
        "ci-common" : "npm:@coremail/ci-common",
    }
    ...,
}
```

Sample task (run checkstyle & maven)
```js
const {mvn, checkstyle, exit} = require('ci-common');

checkstyle(['.', '-x', '\\.git|\\.idea|node_modules|target']) || exit();
mvn(null, ['test']) || exit();
```
