94 lines
2.8 KiB
XML
94 lines
2.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 disables the WAR packaging if packaging is 'war'. -->
|
|
<plugin>
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
<version>3.0.0</version> <!-- Need v3+ -->
|
|
<configuration>
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
|
<skip>true</skip>
|
|
</configuration>
|
|
</plugin>
|
|
<!-- This plugin overrides the default install and uses the built WAR from the dependent tile. -->
|
|
<plugin>
|
|
<artifactId>maven-install-plugin</artifactId>
|
|
<version>3.0.0-M1</version>
|
|
<configuration>
|
|
<!-- do not install the normal WAR -->
|
|
<skip>true</skip>
|
|
</configuration>
|
|
<executions>
|
|
<!-- install the AMPified WAR -->
|
|
<execution>
|
|
<id>install-alt-file</id>
|
|
<phase>install</phase>
|
|
<goals><goal>install-file</goal></goals>
|
|
<configuration>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>${project.artifactId}</artifactId>
|
|
<version>${project.version}</version>
|
|
<packaging>war</packaging>
|
|
<file>${project.build.warFile}</file>
|
|
<skip>false</skip>
|
|
</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>
|
|
<!-- configuring beedk-acs-webapp-artifact-tile -->
|
|
<alfresco.war.version>${alfresco.platform.version}</alfresco.war.version>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<tiles>
|
|
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-acs-webapp-artifact-build-tile -->
|
|
<tile>@project.groupId@:beedk-acs-webapp-artifact-build-tile:@project.version@</tile>
|
|
</tiles>
|
|
|
|
</project>
|