Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-79357

Allow 'compile' dependencies for modules that end with 'test-util'

    Details

      Description

      We have in `apio-architect` a module containing utilities for unit testing: https://github.com/liferay/com-liferay-apio-architect/tree/master/apio-architect-test-util

      And this module has all its dependencies marked as `provided`. The problem is that for some of them we have had to add them again in the different modules because of `NoClassDefFound` exceptions when running the unit tests: https://github.com/liferay/com-liferay-apio-architect/pull/198/commits/3ca04736b34717650fb13b4da50cc028568bb425

      Since the classes in this modules are intented to be used for testing purposes (where we support transtitive dependencies) could it be possible to allow using `compile` instead of `provided` in such modules?

        Attachments

          Activity

            People

            • Assignee:
              hugo.huijser Hugo Huijser
              Reporter:
              peter.shin Peter Shin
              Recent user:
              Lester Pi
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                Master