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

79 lines
2.8 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://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
<build>
<plugins>
<!-- This plugin downloads the parameterized WAR -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.6.1</version>
<executions>
<!-- This execution downloads the parameterized WAR -->
<execution>
<id>download-webapp</id>
<phase>${beedk.download.war.phase}</phase>
<goals><goal>copy</goal></goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>${alfresco.war.groupId}</groupId>
<artifactId>${alfresco.war.artifactId}</artifactId>
<version>${alfresco.war.version}</version>
<type>war</type>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.warDirectory}</outputDirectory>
<skip>${beedk.download.war.skip}</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<!-- This profile is always active; it defines default values for all optional properties -->
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- configurable -->
<alfresco.war.groupId>org.alfresco</alfresco.war.groupId>
<beedk.download.war.skip>true</beedk.download.war.skip>
<beedk.download.war.phase>prepare-package</beedk.download.war.phase>
<project.build.warDirectory>${project.build.directory}/war</project.build.warDirectory>
<!-- results -->
<project.build.warFile>${project.build.warDirectory}/${alfresco.war.artifactId}-${alfresco.war.version}.war</project.build.warFile>
</properties>
</profile>
</profiles>
<tiles>
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-amp-check-tile -->
<tile>@project.groupId@:beedk-amp-check-tile:@project.version@</tile>
</tiles>
</project>