1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
<modelVersion>4.0.0</modelVersion>
4
<groupId>org.codehaus.mojo</groupId>
5
<artifactId>build-helper-maven-plugin-regex-nomatch-it</artifactId>
6
<version>1-SNAPSHOT</version>
7
<packaging>jar</packaging>
9
<name>Regex NoMatch</name>
11
Tests that failOfNoMatch will fail if no match
17
<directory>src/main/resources</directory>
19
<exclude>test.properties</exclude>
21
<filtering>false</filtering>
24
<directory>src/main/resources</directory>
26
<include>test.properties</include>
28
<filtering>true</filtering>
33
<groupId>@project.groupId@</groupId>
34
<artifactId>@project.artifactId@</artifactId>
35
<version>@project.version@</version>
39
<goal>regex-property</goal>
42
<name>build.version</name>
43
<value>${project.version}</value>
44
<regex>NOT HERE</regex>
45
<replacement>Substitute</replacement>
46
<failIfNoMatch>true</failIfNoMatch>
b'\\ No newline at end of file'