Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-512

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
    • 1.0.3, 1.1.0
    • build / infrastructure
    • 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.

      Attachments

        Activity

          People

            mikedd Michael Dick
            mikedd Michael Dick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: