Embedding and installing external jar to AEMacs instance | Community
Skip to main content
shabarish
New Participant
April 12, 2022
Solved

Embedding and installing external jar to AEMacs instance

  • April 12, 2022
  • 2 replies
  • 4546 views

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

B_Sravan
New Participant
May 15, 2022

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.

arunpatidar
New Participant
May 16, 2022

The issue could be due to filter.xml

Arun Patidar
arunpatidar
arunpatidarAccepted solution
New Participant
April 12, 2022