[ https://issues.apache.org/jira/browse/MBUILDCACHE-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated MBUILDCACHE-101: --------------------------------------- Labels: pull-request-available (was: ) > mvn test fails on missing classes after mvn compile > --------------------------------------------------- > > Key: MBUILDCACHE-101 > URL: https://issues.apache.org/jira/browse/MBUILDCACHE-101 > Project: Maven Build Cache Extension > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Amir Hadadi > Priority: Major > Labels: pull-request-available > > Using a project whose artifacts are not cached locally or remotely, do the > following: > {code:java} > mvn compile{code} > This will compile the code and mark the compile plugin goal as cached. > If you now run: > {code:java} > mvn clean test{code} > You will see in the log: > {code:java} > Skipping plugin execution (cached): compiler:compile{code} > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)