Amir Hadadi created MBUILDCACHE-101:
---------------------------------------

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


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)

Reply via email to