cpm-platform-replication-package
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.composum.platform</groupId>
<artifactId>cpm-platform-replication-package</artifactId>
<version>1.1.3</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.composum.platform</groupId>
<artifactId>cpm-platform-replication</artifactId>
<version>1.1.3</version>
</parent>
<artifactId>cpm-platform-replication-package</artifactId>
<packaging>content-package</packaging>
<name>Composum Platform Replication Package</name>
<build>
<resources>
<resource>
<directory>src/main/content/jcr_root</directory>
<excludes>
<exclude>**/.vlt*</exclude>
<exclude>**/.DS_Store</exclude>
<exclude>**/.gitignore</exclude>
<exclude>**/*.scss</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/src/main/content/META-INF</directory>
<targetPath>../vault-work/META-INF</targetPath>
</resource>
<resource>
<directory>target/generated-css/jcr_root</directory>
<excludes>
<exclude>**/*.map</exclude>
<exclude>**/mixins.css</exclude>
<exclude>**/variables.css</exclude>
</excludes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>nl.geodienstencentrum.maven</groupId>
<artifactId>sass-maven-plugin</artifactId>
<executions>
<execution>
<id>generate-css</id>
<phase>generate-resources</phase>
<goals>
<goal>update-stylesheets</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.samaxes.maven</groupId>
<artifactId>minify-maven-plugin</artifactId>
</plugin>
<!-- embed the setup hook -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-bundles</id>
<phase>prepare-package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<overWriteIfNewer>true</overWriteIfNewer>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>cpm-platform-replication-setup</artifactId>
<outputDirectory>${project.build.directory}/vault-work/META-INF/vault/hooks</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
<inherited>false</inherited>
</plugin>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<configuration>
<group>${package.group}</group>
<properties>
<createdBy>${package.company}</createdBy>
</properties>
<filters>
<filter>
<root>/libs/composum/platform/replication</root>
</filter>
<filter>
<root>/libs/composum/platform/install</root>
<includes>
<include>.*/cpm-platform-replication-bundle.*\.jar</include>
<include>.*/org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amended-replicationservices.config</include>
</includes>
</filter>
</filters>
<embeddeds>
<embedded>
<groupId>${project.groupId}</groupId>
<artifactId>cpm-platform-replication-bundle</artifactId>
<target>/libs/composum/platform/install</target>
</embedded>
</embeddeds>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cpm-platform-replication-bundle</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>cpm-platform-replication-setup</artifactId>
<version>${project.version}</version>
</dependency>
<!-- Composum Pages -->
<dependency>
<groupId>com.composum.pages</groupId>
<artifactId>composum-pages-commons-bundle</artifactId>
</dependency>
<!-- Composum Platform -->
<dependency>
<groupId>com.composum.platform</groupId>
<artifactId>composum-platform-models-bundle</artifactId>
</dependency>
<dependency>
<groupId>com.composum.platform</groupId>
<artifactId>composum-platform-commons-bundle</artifactId>
</dependency>
<!-- Composum Core -->
<dependency>
<groupId>com.composum.nodes</groupId>
<artifactId>composum-nodes-commons</artifactId>
</dependency>
<!-- Taglib support -->
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.scripting.jsp.taglib</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
</dependency>
</dependencies>
<profiles>
<profile>
<id>installBundle</id>
</profile>
<profile>
<id>installPackage</id>
<activation>
<property>
<name>deploy.package</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<executions>
<execution>
<id>install-content-package</id>
<phase>install</phase>
<goals>
<goal>install</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>installTestContent</id>
</profile>
</profiles>
</project>