Skip to content

Commit

Permalink
updated poms for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
godanny86 committed Jun 9, 2020
1 parent ed922b4 commit e8abf80
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 4 deletions.
4 changes: 2 additions & 2 deletions all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.ui.apps</artifactId>
<target>/apps/wknd-spa-react-vendor-packages/install</target>
<target>/apps/wknd-spa-react-vendor-packages/application/install</target>
</embedded>
</embeddeds>
</configuration>
Expand Down Expand Up @@ -182,7 +182,7 @@
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.ui.apps</artifactId>
<target>/apps/wknd-spa-react-vendor-packages/install</target>
<target>/apps/wknd-spa-react-vendor-packages/application/install</target>
</embedded>
<embedded>
<groupId>com.adobe.cq</groupId>
Expand Down
67 changes: 65 additions & 2 deletions ui.apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
</plugin>
</plugins>
</build>

<!-- ====================================================================== -->
<!-- D E P E N D E N C I E S -->
<!-- ====================================================================== -->
Expand Down Expand Up @@ -211,5 +210,69 @@
</dependency>
</dependencies>


<!-- Additional profile to support AEM 6.x -->
<profiles>
<profile>
<id>classic</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<group>com.adobe.aem.guides</group>
<name>wknd-spa-react.ui.apps</name>
<packageType>application</packageType>
<accessControlHandling>merge</accessControlHandling>
<properties>
<cloudManagerTarget>none</cloudManagerTarget>
</properties>
<repositoryStructurePackages>
<repositoryStructurePackage>
<groupId>com.adobe.aem.guides</groupId>
<artifactId>wknd-spa-react.ui.apps.structure</artifactId>
</repositoryStructurePackage>
</repositoryStructurePackages>
<embeddeds>
<embedded>
<groupId>com.adobe.aem.guides</groupId>
<artifactId>wknd-spa-react.core</artifactId>
<target>/apps/wknd-spa-react/install</target>
</embedded>
<embedded>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.core</artifactId>
<target>/apps/wknd-spa-react/install</target>
</embedded>
<!-- Embed Core Component dependency 6.x -->
<embedded>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.core</artifactId>
<target>/apps/wknd-spa-react/install</target>
</embedded>
</embeddeds>
<dependencies>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.content</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>core.wcm.components.config</artifactId>
</dependency>
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>spa.project.core.ui.apps</artifactId>
</dependency>
</dependencies>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit e8abf80

Please sign in to comment.