134 lines
4.5 KiB
XML
134 lines
4.5 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://git.inteligr8.com/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- This plugin serializes the compile/runtime AMP and JAR dependencies into a classpath string -->
|
|
<plugin>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-amp-notest-classpath</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>build-classpath</goal></goals>
|
|
<configuration>
|
|
<includeScope>runtime</includeScope>
|
|
<includeTypes>amp</includeTypes>
|
|
<outputProperty>beedk.amp.notest.classpath</outputProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-jar-notest-classpath</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>build-classpath</goal></goals>
|
|
<configuration>
|
|
<includeScope>runtime</includeScope>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputProperty>beedk.jar.notest.classpath</outputProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-amp-test-classpath</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>build-classpath</goal></goals>
|
|
<configuration>
|
|
<excludeScope>provided</excludeScope>
|
|
<includeTypes>amp</includeTypes>
|
|
<outputProperty>beedk.amp.test.classpath</outputProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>generate-jar-test-classpath</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>build-classpath</goal></goals>
|
|
<configuration>
|
|
<excludeScope>provided</excludeScope>
|
|
<includeTypes>jar</includeTypes>
|
|
<outputProperty>beedk.jar.test.classpath</outputProperty>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<!-- This plugin translates the AMP and JAR classpath into a boolean property -->
|
|
<plugin>
|
|
<groupId>com.inteligr8</groupId>
|
|
<artifactId>regex-maven-plugin</artifactId>
|
|
<version>1.0.5</version>
|
|
<executions>
|
|
<execution>
|
|
<id>string-2-boolean-1</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>match-property</goal></goals>
|
|
<configuration>
|
|
<property>beedk.amp.notest.classpath</property>
|
|
<patterns>
|
|
<pattern>.+</pattern>
|
|
</patterns>
|
|
<negate>true</negate>
|
|
<newProperty>beedk.amp.notest.empty</newProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>string-2-boolean-2</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>match-property</goal></goals>
|
|
<configuration>
|
|
<property>beedk.jar.notest.classpath</property>
|
|
<patterns>
|
|
<pattern>.+</pattern>
|
|
</patterns>
|
|
<negate>true</negate>
|
|
<newProperty>beedk.jar.notest.empty</newProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>string-2-boolean-3</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>match-property</goal></goals>
|
|
<configuration>
|
|
<property>beedk.amp.test.classpath</property>
|
|
<patterns>
|
|
<pattern>.+</pattern>
|
|
</patterns>
|
|
<negate>true</negate>
|
|
<newProperty>beedk.amp.test.empty</newProperty>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>string-2-boolean-4</id>
|
|
<phase>initialize</phase>
|
|
<goals><goal>match-property</goal></goals>
|
|
<configuration>
|
|
<property>beedk.jar.test.classpath</property>
|
|
<patterns>
|
|
<pattern>.+</pattern>
|
|
</patterns>
|
|
<negate>true</negate>
|
|
<newProperty>beedk.jar.test.empty</newProperty>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|