Files
ootbee-beedk/beedk-ate-docker-tile/tile.xml
2021-04-22 15:58:20 -04:00

60 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">
<profiles>
<profile>
<id>scaffold-ate-docker</id>
<activation>
<property>
<name>scaffold</name>
</property>
</activation>
<build>
<plugins>
<!-- This plugin downloads the required configurations for all modules -->
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.6.1</version>
<executions>
<!-- TODO eventually replace these with the archetype versions -->
<execution>
<id>download-dockerfile</id>
<phase>generate-sources</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<url>https://raw.githubusercontent.com/Alfresco/alfresco-transform-core/master/alfresco-transform-misc/alfresco-transform-misc-boot/Dockerfile</url>
<outputDirectory>${basedir}/src/main/docker</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- configuring beedk-ate-it-tile, if applicable -->
<ate.docker.image.name>${docker.image.name}</ate.docker.image.name>
<ate.docker.image.tag>${docker.image.tag}</ate.docker.image.tag>
</properties>
</profile>
</profiles>
<tiles>
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-springboot-docker-base-tile -->
<tile>com.inteligr8.ootbee:beedk-springboot-docker-base-tile:1.0-SNAPSHOT</tile>
</tiles>
</project>