Hi All,
We i have included uber jar dependency in the parent pom.xml as per the guidelines given in the below URL but this jar is not recognized and also not downloading to .m2 repository.
https://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html
I have also added plugin and repository references in the pom as well.
If anyone has idea,please help me.
Thanks,
Kishore
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Kishore,
I am assuming you need obfuscated API.
Include this in parent pom.xml
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
Included this in core pom,xml
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<classifier>obfuscated-apis</classifier>
</dependency>
It should work fine,
Thanks
Views
Replies
Total Likes
Hi Kishore,
I am assuming you need obfuscated API.
Include this in parent pom.xml
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>obfuscated-apis</classifier>
</dependency>
Included this in core pom,xml
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<classifier>obfuscated-apis</classifier>
</dependency>
It should work fine,
Thanks
Views
Replies
Total Likes
We are trying to deploy our code onto AEM 6.2 version and added dependency for below classes but still getting compilation errors.
import org.osgi.framework.Constants;
import org.osgi.framework.ServiceReference;
Parent pom:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.fragment.ws</artifactId>
<version>1.0.2</version>
<scope>provided</scope>
</dependency>
Core pom:
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.fragment.ws</artifactId>
</dependency>
Any idea on usage of this dependency??
Thanks,
Kishore
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies