geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r476953 - in /geronimo/server/trunk/maven-plugins: ./ testsuite-archetype-plugin/ testsuite-archetype-plugin/src/ testsuite-archetype-plugin/src/main/ testsuite-archetype-plugin/src/main/resources/ testsuite-archetype-plugin/src/main/resour...
Date Sun, 19 Nov 2006 22:26:50 GMT
Author: prasad
Date: Sun Nov 19 14:26:49 2006
New Revision: 476953

URL: http://svn.apache.org/viewvc?view=rev&rev=476953
Log:
*introducing testsuite-archetype-plugin to help with the creation of testsuite archetypes(templates)

Added:
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml   (with props)
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
  (with props)
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
  (with props)
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
  (with props)
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
  (with props)
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/
    geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
  (with props)
Modified:
    geronimo/server/trunk/maven-plugins/pom.xml

Modified: geronimo/server/trunk/maven-plugins/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/pom.xml?view=diff&rev=476953&r1=476952&r2=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/pom.xml (original)
+++ geronimo/server/trunk/maven-plugins/pom.xml Sun Nov 19 14:26:49 2006
@@ -70,6 +70,8 @@
         <module>car-maven-plugin</module>
         <module>geronimo-maven-plugin</module>
         <module>selenium-maven-plugin</module>
+        <module>testsuite-maven-plugin</module>
+        <module>testsuite-archetype-plugin</module>
     </modules>
     
     <reporting>

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml (added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml Sun Nov 19 14:26:49
2006
@@ -0,0 +1,42 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.geronimo.plugins</groupId>
+        <artifactId>maven-plugins</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>geronimo-archetype-testsuite</artifactId>
+    <name>Geronimo Maven2 Plugins :: Testsuite Archetype</name>
+    <packaging>maven-plugin</packaging>
+    
+    <description> Plugin to help create a testsuite</description>
+
+</project>
+

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
(added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
Sun Nov 19 14:26:49 2006
@@ -0,0 +1,33 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+
+<archetype>
+    <id>testsuite</id>
+    <siteResources>
+        <resource>src/site/site.xml</resource>
+    </siteResources>
+    <resources>
+        <resource>testset-1/pom.xml</resource>
+        <resource>testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java</resource>
+    </resources>
+</archetype>

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/META-INF/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
(added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
Sun Nov 19 14:26:49 2006
@@ -0,0 +1,122 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<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.geronimo.testsuite</groupId>
+        <artifactId>testsuite</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    
+    <artifactId>${artifactId}</artifactId>
+    <name>Geronimo TestSuite, ${artifactId}</name>
+    <packaging>pom</packaging>
+    
+    <description>
+        Geronimo ${artifactId} testsuite created from an archetype.
+    </description>
+    
+    <dependencies>
+
+        <!--  The following dependencies are needed to start selenium server used for
testing with a browser. -->
+        <!-- Uncomment the dependencies if you need browser testing. -->
+        <!--
+          <dependency>
+              <groupId>org.openqa.selenium.client-drivers</groupId>
+              <artifactId>selenium-java-client-driver</artifactId>
+          </dependency>
+  
+          <dependency>
+              <groupId>org.openqa.selenium.server</groupId>
+              <artifactId>selenium-server</artifactId>
+          </dependency>
+          -->
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <!-- The following goal is needed to roll up the results of the surefire tests
from this project to the surefire-reports directory in it's parent -->
+            <plugin>
+                <groupId>org.apache.geronimo.plugins</groupId>
+                <artifactId>testsuite-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-surefire-xml</id>
+                        <phase>post-integration-test</phase>
+                        <goals>
+                            <goal>generate-surefire-xml</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+
+            <build>
+                <plugins>
+
+                    <!--  The following plugin starts selenium server used for testing
with a browser. -->
+                    <!-- Uncomment the plugin if you need it. -->
+                    <!--
+                      <plugin>
+                          <groupId>org.apache.geronimo.plugins</groupId>
+                          <artifactId>selenium-maven-plugin</artifactId>
+                      </plugin>
+                      -->
+
+                    <!-- The following plugin starts and stop Geronimo server in the pre-integration-test
and post-integration-test phase respectively -->
+                    <plugin>
+                        <groupId>org.apache.geronimo.plugins</groupId>
+                        <artifactId>geronimo-maven-plugin</artifactId>
+                    </plugin>
+
+                    <!-- The following plugin invokes */pom.xml in the integration-test
phase. -->
+                    <!-- Tests in junit or testng are executed in this phase by the projects
defined by */pom.xml -->
+                    <plugin>
+                        <groupId>org.apache.geronimo.genesis.plugins</groupId>
+                        <artifactId>maven-maven-plugin</artifactId>
+                    </plugin>
+
+                </plugins>
+            </build>
+        </profile>
+
+        <profile>
+            <!-- */pom.xml execute in a child profile to prevent them from inheriting
parent's executions. -->
+            <id>child</id>
+        </profile>
+
+    </profiles>
+
+</project>

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
(added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
Sun Nov 19 14:26:49 2006
@@ -0,0 +1,48 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project name="${project.name}">
+    
+
+    <body>
+
+        ${parentProject}
+
+        <links>
+            <item name="Apache" href="http://www.apache.org/" />
+            <item name="Geronimo" href="http://geronimo.apache.org/"/>
+            <item name="JIRA" href="http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10220"/>
+        </links>
+        
+
+        <menu name="Test Links">
+            <item name="Surefire Test Report" href="surefire-report.html"/>
+        </menu>
+
+        ${modules}
+        
+        ${reports}
+        
+
+    </body>
+
+</project>

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/src/site/site.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
(added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
Sun Nov 19 14:26:49 2006
@@ -0,0 +1,49 @@
+<?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.
+-->
+<!-- $Rev$ $Date$ -->
+<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.geronimo.testsuite</groupId>
+        <artifactId>${artifactId}</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>testset-1</artifactId>
+    <name>Geronimo TestSuite, ${artifactId} :: Test Set 1</name>
+    <packaging>jar</packaging>
+
+    <description>This project executes testcases for your testsuite</description>
+
+    <!-- plugin executions for this project should be within the 'child' profile.-->
+    <!-- uncomment the following profile for plugin executions -->
+    <!--
+    <profiles>
+      <profile>
+        <id>child</id>
+      </profile>
+    </profiles>
+    -->
+
+</project>
+

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java?view=auto&rev=476953
==============================================================================
--- geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
(added)
+++ geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
Sun Nov 19 14:26:49 2006
@@ -0,0 +1,30 @@
+/**
+ *  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.
+ */
+
+package org.apache.geronimo.testsuite.testset;
+
+/**
+ * ???
+ *
+ * @version $Rev$ $Date$
+ */
+public class AppTest
+{
+
+}

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/maven-plugins/testsuite-archetype-plugin/src/main/resources/archetype-resources/testset-1/src/test/java/org/apache/geronimo/testsuite/testset/AppTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message