@pn_2007
Your filtering.xml file looks correct. What is your project's version? If there is no SNAPSHOT, then you need to manually click on install from the package manager, every time the package is uploaded into AEM. During development, we are expected to work against a SNAPSHOT version.
Secondly, if the SNAPSHOT version is not the problem, can you manually install the package in the package manager? I have a strong feeling that it might be the SNAPSHOT version not exist, as you may need to install the package manually, by clicking on the install button from the package manager.
filter.xml below will replace all crx/de nodes with the folder structure provided below, recursively. You're on the right track.
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/apps/my-site"/> // if empty, the mode is "replace"
</workspaceFilter>
Also, a reminder of the filter modes:
- replace : This is the normal behavior. Existing content is replaced completely by the imported content, i.e. is overridden or deleted accordingly.
- merge : Existing content is not modified, i.e. only new content is added and none is deleted or modified.
- update : Existing content is updated, new content is added and none is deleted.