Skip to content

[MCHECKSTYLE-368] Missing test-jar on mvn compile #280

@jira-importer

Description

@jira-importer

Adam Hornáček opened MCHECKSTYLE-368 and commented

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:

[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]

PR containing changes that cause this issue:
oracle/opengrok#2259

Thanks.


Affects: 3.0.0

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:minorMinor loss of function, or other problem where easy workaround is present

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions