Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

[MBUILDCACHE-101] mvn test fails on missing classes after mvn compile #104

@sos-jira-migration-bot

Description

@sos-jira-migration-bot

Amir Hadadi opened MBUILDCACHE-101 and commented

Using a project whose artifacts are not cached locally or remotely, do the following:

mvn compile

This will compile the code and mark the compile plugin goal as cached.

If you now run:

mvn clean test

You will see in the log:

Skipping plugin execution (cached): compiler:compile

and then the build will fail due to missing classes, since it will not run the compile phase again (as it was marked cached) and it has nowhere to pull the compiled classes from.


Affects: 1.2.0

Remote Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions