blob: 7a3c3284a82cee77033b05bfd41f92134731736a [file] [log] [blame]
------
Sample Verifications
------
Denis Cabasson
------
2010-01-18
------
Sample Verifications
Here is an example of what a <<<verifications.xml>>> file can look like:
+--------
<verifications xmlns="http://maven.apache.org/verifications/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/verifications/1.0.0 http://maven.apache.org/xsd/verifications-1.0.0.xsd">
<files>
<file>
<location>src/main/resources/file1.txt</location>
</file>
<file>
<location>src/main/resources/file2.txt</location>
<contains>aaaabbbb</contains>
</file>
<file>
<location>src/main/resources/file3.txt</location>
<exists>false</exists>
</file>
</files>
</verifications>
+---------
This file:
* checks that the file <<<src/main/resources/file1.txt>>> is present.
* checks that the file <<<src/main/resources/file2.txt>>> is present and matches the regular expression <aaaabbbb>.
* checks that the file <<<src/main/resources/file3.txt>>> is <<not>> present.