Skip to content

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

Description

@jira-importer

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions