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

Embedding and installing external jar to AEMacs instance

  • April 12, 2022
  • 2 replies
  • 4555 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

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 12, 2022
B_Sravan
Community Advisor
Community Advisor
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
Community Advisor
Community Advisor
May 16, 2022

The issue could be due to filter.xml

Arun Patidar