Hi,
I am creating project through maven,always my bundle is in INSTALLED position if i use of these dependencies in pom.xml file and what is the use these dependencies.
<
dependency
>
<
groupId
>com.adobe.aem</
groupId
>
<
artifactId
>uber-jar</
artifactId
>
<
version
>6.1.0</
version
>
<
scope
>provided</
scope
>
<
classifier
>obfuscated-apis</
classifier
>
</
dependency
>
<
dependency
>
<
groupId
>org.apache.geronimo.specs</
groupId
>
<
artifactId
>geronimo-atinject_1.0_spec</
artifactId
>
<
version
>1.0</
version
>
<
scope
>provided</
scope
>
</
dependency
>
Regards
VeeraReddy.Ch
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Basically these dependencies must be included, if you use AEM6.2
See this article that that will solves your question: https://helpx.adobe.com/experience-manager/using/first-arch10.html
This dependency must be added for AEM6.2
<
dependency
>
<
groupId
>org.apache.geronimo.specs</
groupId
>
<
artifactId
>geronimo-atinject_1.0_spec</
artifactId
>
<
version
>1.0</
version
>
<
scope
>provided</
scope
>
</
dependency
>
Look into these article here: https://helpx.adobe.com/experience-manager/using/slingmodel_62.html
Hope this helps!
Thanks,
Ratna Kumar.
Views
Replies
Total Likes
Hi,
Basically these dependencies must be included, if you use AEM6.2
See this article that that will solves your question: https://helpx.adobe.com/experience-manager/using/first-arch10.html
This dependency must be added for AEM6.2
<
dependency
>
<
groupId
>org.apache.geronimo.specs</
groupId
>
<
artifactId
>geronimo-atinject_1.0_spec</
artifactId
>
<
version
>1.0</
version
>
<
scope
>provided</
scope
>
</
dependency
>
Look into these article here: https://helpx.adobe.com/experience-manager/using/slingmodel_62.html
Hope this helps!
Thanks,
Ratna Kumar.
Views
Replies
Total Likes
As Ratna points out - this dependency is used for Sling Models:
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-atinject_1.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
See the https://helpx.adobe.com/experience-manager/using/slingmodel_62.html article.
Views
Replies
Total Likes
Hi
The dependency mentioned above is used for Sling Models.
Please refer the articles:-
Link:- https://helpx.adobe.com/experience-manager/using/first-arch10.html
Link:- https://helpx.adobe.com/experience-manager/using/slingmodel_62.html article
//With AEM 6.2 the javax.inject package is exported with version 1.0.0 byorg.apache.geronimo.specs.geronimo-atinject_1.0_spec. Before that it was exported with version 0.0.0, and the core bundle ( when compiled ) creates an import range of [0,1) (Link:- https://github.com/Adobe-Marketing-Cloud/aem-project-archetype/issues/59)
Thanks and Refards
Kautuk Sahni
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies