Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4540

Hamcrest and JUnit are being leaked into the main path (should be test only)

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.6.0
    • build-system
    • None

    Description

      The sdks/java/io/google-cloud-platform module includes Hamcrest and JUnit as a test dependency via shadowTest. However it seems both dependencies can be resolved from the the main java path (src/main/java).
      I discovered this while checking at BEAM-4539. We should probably validate the isolation level of shadowTest so deps don't leak to the main path otherwise developers will start to use them.

      Attachments

        Issue Links

          Activity

            People

              lcwik Luke Cwik
              iemejia Ismaël Mejía
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m