since ‎08-04-2019
‎25-11-2020
Giancarlo_at_KD
Level 2
Re: Interesting Error with filevault-package-maven-plugin...
Avatar

Giancarlo_at_KD

Giancarlo_at_KD
- Adobe Experience Manager
Seems I can answer my own question...In the AEM Maven archetype 22 there is a module called repository-structure. The module's description says it all:Empty package that defines the structure of the Adobe Experience Manager repository the Code packages in this project deploy into.Any roots in the Code packages of this project should have their parent enumerated in the Filters list below.You have to define the /conf as "root": org.apache.jackrabbit filevault-package-maven-plugin true none> ...

Views

1.9K

Likes

4

Replies

3
Interesting Error with filevault-package-maven-plugin:1.0.3:generate-metadata
Avatar

Giancarlo_at_KD

Giancarlo_at_KD
- Adobe Experience Manager
Has anyone experienced an error when doing a maven build?My project structure is common stuff:/ /apps /confThe filter.xml in /META-INF/vault/filter.xml After doing a maven build (clean, then install) the error is[INFO] Loading filter from /projects/my-view/src/main/content/META-INF/vault/filter.xml [ERROR] 1 error(s) detected during dependency analysis. 1 error(s) detected during dependency analysis. Filter root's ancestor '/conf' is not covered by any of the specified dependencies.Not sure i...

Views

1.9K

Likes

0

Replies

4
Re: HTL use-api parameters are always null in Sling Model...
Avatar

Giancarlo_at_KD

Giancarlo_at_KD
- Adobe Experience Manager
Thanks, Arpit, this did the trick!

Views

782

Likes

0

Replies

0
HTL use-api parameters are always null in Sling Model Class.
Avatar

Giancarlo_at_KD

Giancarlo_at_KD
- Adobe Experience Manager
I am trying a HTL/Sling Model example with HTL Parameters and Sling Model Injection. However, the parameters passed via HTL are always null. Does anyone have a solution? Java --> Inject example: com.testing.models.SimpleHelloWorld@Model(adaptables = Resource.class)public class SimpleHelloWorldModel { @SlingObject private Resource currentResource; @SlingObject private ResourceResolver resourceResolver; @Inject @Optional protected String testProp; private String localProp = "test value"; @PostCons...

Views

796

Likes

0

Replies

2