Added pom.xml generation.
This commit is contained in:
parent
f5ab25b10e
commit
53cff85983
8 changed files with 173 additions and 48 deletions
48
README.md
48
README.md
|
@ -1,6 +1,6 @@
|
|||
# VersionEye plug-in for [Kobalt](http://beust.com/kobalt/home/index.html)
|
||||
|
||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ethauvin/kobalt-versioneye) [ ](https://bintray.com/ethauvin/maven/kobalt-versioneye/_latestVersion)
|
||||
[](http://opensource.org/licenses/BSD-3-Clause) [](https://travis-ci.org/ethauvin/kobalt-versioneye) [](https://www.versioneye.com/user/projects/58ff729f6ac171425cd00acf) [ ](https://bintray.com/ethauvin/maven/kobalt-versioneye/_latestVersion)
|
||||
|
||||
[](https://www.versioneye.com)
|
||||
|
||||
|
@ -90,16 +90,17 @@ versionEye {
|
|||
|
||||
The values are:
|
||||
|
||||
| Value | Description | Default |
|
||||
| :----------- | :---------------------------------------------------------------------------------------------- | :---------------------------- |
|
||||
| `baseUrl` | For VersionEye Enterprise VM to use your own domain, e.g. `https://versioneye.my-company.com/` | `https://www.versioneye.com/` |
|
||||
| `colors` | To enable (`true`) or disable (`false`) colors in the plug-in output. | `true` |
|
||||
| `name` | The name of the VersionEye project, if none is specified the Kobalt project name will be used. | *none* |
|
||||
| `quiet` | To completely disable output from the plug-in. | `false` |
|
||||
| `org` | The VersionEye organization, if any. | *none* |
|
||||
| `team` | The VersionEye team, if any. | *none* |
|
||||
| `verbose` | To enable or disable extra information in the plug-in output. | `true` |
|
||||
| `visibility` | To set the project's visibility on VersionEye, either `public` or `private` | `public` |
|
||||
| Value | Description | Default |
|
||||
| :----------- | :--------------------------------------------------------------------------------------------------------------------- | :---------------------------- |
|
||||
| `baseUrl` | For VersionEye Enterprise VM to use your own domain, e.g. `https://versioneye.my-company.com/` | `https://www.versioneye.com/` |
|
||||
| `colors` | To enable (`true`) or disable (`false`) colors in the plug-in output. | `true` |
|
||||
| `name` | The name of the VersionEye project, if none is specified the Kobalt project name will be used. | *none* |
|
||||
| `quiet` | To completely disable output from the plug-in. | `false` |
|
||||
| `org` | The VersionEye organization, if any. | *none* |
|
||||
| `pom` | Generate a [pom.xml](https://maven.apache.org/pom.html) for the project. See [Private vs. Public](#private-vs-public). | `false` |
|
||||
| `team` | The VersionEye team, if any. | *none* |
|
||||
| `verbose` | To enable or disable extra information in the plug-in output. | `true` |
|
||||
| `visibility` | To set the project's visibility on VersionEye, either `public` or `private` | `public` |
|
||||
|
||||
Some of the parameters can be controlled temporarily from the command line, as follows:
|
||||
|
||||
|
@ -126,4 +127,27 @@ versionEye {
|
|||
| `Fail.dependenciesCheck` | Will triggered a failure on outdated dependencies. |
|
||||
| `Fail.licensesUnknownCheck` | Will trigger a failure on unknown licenses. |
|
||||
| `Fail.licensesCheck` | Will trigger a failure on licenses whitelist violations. Licenses and components whitelists can be configured on the [VersionEye](https://www.versioneye.com/) website. |
|
||||
| `Fail.securityCheck` | Will trigger a failure on known security vulnerabilities, on by default. |
|
||||
| `Fail.securityCheck` | Will trigger a failure on known security vulnerabilities, on by default. |
|
||||
|
||||
## Private vs. Public
|
||||
|
||||
By default, projects created using the VersionEye API are private. If your project is hosted on [GitHub](https://github.com) or [BitBucket](https://bitbucket.org) and would like to make it public on VersionEye. The plug-in can generate a [pom](https://maven.apache.org/pom.html) file compatible with VersionEye, as follows:
|
||||
|
||||
```
|
||||
versionEye {
|
||||
pom = true
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
and to generate the pom file, but **not** create a new project on VersionEye:
|
||||
|
||||
```bash
|
||||
./kobaltw -Dve.create=false versionEye
|
||||
```
|
||||
|
||||
Be sure to commit `pom.xml` on GitHub or BitBucket, and then import your project at:
|
||||
|
||||
* https://www.versioneye.com/projects/new
|
||||
|
||||
Finally, configure your [project key](#global-configuration).
|
Loading…
Add table
Add a link
Reference in a new issue