Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project housecleaning #5

Merged
merged 13 commits into from
Aug 24, 2020
Merged

Commits on Aug 2, 2020

  1. Add .editorconfig and fix minor formatting issues

    - missing whitespace
    - star-imports
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    cd633b7 View commit details
    Browse the repository at this point in the history
  2. Fix javadoc errors, and use doclint

    The doclint is set to "all except missing tags". It's a reasonable
    setting to avoid having to add redundant noise for self-explanatory
    paramters, types and such.
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    f9dc7e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ced2567 View commit details
    Browse the repository at this point in the history
  4. Upgrade all Maven plugins

    Use strictly pluginManagement for settings versions in order to be able
    to invoke single plugins and get the same version as specified in the
    build, as well as configuration.
    
    Executions, in addition to plugins part of the default (jar) lifecycle,
    are configured in build/plugins.
    
    Configure versions-maven-plugin to be able to check for newer
    dependencies/plugin versions
    
    Add maven-enforcer-plugin to set minimal Maven version required by
    configured plugins.
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    21bd421 View commit details
    Browse the repository at this point in the history
  5. Upgade to JUnit 5 and Hamcrest 2.2

    Change tests to being package scoped, and remove unnecessary exception
    declarations.
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    4afc46c View commit details
    Browse the repository at this point in the history
  6. Do not build test-jar

    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    9fc57ce View commit details
    Browse the repository at this point in the history
  7. Deny unused declared & used but undeclared deps

    maven-dependency-plugin analyzes and failes the build if:
    - code is using a dependency which has been pulled in transitively, but
    not declared as a dependency. Code used is direct dependency, and must
    be declared as such.
    - a dependency has been declared, but the code is actually not using it.
    Thus, is can be removed (unless it is a runtime dependency, but the
    nature of this library makes this very unlikely).
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    6945838 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    05be6a2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f845d59 View commit details
    Browse the repository at this point in the history
  10. Build using mvn verify

    Default build command on Travis is mvn test
    
    Reformat .travis.yml in accordance with .editorconfig (2 spaces indent)
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    c085638 View commit details
    Browse the repository at this point in the history
  11. Only do one build on Travis

    Travis' default behaviour is to first do mvn install without tests to
    "install" dependencies, and then execute a normal build with tests.
    This is to align with the build lifecycle defined by Travis, but it is
    not necessary for a Maven build, which should do everything it needs by
    executing the idiomatic mvn clean install.
    
    This should even further speed up the build.
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    fcdecda View commit details
    Browse the repository at this point in the history
  12. Use org.hamcrest.Matchers.is(..)

    Instead of CoreMatchers.is(..)
    runeflobakk committed Aug 2, 2020
    Configuration menu
    Copy the full SHA
    e6fac6d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    514dd52 View commit details
    Browse the repository at this point in the history