Integrated: 7508: Use preferred way for test-jars

Jean-Philippe Bempel jpbempel at openjdk.java.net
Wed Apr 13 21:05:17 UTC 2022


On Thu, 13 Jan 2022 11:04:00 GMT, Jean-Philippe Bempel <jpbempel 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

This pull request has now been integrated.

Changeset: ee50a200
Author:    Jean-Philippe Bempel <jpbempel at openjdk.org>
URL:       https://git.openjdk.java.net/jmc/commit/ee50a2000c408378329a8a1a5628a7250db13a89
Stats:     119 lines in 166 files changed: 1 ins; 78 del; 40 mod

7508: Use preferred way for test-jars

Reviewed-by: clanger, hirt

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

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


More information about the jmc-dev mailing list