OpenJPA
  1. OpenJPA
  2. OPENJPA-512

Maven build fails if -Dmaven.test.skip=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
    • Fix Version/s: 1.0.3, 1.1.0
    • Component/s: build / infrastructure
    • Labels:
      None

      Description

      Per Rahul Thakur's email to the dev mailing list the build fails if the maven.test.skip property is set to true. None of the source files in src/test/java are compiled when this flag is set, causing the PCEnhancer to fail, and the subsequent build to fail.

      Running mvn -Dtest=false clean test will still compile the testcases, but won't run any of the tests. This property can be used as a workaround for the problem.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Michael Dick
            Reporter:
            Michael Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development