On Wed, Nov 30, 2016 at 3:19 PM KARR, DAVID <dk0...@att.com> wrote:

> The POM for "artifact1" has two dependencies on "artifact2".  One is the
> "default" artifact, and another is a jar artifact that is only used for
> unit tests.
>

…and that's the issue.  See
https://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html; note
in particular the "classifier" property (
https://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html#classifier
).

Some other information is here:
https://maven.apache.org/guides/mini/guide-attached-tests.html

Best,
Laird
--
http://about.me/lairdnelson

Reply via email to