Files
ootbee-beedk/beedk-acs-share-webapp-tile/tile.xml

65 lines
2.0 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>
<skip>true</skip>
</configuration>
<executions>
<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>
<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.artifactId>share</alfresco.war.artifactId>
<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>