maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hornáček (JIRA) <>
Subject [jira] [Commented] (MCHECKSTYLE-368) Missing test-jar on mvn compile
Date Sun, 17 Feb 2019 05:54:00 GMT


Adam Hornáček commented on MCHECKSTYLE-368:

Plugin definition from the top level pom.xml:


Dependency that is causing the issue:


I also uploaded `mvn_debug.out` file.

Please let me know if you need any other information.

Thanks :)

> Missing test-jar on mvn compile
> -------------------------------
>                 Key: MCHECKSTYLE-368
>                 URL:
>             Project: Maven Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Adam Hornáček
>            Priority: Minor
>         Attachments: mvn_debug.out
> Hello,
> we have a multi-module Maven project. One of the subprojects depends on test-jar. Everything
seems to work fine until I enable Maven Checkstyle Plugin in this subproject. Then `mvn compile`
target fails; however, `mvn package` works fine.
> The error message:
> {code}
> [ERROR] Failed to execute goal on project opengrok-web: Could not resolve dependencies
for project org.opengrok:opengrok-web:war:1.2.1: Failure to find org.opengrok:opengrok:jar:tests:1.2.1
in was cached in the local repository, resolution will
not be reattempted until the update interval of has elapsed or updates are forced
-> [Help 1]
> {code}
> PR containing changes that cause this issue:
> Thanks.

This message was sent by Atlassian JIRA

View raw message