Maven 1.x Test Plugin
  1. Maven 1.x Test Plugin
  2. MPTEST-3

allow maven.build.dest to be a path instead of a single location

    Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      I'm working on some improvements on the jcoverage plugin and came accross a classpath issue. Basically, I want jcoverage to leave some classes un-instrumented. Apparently, I get ClassNotFoundExceptions when running the test-cases, because the maven.build.dest property is referenced in classpaths of the test:compile/test:test goals as a pathelement-location and it is set in the jcoverage plugin to point to the instrumented classes.
      To be able to run test-cases against the instrumented and the original classes the maven.build.dest can be referenced as pathelement-path. Hence I can set the maven.build.dest property to be a path property.

      1. patch.diff
        5 kB
        Dominik Dahlem

        Activity

        Hide
        Dominik Dahlem added a comment -

        Attached is a patch which solves the problem.

        Show
        Dominik Dahlem added a comment - Attached is a patch which solves the problem.

          People

          • Assignee:
            Unassigned
            Reporter:
            Dominik Dahlem
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 10 minutes
              10m
              Remaining:
              Remaining Estimate - 10 minutes
              10m
              Logged:
              Time Spent - Not Specified
              Not Specified