You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2005/09/19 16:39:41 UTC

svn commit: r290174 - in /cocoon: blocks/chaperon/trunk/ blocks/databases/trunk/ blocks/forms/trunk/ blocks/jsp/trunk/ blocks/midi/trunk/ blocks/python/trunk/ blocks/scratchpad/trunk/ blocks/template/trunk/ blocks/web3/trunk/ blocks/webdav/trunk/ trunk...

Author: cziegeler
Date: Mon Sep 19 07:39:26 2005
New Revision: 290174

URL: http://svn.apache.org/viewcvs?rev=290174&view=rev
Log:
Create own project for cocoon testing framework and fix dependencies.

Added:
    cocoon/trunk/core/test-core/
    cocoon/trunk/core/test-core/pom.xml   (with props)
Modified:
    cocoon/blocks/chaperon/trunk/pom.xml
    cocoon/blocks/databases/trunk/pom.xml
    cocoon/blocks/forms/trunk/pom.xml
    cocoon/blocks/jsp/trunk/pom.xml
    cocoon/blocks/midi/trunk/pom.xml
    cocoon/blocks/python/trunk/pom.xml
    cocoon/blocks/scratchpad/trunk/pom.xml
    cocoon/blocks/template/trunk/pom.xml
    cocoon/blocks/web3/trunk/pom.xml
    cocoon/blocks/webdav/trunk/pom.xml
    cocoon/trunk/pom.xml

Modified: cocoon/blocks/chaperon/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/chaperon/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/chaperon/trunk/pom.xml (original)
+++ cocoon/blocks/chaperon/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -57,6 +57,12 @@
       <artifactId>castor</artifactId>
       <version>0.9.6-xml</version>
     </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>

Modified: cocoon/blocks/databases/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/databases/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/databases/trunk/pom.xml (original)
+++ cocoon/blocks/databases/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -50,6 +50,7 @@
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-databases-mocks</artifactId>
       <version>2.2-SNAPSHOT</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>excalibur-datasource</groupId>

Modified: cocoon/blocks/forms/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/forms/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/forms/trunk/pom.xml (original)
+++ cocoon/blocks/forms/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -72,6 +72,12 @@
       <artifactId>icu4j</artifactId>
       <version>3.0</version>
     </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>

Modified: cocoon/blocks/jsp/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/jsp/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/jsp/trunk/pom.xml (original)
+++ cocoon/blocks/jsp/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -50,6 +50,7 @@
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-jsp-mocks</artifactId>
       <version>2.2-SNAPSHOT</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>servletapi</groupId>

Modified: cocoon/blocks/midi/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/midi/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/midi/trunk/pom.xml (original)
+++ cocoon/blocks/midi/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -47,6 +47,12 @@
       <artifactId>cocoon-core</artifactId>
       <version>2.2-SNAPSHOT</version>
     </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>

Modified: cocoon/blocks/python/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/python/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/python/trunk/pom.xml (original)
+++ cocoon/blocks/python/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -50,6 +50,7 @@
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-python-mocks</artifactId>
       <version>2.2-SNAPSHOT</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>apache-cocoon</groupId>

Modified: cocoon/blocks/scratchpad/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/scratchpad/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/scratchpad/trunk/pom.xml (original)
+++ cocoon/blocks/scratchpad/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -81,11 +81,18 @@
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-scratchpad-mocks</artifactId>
       <version>2.2-SNAPSHOT</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-scratchpad-garbage</artifactId>
       <version>2.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
     </dependency>
   </dependencies>
   <reporting>

Modified: cocoon/blocks/template/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/template/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/template/trunk/pom.xml (original)
+++ cocoon/blocks/template/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -47,6 +47,12 @@
       <artifactId>cocoon-core</artifactId>
       <version>2.2-SNAPSHOT</version>
     </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>

Modified: cocoon/blocks/web3/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/web3/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/web3/trunk/pom.xml (original)
+++ cocoon/blocks/web3/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -50,6 +50,7 @@
       <groupId>apache-cocoon</groupId>
       <artifactId>cocoon-web3-mocks</artifactId>
       <version>2.2-SNAPSHOT</version>
+      <scope>provided</scope>
     </dependency>
   </dependencies>
   <reporting>

Modified: cocoon/blocks/webdav/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/webdav/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/blocks/webdav/trunk/pom.xml (original)
+++ cocoon/blocks/webdav/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -67,6 +67,12 @@
       <artifactId>commons-transaction</artifactId>
       <version>1.0.1</version>
     </dependency>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-test-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
   <reporting>
     <plugins>

Added: cocoon/trunk/core/test-core/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/test-core/pom.xml?rev=290174&view=auto
==============================================================================
--- cocoon/trunk/core/test-core/pom.xml (added)
+++ cocoon/trunk/core/test-core/pom.xml Mon Sep 19 07:39:26 2005
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005 The Apache Software Foundation
+
+  Licensed 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.
+-->
+<!--+
+    | @version $Id$
+    |
+    +-->
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>apache-cocoon</groupId>
+    <artifactId>cocoon</artifactId>
+    <version>2.2-SNAPSHOT</version>
+  </parent>
+  <artifactId>cocoon-test-core</artifactId>
+  <packaging>jar</packaging>
+  <build>
+    <sourceDirectory>../../src/test</sourceDirectory>
+    <resources>
+      <resource>
+        <directory>.</directory>
+        <excludes>
+          <exclude>**/*.java</exclude>
+        </excludes>
+      </resource>
+    </resources>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>apache-cocoon</groupId>
+      <artifactId>cocoon-core</artifactId>
+      <version>2.2-SNAPSHOT</version>
+    </dependency>
+    <dependency>
+      <groupId>easymock</groupId>
+      <artifactId>easymock</artifactId>
+      <version>1.1</version>
+    </dependency>
+    <dependency>
+      <groupId>jmock</groupId>
+      <artifactId>jmock</artifactId>
+      <version>1.0.1</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+    </dependency>
+    <dependency>
+      <groupId>xmlunit</groupId>
+      <artifactId>xmlunit</artifactId>
+      <version>0.8</version>
+    </dependency>
+  </dependencies>
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </reporting>
+</project>

Propchange: cocoon/trunk/core/test-core/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/core/test-core/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: cocoon/trunk/pom.xml
URL: http://svn.apache.org/viewcvs/cocoon/trunk/pom.xml?rev=290174&r1=290173&r2=290174&view=diff
==============================================================================
--- cocoon/trunk/pom.xml (original)
+++ cocoon/trunk/pom.xml Mon Sep 19 07:39:26 2005
@@ -28,6 +28,7 @@
   <url>http://cocoon.apache.org</url>
   <modules>
     <module>core</module>
+    <module>core/test-core</module>
     <module>webapp</module>
     <module>src/blocks/apples/trunk</module>
     <module>src/blocks/asciiart/trunk</module>