Views
Replies
Total Likes
Hi @SYED1111 ,
Looks like you are trying to install jar file as a zip.
Please check below in your POM file
<artifactId>name.of.your.package.core</artifactId> <packaging>bundle</packaging> <name>Name - Core</name> <description>Core bundle for Name</description>
Packaging should be defined as "bundle"
Hi @SYED1111 ,
I am not sure how your POM file is structured, but please make sure you have below important bits configured properly
<modules>
<module>core</module>
<module>ui.apps</module>
</modules>
<repositories>
<repository>
<id>adobe-public-releases</id>
<name>Adobe Basel Public Repository</name>
<url>https://repo.adobe.com/nexus/content/groups/public</url>
</repository>
</repositories>
// This repository will be your project specific repository from where artifacts could be retrieved
<!-- Content Package Plugin -->
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<version>1.0.2</version>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
<failOnError>true</failOnError>
<userId>${vault.user}</userId>
<password>${vault.password}</password>
</configuration>
</plugin>
<profile>
<id>autoInstallPackage</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<executions>
<execution>
<id>create-package</id>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-package</id>
<goals>
<goal>install</goal>
</goals>
<configuration>
<targetURL>http://${aem.host}:${aem.port}/crx/packmgr/service.jsp</targetURL>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
Please also refer to the documentation here:
Thanks,
Chitra
Hey Chitra Thanks For Reply,
After changing version from 1.0.4 to 1.0.2 it showing like below
The config and plugins as it is which you mentioned above
Hi @SYED1111 ,
Looks like you are trying to install jar file as a zip.
Please check below in your POM file
<artifactId>name.of.your.package.core</artifactId> <packaging>bundle</packaging> <name>Name - Core</name> <description>Core bundle for Name</description>
Packaging should be defined as "bundle"
Views
Likes
Replies