You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/03/14 20:45:39 UTC

svn commit: r637226 - in /maven/plugin-testing/trunk: maven-plugin-testing-harness/src/site/fml/faq.fml maven-plugin-testing-tools/pom.xml

Author: bentmann
Date: Fri Mar 14 12:45:37 2008
New Revision: 637226

URL: http://svn.apache.org/viewvc?rev=637226&view=rev
Log:
o Added svn:eol-style=native

Modified:
    maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml   (contents, props changed)
    maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml   (contents, props changed)

Modified: maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml?rev=637226&r1=637225&r2=637226&view=diff
==============================================================================
--- maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml (original)
+++ maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml Fri Mar 14 12:45:37 2008
@@ -1,59 +1,59 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License.  You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied.  See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<faqs id="FAQ" title="Frequently Asked Questions">
-  <part id="General">
-    <faq id="What is a Mojo Testing Harness">
-      <question>What is a Mojo Testing Harness?</question>
-      <answer>
-        <p>
-          A unit test attempts to verify a mojo as an isolated unit, by mocking out the rest of the Maven environment.
-          A mojo unit test does not attempt to run your plugin in the context of a real Maven build.
-          Unit tests are designed to be fast.
-        </p>
-        <p>
-          This testing library is <b>NOT</b> designed for integration or functional testing.
-        </p>
-      </answer>
-    </faq>
-    <faq id="What kinds of unit tests are supported">
-      <question>What kind of unit tests are supported?</question>
-      <answer>
-        <p>
-          <dl>
-            <dt>TestCase from JUnit</dt>
-            <dd>You could use the <a href="http://junit.org/">JUnit framework</a> to test your plugin in
-              the same way you'd write any other JUnit test cases, i.e. by writing a test class which extends
-              <i>TestCase</i>.</dd>
-            <dt>TestCase from Plexus</dt>
-            <dd>Mojos are written to take specific advantage of the <a href="http://plexus.codehaus.org/">Plexus</a>
-              container. If you need Plexus container services, you could write your class which extends <i>PlexusTestCase</i>,
-              instead of <i>TestCase</i>.</dd>
-            <dt>TestCase from Testing Harness</dt>
-            <dd>If you need to inject Maven objects into your mojo, you could use the <i>maven-plugin-testing-harness</i>.
-              The <i>maven-plugin-testing-harness</i> is explicitly intended to test the
-              <i>org.apache.maven.reporting.AbstractMavenReport#execute()</i> implementation.</dd>
-          </dl>
-        </p>
-      </answer>
-    </faq>
-  </part>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<faqs id="FAQ" title="Frequently Asked Questions">
+  <part id="General">
+    <faq id="What is a Mojo Testing Harness">
+      <question>What is a Mojo Testing Harness?</question>
+      <answer>
+        <p>
+          A unit test attempts to verify a mojo as an isolated unit, by mocking out the rest of the Maven environment.
+          A mojo unit test does not attempt to run your plugin in the context of a real Maven build.
+          Unit tests are designed to be fast.
+        </p>
+        <p>
+          This testing library is <b>NOT</b> designed for integration or functional testing.
+        </p>
+      </answer>
+    </faq>
+    <faq id="What kinds of unit tests are supported">
+      <question>What kind of unit tests are supported?</question>
+      <answer>
+        <p>
+          <dl>
+            <dt>TestCase from JUnit</dt>
+            <dd>You could use the <a href="http://junit.org/">JUnit framework</a> to test your plugin in
+              the same way you'd write any other JUnit test cases, i.e. by writing a test class which extends
+              <i>TestCase</i>.</dd>
+            <dt>TestCase from Plexus</dt>
+            <dd>Mojos are written to take specific advantage of the <a href="http://plexus.codehaus.org/">Plexus</a>
+              container. If you need Plexus container services, you could write your class which extends <i>PlexusTestCase</i>,
+              instead of <i>TestCase</i>.</dd>
+            <dt>TestCase from Testing Harness</dt>
+            <dd>If you need to inject Maven objects into your mojo, you could use the <i>maven-plugin-testing-harness</i>.
+              The <i>maven-plugin-testing-harness</i> is explicitly intended to test the
+              <i>org.apache.maven.reporting.AbstractMavenReport#execute()</i> implementation.</dd>
+          </dl>
+        </p>
+      </answer>
+    </faq>
+  </part>
 </faqs>

Propchange: maven/plugin-testing/trunk/maven-plugin-testing-harness/src/site/fml/faq.fml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml?rev=637226&r1=637225&r2=637226&view=diff
==============================================================================
--- maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml (original)
+++ maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml Fri Mar 14 12:45:37 2008
@@ -1,112 +1,112 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-  http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<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/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.maven.plugin-testing</groupId>
-    <artifactId>maven-plugin-testing</artifactId>
-    <version>1.2-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>maven-plugin-testing-tools</artifactId>
-  <name>Maven Plugin Testing Tools</name>
-
-  <dependencies>
-    <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-container-default</artifactId>
-      <version>1.0-alpha-9-stable-1</version>
-    </dependency>
-    <dependency>
-      <groupId>org.codehaus.plexus</groupId>
-      <artifactId>plexus-utils</artifactId>
-      <version>1.4.2</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-settings</artifactId>
-      <version>2.0.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-artifact</artifactId>
-      <version>2.0.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-project</artifactId>
-      <version>2.0.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven</groupId>
-      <artifactId>maven-model</artifactId>
-      <version>2.0.4</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven.shared</groupId>
-      <artifactId>maven-invoker</artifactId>
-      <version>2.0.7</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.maven.shared</groupId>
-      <artifactId>maven-test-tools</artifactId>
-      <version>1.0-alpha-2</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <version>2.3</version>
-        <configuration>
-          <systemProperties>
-            <property>
-              <name>maven.home</name>
-              <value>${maven.home}</value>
-            </property>
-          </systemProperties>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.plexus</groupId>
-        <artifactId>plexus-maven-plugin</artifactId>
-        <version>1.3</version>
-        <executions>
-          <execution>
-            <id>create-component-descriptor</id>
-            <goals>
-              <goal>descriptor</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
-  <scm>
-    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugin-testing/trunk/maven-plugin-testing-tools</connection>
-    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugin-testing/trunk/maven-plugin-testing-tools</developerConnection>
-    <url>http://svn.apache.org/viewcvs.cgi/maven/plugin-testing/trunk/maven-plugin-testing-tools</url>
-  </scm>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.maven.plugin-testing</groupId>
+    <artifactId>maven-plugin-testing</artifactId>
+    <version>1.2-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>maven-plugin-testing-tools</artifactId>
+  <name>Maven Plugin Testing Tools</name>
+
+  <dependencies>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-container-default</artifactId>
+      <version>1.0-alpha-9-stable-1</version>
+    </dependency>
+    <dependency>
+      <groupId>org.codehaus.plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.4.2</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-settings</artifactId>
+      <version>2.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-artifact</artifactId>
+      <version>2.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-project</artifactId>
+      <version>2.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven</groupId>
+      <artifactId>maven-model</artifactId>
+      <version>2.0.4</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-invoker</artifactId>
+      <version>2.0.7</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.maven.shared</groupId>
+      <artifactId>maven-test-tools</artifactId>
+      <version>1.0-alpha-2</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <systemProperties>
+            <property>
+              <name>maven.home</name>
+              <value>${maven.home}</value>
+            </property>
+          </systemProperties>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.plexus</groupId>
+        <artifactId>plexus-maven-plugin</artifactId>
+        <version>1.3</version>
+        <executions>
+          <execution>
+            <id>create-component-descriptor</id>
+            <goals>
+              <goal>descriptor</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugin-testing/trunk/maven-plugin-testing-tools</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugin-testing/trunk/maven-plugin-testing-tools</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/plugin-testing/trunk/maven-plugin-testing-tools</url>
+  </scm>
+</project>

Propchange: maven/plugin-testing/trunk/maven-plugin-testing-tools/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native