jira-importer opened a new issue, #340:
URL: https://github.com/apache/maven-build-cache-extension/issues/340

   **[Amir 
Hadadi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=hermes)** 
opened 
**[MBUILDCACHE-101](https://issues.apache.org/jira/browse/MBUILDCACHE-101?redirect=false)**
 and commented
   
   Using a project whose artifacts are not cached locally or remotely, do the 
following:
   
   ```java
   mvn compile
   ```
   
   This will compile the code and mark the compile plugin goal as cached.
   
   If you now run:
   
   ```java
   mvn clean test
   ```
   
   You will see in the log:
   
   ```java
   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:**
   - [GitHub Pull Request #176
   ](https://github.com/apache/maven-build-cache-extension/pull/176)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to