maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Cailloux (JIRA)" <>
Subject [jira] [Created] (MNG-6545) Scope runtime test
Date Sat, 29 Dec 2018 10:40:00 GMT
Olivier Cailloux created MNG-6545:

             Summary: Scope runtime test
                 Key: MNG-6545
             Project: Maven
          Issue Type: Improvement
          Components: Dependencies
            Reporter: Olivier Cailloux

Maven should permit to include a dependency with scope restricted to test and runtime. Currently
we have to choose between test and runtime, having both would be better.

It would permit Maven to check that the test code does not depend (for compilation) on those
libraries. And you wouldn’t get annoyed by completion proposals in your IDE coming from
those runtime libraries.

It is also conceptually more elegant and would make the intent clear to other contributers
(“make sure your test code does not depend on this library”).

Also discussed [here|]
and [here|].

This message was sent by Atlassian JIRA

View raw message