[Hawkular-dev] Changes in upcoming Hawkular Parent v10

Peter Palaga ppalaga at redhat.com
Thu Mar 19 03:52:02 EDT 2015


Ladies and Gentlemen,

* Jirka added swagger plugin
https://github.com/hawkular/hawkular-parent-pom/blob/master/pom.xml#L261
* Jirka also added two artifacts to dependencyManagement that are 
supposed to be used together with swagger plugin:
https://github.com/hawkular/hawkular-parent-pom/blob/master/pom.xml#L185-L194

* My PRs https://github.com/hawkular/hawkular-build-tools/pull/13 and 
https://github.com/hawkular/hawkular-parent-pom/pull/19 are waiting for 
review. They upgrade license plugin to the last version 2.10. The most 
important change for all of you is

   <license.failIfUnknown>true</license.failIfUnknown> [1]

which causes the license verification to fail if the plugin sees a file 
that is neither ignored or has a license style definition. The 
motivation for this is, clearly, that we want to have 100% certainty 
that all files have proper headers.

See here how to ignore files in your project:
https://github.com/ppalaga/hawkular-alerts/commit/afa2b9e4839a64150c3449d3cdefa3e06c783b93#diff-d9833a3afb9198bca769bb318c86148aR128

The style definitions are done per file extension. Many file types are 
supported out of the box by the plugin (see [2]) and such a definition 
can be made ad hoc, too. We had such ones for .ts and .mustache in build 
tools [3], but they were recently accepted in upstream. Feel free to ask 
me if you need to cover some new file type.

I'd release Parent v10 just after merging the above two PRs unless 
anybody has some urgent topic for the next Parent.

Best,

Peter

[1] 
https://github.com/hawkular/hawkular-parent-pom/commit/4f16fc75bd8105858a077e6def04e2e3bacf73dc#diff-600376dffeb79835ede4a0b285078036R107

[2] 
https://github.com/mycila/license-maven-plugin/blob/master/license-maven-plugin/src/main/java/com/mycila/maven/plugin/license/header/HeaderType.java#L34

[3] 
https://github.com/hawkular/hawkular-build-tools/commit/510aebe891fdfedb14d353605f09416d8100ea45



More information about the hawkular-dev mailing list