GitHub user msohn opened a pull request:
https://github.com/apache/mina-sshd/pull/84
Capture test coverage using jacoco and add jacoco, index and javadoc site
reports
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/msohn/mina-sshd jacoco
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/mina-sshd/pull/84.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #84
----
commit affc423e7c04d1a869ef7cea12ca4a68d447ef8d
Author: Matthias Sohn <matthias.sohn@...>
Date: 2018-12-16T20:05:48Z
Do not delete all target folder content in auto-clean-key-files
The auto-clean-key-files clean step should only delete temporary
serialized key files generated during test runs. Fix this to
enable capturing test coverage data which will be stored by
jacoco in the target/jacoco.exec file of each module having tests.
commit a842675596a6b4fabb974c6d99186a5132ab8f01
Author: Matthias Sohn <matthias.sohn@...>
Date: 2018-12-16T20:14:05Z
Move unpacking dependencies for sshd-osgi to package phase
Otherwise Maven site generation
$ mvn site:site
fails with the error message:
"Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:3.1.1:unpack-dependencies
(unpack-dependencies) on project sshd-osgi: Artifact has not been packaged
yet.
When used on reactor artifact, unpack should be executed after packaging:
see MDEP-98."
commit 7cd08e466285f969e6688ee833a126ca93b8e7bd
Author: Matthias Sohn <matthias.sohn@...>
Date: 2018-12-16T20:22:04Z
Capture test coverage using jacoco
- Use jacoco to capture test coverage.
- Generate an aggregate test coverage report to
assembly/target/site/jacoco-aggregate/index.html
commit ef434d7378eb5e61e51b0c18d11fbe06cc39810c
Author: Matthias Sohn <matthias.sohn@...>
Date: 2018-12-16T20:24:03Z
Add index report to Maven site
commit c43a4adfb1e4adbdbf9876f12f9f6c10a649a80d
Author: Matthias Sohn <matthias.sohn@...>
Date: 2018-12-16T20:24:31Z
Add javadoc report to Maven site
----
---