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

   **[Maurice 
Zeijen](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER308001)**
 opened 
**[MBUILDCACHE-111](https://issues.apache.org/jira/browse/MBUILDCACHE-111?redirect=false)**
 and commented
   
   Several places in the documentation, like the 
[Howto](https://maven.apache.org/extensions/maven-build-cache-extension/how-to.html)
 page and the 
[maven-build-cache-config.xml](https://maven.apache.org/extensions/maven-build-cache-extension/build-cache-config.html)
 page,  refer to the 1.0.0 version of the build-cache-config XML schema instead 
of the newer 1.2.0 version. 
   
   Because I was not aware of there being a newer schema, we where using the 
1.0.0 schema in combination with the 1.2.0 version of the build cache. Although 
this works, it does cause validation issues in the IDE when new features are 
used like the `glob` attribute on the `exclude` element, which causes confusion.
   
   So instead of:
   
    
   
   ```java
   <cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";       
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0 
https://maven.apache.org/xsd/build-cache-config-1.0.0.xsd";> 
   ```
   
   this should be used in the documentation:
   
    
   
   ```java
   <cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";       
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0 
https://maven.apache.org/xsd/build-cache-config-1.2.0.xsd";> 
   ```
   
   
   
   ---
   
   **Remote Links:**
   - [GitHub Pull Request #201
   ](https://github.com/apache/maven-build-cache-extension/pull/201)
   


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