Expand my Community achievements bar.

SOLVED

Embedding and installing external jar to AEMacs instance

Avatar

Level 3

Hi All,

I am trying to install an external jar to the  local AEMacs  instance through the POM file with fileVault-package-maven-plugin

 

all pom file

<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<allowIndexDefinitions>true</allowIndexDefinitions>
<group>com.adobe.aem.guides</group>
<packageType>container</packageType>
<skipSubPackageValidation>true</skipSubPackageValidation>
<embeddeds>
<embedded>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<target>/apps/wknd-packages/application/install</target>
</embedded>
</embeddeds>
</configuration>

 added dependency in parent and core file

<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-s3</artifactId>
<version>1.12.195</version>
</dependency>

The project is building successfully but the jar file is missing in the AEM instance on deployment, the core jar file is present.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

I face this issue too, as @arunpatidar mentioned, I followed the article by Veena and ended up doing the same. But I don't see the jar being installed.

Avatar

Community Advisor

The issue could be due to filter.xml



Arun Patidar