Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Maven Sling Plugin 2.0.2, Maven Sling Plugin 2.0.4
-
None
Description
the sling plugins configures and checks initial content path mappings in method AbstractBundleInstallMojo.configure.
this does work fine with maven default mapping.
but if the project pom defines a special resource mapping with target path like this:
<resources>
<!-- copy webapp resources to SLING-INF/content/apps/${project.name} -->
<resource>
<directory>src/main/webapp</directory>
<targetPath>SLING-INF/content/apps/${project.name}</targetPath>
<filtering>false</filtering>
</resource>
</resources>
this does not work any longer, because the target path is ignored and the wrong path is checked.
the patch attached solves the problem.
Attachments
Attachments
Issue Links
- is related to
-
SLING-963 maven-sling-plugin fix for targetPath without trailing slash
- Closed