You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Adam Hornáček (JIRA)" <ji...@apache.org> on 2019/02/17 05:51:00 UTC

[jira] [Updated] (MCHECKSTYLE-368) Missing test-jar on mvn compile

     [ https://issues.apache.org/jira/browse/MCHECKSTYLE-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Hornáček updated MCHECKSTYLE-368:
--------------------------------------
    Attachment: mvn_debug.out

> Missing test-jar on mvn compile
> -------------------------------
>
>                 Key: MCHECKSTYLE-368
>                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-368
>             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 http://repo.maven.apache.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of maven.org has elapsed or updates are forced -> [Help 1]
> {code}
> PR containing changes that cause this issue:
> https://github.com/oracle/opengrok/pull/2259
> Thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)