OpenJPA
  1. OpenJPA
  2. OPENJPA-2090

factor out openjpa-project/checkstyle.xml to own maven project

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.4.0
    • Component/s: build / infrastructure
    • Labels:
      None

      Description

      Currently our build scripts adopt a file-based way to reference our checkstyle configuration. With having lots of sub-modules with a deeply nested structure, this introduces quite some maintenance effort (e.g. when you try to add integration tests).

      There is another way to incorporate checkstyles for a project easily: serve them in an own maven artifact and include them as dependency of the maven-checkstyle-plugin.
      See OpenWebBeans and MyFaces of how this looks like:
      https://svn.apache.org/repos/asf/openwebbeans/build-tools/trunk/ for the openwebbeans-checkstyle-rules, and
      https://svn.apache.org/repos/asf/openwebbeans/trunk/pom.xml for how it's being used (see maven-checkstyle-plugin section)

      This can e.g. also be used to detect missing ASF headers in java files, etc.

        Activity

        Hide
        Albert Lee added a comment -

        Move fix version to 2.3.0 in preparation for 2.2.0 release.

        Show
        Albert Lee added a comment - Move fix version to 2.3.0 in preparation for 2.2.0 release.

          People

          • Assignee:
            Mark Struberg
            Reporter:
            Mark Struberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development