RFR: 7508: Use preferred way for test-jars

Brice Dutheil duke at openjdk.java.net
Tue Mar 29 20:12:27 UTC 2022


On Thu, 13 Jan 2022 15:24:56 GMT, Marcus Hirt <hirt at openjdk.org> wrote:

>> based on https://maven.apache.org/plugins/maven-jar-plugin/examples/create-test-jar.html
>> I have modified the way test jars are structured:
>> we put all classes in src/main/java instead of src/test/java
>> and changed scope from test to compile accordingly
>> we now don't need to create explicitly test-jar neither reference them
>> as is.
>> Help to build/run/debug correctly in Intellij
>
> Already doing these, i.e. fixing project files, in a separate PR. See #355.

@thegreystone There is however a change in the declaration of the maven projects see : 502313d

This PR may have to be rebased over #355

-------------

PR: https://git.openjdk.java.net/jmc/pull/354


More information about the jmc-dev mailing list