124 lines
4.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <https://www.gnu.org/licenses/>.
*
-->
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://git.inteligr8.com/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
<build>
<plugins>
<!-- This plugin downloads the Platform JAR-based extension modules and runtime/test dependencies -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<executions>
<!-- This execution downloads the dependency JARs, including JAR modules -->
<execution>
<id>download-platform-jars</id>
<phase>pre-integration-test</phase>
<goals><goal>copy-dependencies</goal></goals>
<configuration>
<excludeScope>provided</excludeScope>
<includeTypes>jar</includeTypes>
<outputDirectory>${beedk.deploy.platform.extDirectory}</outputDirectory>
</configuration>
</execution>
<!-- This execution downloads the postgreSQL JDBC JAR -->
<execution>
<id>download-platform-jdbc</id>
<phase>pre-integration-test</phase>
<goals><goal>copy</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>${postgres.jdbc.version}</version>
</artifactItem>
</artifactItems>
<outputDirectory>${beedk.deploy.platform.extDirectory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- This translates 'edition' into a functional property -->
<profile>
<id>acs-community</id>
<activation>
<property>
<name>edition</name>
<value>!enterprise</value>
</property>
</activation>
<properties>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.artifactId>content-services-community</alfresco.war.artifactId>
</properties>
</profile>
<!-- This translates 'edition' into a functional property -->
<profile>
<id>acs-enterprise</id>
<activation>
<property>
<name>edition</name>
<value>enterprise</value>
</property>
</activation>
<properties>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.artifactId>content-services</alfresco.war.artifactId>
</properties>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- configurable -->
<project.build.extDirectory>${project.build.directory}/ext/platform</project.build.extDirectory>
<!-- versions -->
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
<!-- configuring beedk-acs-platform-it-tile -->
<beedk.deploy.platform.warFile>${project.build.warFile}</beedk.deploy.platform.warFile>
<beedk.deploy.platform.classesDirectory>${project.build.outputDirectory}</beedk.deploy.platform.classesDirectory>
<beedk.deploy.platform.testClassesDirectory>${project.build.testOutputDirectory}</beedk.deploy.platform.testClassesDirectory>
<beedk.deploy.platform.extDirectory>${project.build.extDirectory}</beedk.deploy.platform.extDirectory>
<!-- configuring beedk-acs-webapp-artifact-tile -->
<alfresco.war.version>${alfresco.platform.war.version}</alfresco.war.version>
</properties>
</profile>
</profiles>
<tiles>
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-platform-it-tile -->
<tile>@project.groupId@:beedk-acs-platform-it-tile:@project.version@</tile>
<!-- Documentation: https://git.inteligr8.com/inteligr8/ootbee-beedk/src/branch/stable/beedk-acs-webapp-artifact-it-tile -->
<tile>@project.groupId@:beedk-acs-webapp-artifact-it-tile:@project.version@</tile>
</tiles>
</project>