Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2052

tapestry-ioc has a compile dependency on tapestry-test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 5.4
    • 5.4
    • tapestry-ioc
    • None

    Description

      For the `org.apache.tapestry5.ioc.test.IOCTestCase` class, there is a `compile` dependency on the `tapestry-test` project. This ends up as a compile dependency in the pom, so basically every Tapestry-based project has a compile dependency on `tapestry-test`.
      This could be fixed by changing the dependency back to the `provided`. On the other hand, test classes in the main source sets (like `org.apache.tapestry5.test.TapestryTestCase` in `tapestry-core`) seem a bit out-of-place anyway, so maybe they should be moved to `tapestry-test` and `tapestry-test` should depend on `tapestry-core`. I guess, gradle should be able to handle what looks like a circular dependency because of the different scopes. I haven't tried it though.

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              jkemnade Jochen Kemnade
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: