Adam Hornáček created MCHECKSTYLE-368:
-----------------------------------------

             Summary: 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


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)

Reply via email to