112 lines
3.8 KiB
XML
112 lines
3.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- This plugin downloads the Platform WAR and JDBC JAR dependency -->
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<executions>
|
|
<!-- This execution downloads the Platform WAR -->
|
|
<execution>
|
|
<id>download-platform-webapp</id>
|
|
<phase>package</phase>
|
|
<goals><goal>copy</goal></goals>
|
|
<configuration>
|
|
<skip>${skipTests}</skip>
|
|
<artifactItems>
|
|
<artifactItem>
|
|
<groupId>${alfresco.platform.war.groupId}</groupId>
|
|
<artifactId>${alfresco.platform.war.artifactId}</artifactId>
|
|
<version>${alfresco.platform.war.version}</version>
|
|
<type>war</type>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
<outputDirectory>${project.build.warDirectory}</outputDirectory>
|
|
</configuration>
|
|
</execution>
|
|
<!-- This execution downloads the postgreSQL JDBC JAR -->
|
|
<execution>
|
|
<id>download-platform-jdbc</id>
|
|
<phase>package</phase>
|
|
<goals><goal>copy</goal></goals>
|
|
<configuration>
|
|
<skip>${skipTests}</skip>
|
|
<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 configurable property -->
|
|
<profile>
|
|
<id>acs-community</id>
|
|
<activation>
|
|
<property>
|
|
<name>edition</name>
|
|
<value>!enterprise</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- configurable -->
|
|
<alfresco.platform.war.artifactId>content-services-community</alfresco.platform.war.artifactId>
|
|
</properties>
|
|
</profile>
|
|
<!-- This translates 'edition' into a configurable property -->
|
|
<profile>
|
|
<id>acs-enterprise</id>
|
|
<activation>
|
|
<property>
|
|
<name>edition</name>
|
|
<value>enterprise</value>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- configurable -->
|
|
<alfresco.platform.war.artifactId>content-services</alfresco.platform.war.artifactId>
|
|
</properties>
|
|
</profile>
|
|
<profile>
|
|
<id>default-props</id>
|
|
<activation>
|
|
<property>
|
|
<name>!some-prop-that-never-exists</name>
|
|
</property>
|
|
</activation>
|
|
<properties>
|
|
<!-- configurable -->
|
|
<project.build.warDirectory>${project.build.directory}/war</project.build.warDirectory>
|
|
<project.build.extDirectory>${project.build.directory}/ext/platform</project.build.extDirectory>
|
|
<alfresco.platform.war.groupId>org.alfresco</alfresco.platform.war.groupId>
|
|
<alfresco.platform.war.version>${alfresco.platform.version}</alfresco.platform.war.version>
|
|
|
|
<!-- versions -->
|
|
<postgres.jdbc.version>42.2.18</postgres.jdbc.version>
|
|
|
|
<!-- configuring beedk-acs-platform-it-tile -->
|
|
<beedk.deploy.platform.warFile>${project.build.warDirectory}/${alfresco.platform.war.artifactId}-${alfresco.platform.war.version}.war</beedk.deploy.platform.warFile>
|
|
<beedk.deploy.platform.extDirectory>${project.build.extDirectory}</beedk.deploy.platform.extDirectory>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<tiles>
|
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-platform-it-tile -->
|
|
<tile>@project.groupId@:beedk-acs-platform-it-tile:@project.version@</tile>
|
|
</tiles>
|
|
|
|
</project>
|