Author: dennisl Date: Sat Jul 29 14:17:59 2006 New Revision: 426840 URL: http://svn.apache.org/viewvc?rev=426840&view=rev Log: o Set EOL style to native.
Modified: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt (contents, props changed) maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml (contents, props changed) Modified: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml Sat Jul 29 14:17:59 2006 @@ -1,33 +1,33 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<project> - <modelVersion>4.0.0</modelVersion> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-verifier-plugin-sample-simple</artifactId> - <packaging>jar</packaging> - <name>Maven Verifier Plugin Simple Sample</name> - <description>Maven Verifier Plugin Simple Sample</description> - <version>1.0-SNAPSHOT</version> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-verifier-plugin</artifactId> - <configuration> - - <failOnError>true</failOnError> - <verificationFile>${basedir}/src/test/verifier/verifications-test.xml</verificationFile> - - </configuration> - <executions> - <execution> - <id>main</id> - <phase>verify</phase> - <goals> - <goal>verify</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> -</project> +<?xml version="1.0" encoding="ISO-8859-1"?> +<project> + <modelVersion>4.0.0</modelVersion> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-verifier-plugin-sample-simple</artifactId> + <packaging>jar</packaging> + <name>Maven Verifier Plugin Simple Sample</name> + <description>Maven Verifier Plugin Simple Sample</description> + <version>1.0-SNAPSHOT</version> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-verifier-plugin</artifactId> + <configuration> + + <failOnError>true</failOnError> + <verificationFile>${basedir}/src/test/verifier/verifications-test.xml</verificationFile> + + </configuration> + <executions> + <execution> + <id>main</id> + <phase>verify</phase> + <goals> + <goal>verify</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> Propchange: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt Sat Jul 29 14:17:59 2006 @@ -1 +1 @@ -This one is quite empty. +This one is quite empty. Propchange: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file1.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt Sat Jul 29 14:17:59 2006 @@ -1 +1 @@ -Lots of stuff here.... aaaabbbb that's all!! +Lots of stuff here.... aaaabbbb that's all!! Propchange: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/main/resources/file2.txt ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml Sat Jul 29 14:17:59 2006 @@ -1,16 +1,16 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<verifications> - <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> +<?xml version="1.0" encoding="ISO-8859-1"?> +<verifications> + <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> Propchange: maven/plugins/trunk/maven-verifier-plugin/src/it/simple/src/test/verifier/verifications-test.xml ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo Sat Jul 29 14:17:59 2006 @@ -1,65 +1,65 @@ -<model> - <id>verifications</id> - <name>Verifications</name> - <description><![CDATA[ - Project-specific configuration file for the Verifier plugin. It contains - definition of expected files and directories to be checked for after an - integration test has run. It can also check for file content against - regexps.]]></description> - <defaults> - <default> - <key>package</key> - <value>org.apache.maven.plugin.verifier.model</value> - </default> - </defaults> - <classes> - <class rootElement="true" xml.tagName="verifications"> - <name>Verifications</name> - <version>1.0.0</version> - <description>Root element of the project verification file.</description> - <fields> - <field> - <name>files</name> - <version>1.0.0</version> - <description><![CDATA[ - List of files and directories to check for. - ]]></description> - <association> - <type>File</type> - <multiplicity>*</multiplicity> - </association> - </field> - </fields> - </class> - <class> - <name>File</name> - <version>1.0.0</version> - <fields> - <field> - <name>location</name> - <version>1.0.0</version> - <required>true</required> - <description><![CDATA[Location of the file or directory to check.]]></description> - <type>String</type> - </field> - <field> - <name>contains</name> - <version>1.0.0</version> - <description><![CDATA[Check the content against this regexp.]]></description> - <required>false</required> - <type>String</type> - </field> - <field> - <name>exists</name> - <version>1.0.0</version> - <description><![CDATA[ - If true checks for file or directory existence, otherwise checks that the - file or directory doesn't exist. - ]]></description> - <defaultValue>true</defaultValue> - <type>boolean</type> - </field> - </fields> - </class> - </classes> +<model> + <id>verifications</id> + <name>Verifications</name> + <description><![CDATA[ + Project-specific configuration file for the Verifier plugin. It contains + definition of expected files and directories to be checked for after an + integration test has run. It can also check for file content against + regexps.]]></description> + <defaults> + <default> + <key>package</key> + <value>org.apache.maven.plugin.verifier.model</value> + </default> + </defaults> + <classes> + <class rootElement="true" xml.tagName="verifications"> + <name>Verifications</name> + <version>1.0.0</version> + <description>Root element of the project verification file.</description> + <fields> + <field> + <name>files</name> + <version>1.0.0</version> + <description><![CDATA[ + List of files and directories to check for. + ]]></description> + <association> + <type>File</type> + <multiplicity>*</multiplicity> + </association> + </field> + </fields> + </class> + <class> + <name>File</name> + <version>1.0.0</version> + <fields> + <field> + <name>location</name> + <version>1.0.0</version> + <required>true</required> + <description><![CDATA[Location of the file or directory to check.]]></description> + <type>String</type> + </field> + <field> + <name>contains</name> + <version>1.0.0</version> + <description><![CDATA[Check the content against this regexp.]]></description> + <required>false</required> + <type>String</type> + </field> + <field> + <name>exists</name> + <version>1.0.0</version> + <description><![CDATA[ + If true checks for file or directory existence, otherwise checks that the + file or directory doesn't exist. + ]]></description> + <defaultValue>true</defaultValue> + <type>boolean</type> + </field> + </fields> + </class> + </classes> </model> Propchange: maven/plugins/trunk/maven-verifier-plugin/src/main/mdo/verifications.mdo ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt Sat Jul 29 14:17:59 2006 @@ -1,35 +1,35 @@ - ------ - Maven 2 Verifier Plugin: Simple example - ------ - Denis Cabasson - ------ - 20 july 2006 - ------ - -Sample verifications.xml file - -+-------- -<verifications> - <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 match the regexp <aaaabbbb>. - - * checks that the file <<<src/main/resources/file3.txt>>> is <<not>> present. + ------ + Maven 2 Verifier Plugin: Simple example + ------ + Denis Cabasson + ------ + 20 july 2006 + ------ + +Sample verifications.xml file + ++-------- +<verifications> + <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 match the regexp <aaaabbbb>. + + * checks that the file <<<src/main/resources/file3.txt>>> is <<not>> present. Propchange: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/examples/simple.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt Sat Jul 29 14:17:59 2006 @@ -1,29 +1,29 @@ - ------ - Introduction - ------ - Denis Cabasson - ------ - 20 july 2006 - ------ - - -Maven Verifier Plugin - - Useful for integration tests - verifies the existence of certain conditions. - -* Goals Overview - - General Information about the goals. - - * {{{goal.html}verifier:verify}} Verifies existence or non-existence of files/directories and optionally checks file content against a regexp. - -* Usage - - Instructions on how to use the Plugin Name can be found {{{usage.html}here}}. - -* Examples - - To provide you with better understanding on some usages of the Plugin Name, - you can take a look into the following examples: - - * {{{examples/simple.html}Simple Project}} + ------ + Introduction + ------ + Denis Cabasson + ------ + 20 july 2006 + ------ + + +Maven Verifier Plugin + + Useful for integration tests - verifies the existence of certain conditions. + +* Goals Overview + + General Information about the goals. + + * {{{goal.html}verifier:verify}} Verifies existence or non-existence of files/directories and optionally checks file content against a regexp. + +* Usage + + Instructions on how to use the Plugin Name can be found {{{usage.html}here}}. + +* Examples + + To provide you with better understanding on some usages of the Plugin Name, + you can take a look into the following examples: + + * {{{examples/simple.html}Simple Project}} Propchange: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/index.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt Sat Jul 29 14:17:59 2006 @@ -1,43 +1,43 @@ - ------ - Maven 2 Verifier Plugin: using - ------ - Denis Cabasson - ------ - 20 july 2006 - ------ - -Verifying some file system resources during you build - - Add the Verifier plugin in your <<<pom.xml>>> under the <<<build>>> section: - -+-------- -<project> - [...] - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-verifier-plugin</artifactId> - <configuration> - <failOnError>true</failOnError> - <verificationFile>${basedir}/src/test/verifier/verifications-test.xml</verificationFile> - </configuration> - <executions> - <execution> - <id>main</id> - <phase>verify</phase> - <goals> - <goal>verify</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> -[...] -+--------- - - The <<<maven-verifier-plugin>>> will break your build if the files designated in - the verificationFile cannot be found. - - For a sample verification file, see {{{examples/simple.html}Simple Exemple}}. + ------ + Maven 2 Verifier Plugin: using + ------ + Denis Cabasson + ------ + 20 july 2006 + ------ + +Verifying some file system resources during you build + + Add the Verifier plugin in your <<<pom.xml>>> under the <<<build>>> section: + ++-------- +<project> + [...] + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-verifier-plugin</artifactId> + <configuration> + <failOnError>true</failOnError> + <verificationFile>${basedir}/src/test/verifier/verifications-test.xml</verificationFile> + </configuration> + <executions> + <execution> + <id>main</id> + <phase>verify</phase> + <goals> + <goal>verify</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> +[...] ++--------- + + The <<<maven-verifier-plugin>>> will break your build if the files designated in + the verificationFile cannot be found. + + For a sample verification file, see {{{examples/simple.html}Simple Exemple}}. Propchange: maven/plugins/trunk/maven-verifier-plugin/src/site/apt/usage.apt ------------------------------------------------------------------------------ svn:eol-style = native Modified: maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml?rev=426840&r1=426839&r2=426840&view=diff ============================================================================== --- maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml (original) +++ maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml Sat Jul 29 14:17:59 2006 @@ -1,20 +1,20 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> - -<body> - <links> - <item name="Maven" href="http://maven.apache.org/maven2/"/> - </links> - - <menu name="Overview"> - <item name="Introduction" href="index.html"/> - <item name="Goals" href="plugin-info.html"/> - <item name="Usage" href="usage.html"/> - </menu> - - <menu name="Examples"> - <item name="Simple" href="examples/simple.html"/> - </menu> - - ${reports} - -</body> +<?xml version="1.0" encoding="ISO-8859-1"?> + +<body> + <links> + <item name="Maven" href="http://maven.apache.org/maven2/"/> + </links> + + <menu name="Overview"> + <item name="Introduction" href="index.html"/> + <item name="Goals" href="plugin-info.html"/> + <item name="Usage" href="usage.html"/> + </menu> + + <menu name="Examples"> + <item name="Simple" href="examples/simple.html"/> + </menu> + + ${reports} + +</body> Propchange: maven/plugins/trunk/maven-verifier-plugin/src/site/site.xml ------------------------------------------------------------------------------ svn:eol-style = native