continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r474381 - in /maven/continuum/trunk/continuum-webapp-test/src/test: it/org/apache/continuum/web/test/ resources/ resources/unit/ resources/unit/maven-one-projects/ resources/unit/maven-two-projects/ resources/unit/maven-two-projects/multi-m...
Date Mon, 13 Nov 2006 16:05:00 GMT
Author: evenisse
Date: Mon Nov 13 08:04:59 2006
New Revision: 474381

URL: http://svn.apache.org/viewvc?view=rev&rev=474381
Log:
[CONTINUUM-977] Add web UI tests for "Add m1 & m2 projects" pages
Submitted by: Maria Odea Ching

Added:
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
  (with props)
    maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
  (with props)

Added: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,156 @@
+package org.apache.continuum.web.test;
+
+/*
+ * Copyright 2006 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.
+ */
+
+import org.codehaus.plexus.util.cli.Commandline;
+import org.codehaus.plexus.util.cli.CommandLineUtils;
+import org.codehaus.plexus.util.cli.CommandLineException;
+import org.codehaus.plexus.util.cli.DefaultConsumer;
+
+import java.io.File;
+
+/**
+ * Class for testing add maven one project UI page.
+ */
+public class AddMavenOneProjectTestCase
+    extends AbstractAuthenticatedAccessTestCase
+{
+    public String getUsername()
+    {
+        return adminUsername;
+    }
+
+    public String getPassword()
+    {
+        return adminPassword;
+    }
+
+    public void setUp()
+        throws Exception
+    {
+        super.setUp();
+        clickLinkWithText( "Maven 1.x Project" );
+    }
+
+    /**
+     * submit the page
+     *
+     * @param m1PomUrl
+     * @param m1PomFile
+     * @param validPom
+     */
+    public void submitAddMavenOneProjectPage( String m1PomUrl, String m1PomFile, boolean
validPom )
+    {
+        getSelenium().type( "m1PomUrl", m1PomUrl );
+        getSelenium().type( "m1PomFile", m1PomFile );
+
+        getSelenium().click( "//input[@type='submit']" );
+        waitPage();
+
+        if( validPom )
+        {
+            assertPage( "Continuum - Group Summary" );
+            assertTextPresent( "Project Groups" );
+            //assertTextPresent( "Default Project Group" );
+        }
+    }
+
+    //TODO: problem with input type="file", selenium.type(..) does not work,
+    // TODO: refer to http://forums.openqa.org/thread.jspa?messageID=1365&#1365 for workaround
+    /**
+     * test with valid pom file
+     */
+   /* public void testValidPomFile()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/valid-maven-project/project.xml");
+        submitAddMavenOneProjectPage( "", pomFile.getAbsolutePath(), false );
+        assertTextPresent( "Maven One Project" );
+    }*/
+
+    /**
+     * test with valid pom url
+     */
+    public void testValidPomUrl()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/valid-project.xml");
+        submitAddMavenOneProjectPage( "file:/" + pomFile.getAbsolutePath(), "", true );
+        assertTextPresent( "Maven One Project" );
+    }
+
+    /**
+     * test with no pom file or pom url specified
+     */
+    public void testNoPomSpecified()
+    {
+        submitAddMavenOneProjectPage( "", "", false );
+        assertTextPresent( "Either POM URL or Upload POM is required." );
+        assertElementPresent( "m1PomUrl" );
+        assertElementPresent( "m1PomFile" );
+    }
+
+    /**
+     * test with missing <repository> element in the pom file
+     */
+    public void testMissingElementInPom()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml");
+        submitAddMavenOneProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Missing repository element in the POM." );
+    }
+
+    
+    /**
+     * test with <extend> element present in pom file
+     */
+    public void testWithExtendElementPom()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/extend-element-project.xml");
+        submitAddMavenOneProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Cannot use a POM with an extend element." );
+    }
+
+    /**
+     * test with unparseable xml content for pom file
+     */
+    public void testUnparseableXmlContent()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/unparseable-content-project.xml");
+        submitAddMavenOneProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "The XML content of the POM can not be parsed." );
+    }
+
+    /**
+     * test with a malformed pom url
+     */
+    public void testMalformedPomUrl()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/valid-project.xml");
+        submitAddMavenOneProjectPage( pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "The URL provided is malformed." );
+    }
+
+    /**
+     * test wiht an inaccessible pom url
+     */
+    public void testInaccessiblePomUrl()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-one-projects/valid-project.xml");
+        submitAddMavenOneProjectPage( "file://" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "The specified host is either unknown or inaccessible." );
+    }
+
+}

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenOneProjectTestCase.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,175 @@
+package org.apache.continuum.web.test;
+
+import java.io.File;
+
+/**
+ * Created by IntelliJ IDEA.
+ * User: deng
+ * Date: Nov 7, 2006
+ * Time: 10:03:06 AM
+ * To change this template use File | Settings | File Templates.
+ */
+public class AddMavenTwoProjectTestCase
+    extends AbstractAuthenticatedAccessTestCase
+{
+    public String getUsername()
+    {
+        return adminUsername;
+    }
+
+    public String getPassword()
+    {
+        return adminPassword;
+    }
+
+    public void setUp()
+        throws Exception
+    {
+        super.setUp();
+        clickLinkWithText( "Maven 2.0.x Project" );
+    }
+
+    /**
+     * submit the page
+     *
+     * @param m2PomUrl
+     * @param m2PomFile
+     * @param validPom
+     */
+    public void submitAddMavenTwoProjectPage( String m2PomUrl, String m2PomFile, boolean
validPom )
+    {
+        getSelenium().type( "m2PomUrl", m2PomUrl );
+        getSelenium().type( "m2PomFile", m2PomFile );
+
+        getSelenium().click( "//input[@type='submit']" );
+        waitPage();
+
+        if( validPom )
+        {
+            assertPage( "Continuum - Group Summary" );
+            assertTextPresent( "Project Groups" );
+            assertTextPresent( "Default Project Group" );
+        }
+    }
+
+    /**
+     * Test multi module projects
+     */
+    public void testMultiModuleProject()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", true);
+        assertTextPresent( "Maven Two Multi-Module Project" );
+        assertTextPresent( "maven.two.multi.module.project" );
+
+        clickLinkWithText( "Maven Two Multi-Module Project" );
+        assertTextPresent( "Summary");
+        assertTextPresent( "Summary");
+        assertTextPresent( "Maven Two Multi-Module Project");
+        assertTextPresent( "Maven Two Multi-Module Project Module 1");
+        assertTextPresent( "Maven Two Multi-Module Project Module 2");
+    }
+
+    /**
+     * Test invalid pom url
+     */
+    public void testNoPomSpecified()
+    {
+        submitAddMavenTwoProjectPage( "", "", false );
+        assertTextPresent( "Either POM URL or Upload POM is required." );
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+
+    /**
+     * Test when scm element is missing from pom
+     */
+    public void testMissingScmElementPom()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Missing scm element in the POM." );
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+
+    /**
+     * Test when the specified pom url is invalid
+     */
+    public void testCannotAccessResource()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/valid-pom.xml");
+        submitAddMavenTwoProjectPage( "file://" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "The specified resource cannot be accessed. Please try again later
or contact your administrator." );
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+
+    /**
+     * Test when the connection element is missing from the scm tag
+     */
+    public void testMissingConnectionElement()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Missing connection sub-element in the scm element in the POM."
);
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+
+        /**
+     * Test when the parent pom is missing or not yet added in continuum
+     */
+    public void testMissingParentPom()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/missing-parent-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Missing artifact trying to build the POM. Check that its parent
POM is available or add it first in Continuum." );
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+
+    /**
+     * Test when notifier(s) are specified in the pom
+     */
+    public void testNotifiers()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", true );
+        assertTextPresent( "Maven Two Notifiers Project" );
+
+        clickLinkWithText( "Maven Two Notifiers Project" );
+        clickLinkWithText( "Notifier" );
+
+        assertTextPresent( "Project Group Notifiers" );
+        assertTextPresent( "mail" );
+        assertTextPresent( "Error" );
+        assertTextPresent( "Fail" );
+        assertTextPresent( "Success" );
+        assertTextNotPresent( "Warning" );
+    }
+
+    /**
+     * Test when the modules/subprojects specified in the pom are not found
+     */
+    public void testMissingModules()
+    {
+        File pomFile= new File( getBasedir(), "src/test/resources/unit/maven-two-projects/missing-modules-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", false );
+        assertTextPresent( "Unknown error trying to build POM." );
+        assertElementPresent( "m2PomUrl" );
+        assertElementPresent( "m2PomFile" );
+    }
+    
+    /**
+     * Test valid pom
+     */
+    public void testValidPom()
+    {
+        File pomFile = new File( getBasedir(), "src/test/resources/unit/maven-two-projects/valid-pom.xml");
+        submitAddMavenTwoProjectPage( "file:/" + pomFile.getAbsolutePath(), "", true);
+        assertTextPresent( "Maven Two Project" );
+        assertTextPresent( "maven.two.project" );
+    }
+
+}

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/it/org/apache/continuum/web/test/AddMavenTwoProjectTestCase.java
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
+  <extend>../extend/project.xml</extend>
+  <pomVersion>3</pomVersion>
+  <id>maven-one-project</id>
+  <name>Maven One Project</name>
+  <currentVersion>1.0</currentVersion>
+  <description>This is a sample Maven One Project used for testing.</description>
+  <shortDescription>This is a sample Maven One Project.</shortDescription>
+  <developers>
+    <developer>
+      <name>John Doe</name>
+      <id>john</id>
+      <email>john.doe@apache.org</email>
+      <organization/>
+      <roles>
+        <role>Documentation</role>
+        <role>Java Developer</role>
+      </roles>
+    </developer>
+  </developers>
+  <repository>
+    <connection>scm:svn:http://svn.dummy.org/repos/trunk/maven-one-project/</connection>
+    <developerConnection>scm:svn:https://svn.dummy.org/repos/trunk/maven-one-project/</developerConnection>
+    <url>http://svn.dummy.org/viewcvs.cgi/trunk/maven-one-project/</url>
+  </repository>
+  <dependencies/>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/extend-element-project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
+  <pomVersion>3</pomVersion>
+  <id>maven-one-project</id>
+  <name>Maven One Project</name>
+  <currentVersion>1.0</currentVersion>
+  <description>This is a Maven One Project used for testing. This has an invalid pom.
Missing repository element.</description>
+  <shortDescription>This is a sample Maven One Project.</shortDescription>
+  <developers>
+    <developer>
+      <name>John Doe</name>
+      <id>john</id>
+      <email>john.doe@apache.org</email>
+      <organization/>
+      <roles>
+        <role>Documentation</role>
+        <role>Java Developer</role>
+      </roles>
+    </developer>
+  </developers>
+  <dependencies/>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/missing-repository-element-project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,3 @@
+<project>
+  <invalid-tag>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/unparseable-content-project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project xmlns="http://maven.apache.org/POM/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/3.0.0 http://maven.apache.org/maven-v3_0_0.xsd">
+  <pomVersion>3</pomVersion>
+  <id>maven-one-project</id>
+  <name>Maven One Project</name>
+  <currentVersion>1.0</currentVersion>
+  <description>This is a sample Maven One Project used for testing.</description>
+  <shortDescription>This is a sample Maven One Project.</shortDescription>
+  <developers>
+    <developer>
+      <name>John Doe</name>
+      <id>john</id>
+      <email>john.doe@apache.org</email>
+      <organization/>
+      <roles>
+        <role>Documentation</role>
+        <role>Java Developer</role>
+      </roles>
+    </developer>
+  </developers>
+  <repository>
+    <connection>scm:svn:http://svn.dummy.org/repos/trunk/maven-two-project/</connection>
+    <developerConnection>scm:svn:https://svn.dummy.org/repos/trunk/maven-two-project/</developerConnection>
+    <url>http://svn.dummy.org/viewcvs.cgi/trunk/maven-two-project/</url>
+  </repository>
+  <dependencies/>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-one-projects/valid-project.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,12 @@
+<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>
+  <groupId>maven.two.project</groupId>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <version>1.0</version>
+  <scm>    
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-connection-element-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,18 @@
+<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>
+  <groupId>maven.two.project</groupId>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <version>1.0</version>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+  <modules>
+    <module>sample-maven-two-project-module1</module>
+    <module>sample-maven-two-project-module2</module>
+    <module>sample-maven-two-project-module3</module>
+  </modules>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-modules-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,16 @@
+<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">
+  <parent>
+    <groupId>maven.two.project</groupId>
+    <artifactId>maven-two-project</artifactId>
+    <version>1.0</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-parent-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,8 @@
+<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>
+  <groupId>maven.two.project</groupId>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <version>1.0</version>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-scm-element-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,23 @@
+<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>
+  <groupId>maven.two.project</groupId>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <version>1.0</version>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <sendOnError>true</sendOnError>
+        <sendOnFailure>true</sendOnFailure>
+        <sendOnSuccess>true</sendOnSuccess>
+        <sendOnWarning>true</sendOnWarning>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/missing-type-element-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,11 @@
+<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">
+  <parent>
+    <groupId>maven.two.multi.module.project</groupId>
+    <artifactId>maven-two-multi-module-project</artifactId>
+    <version>1.0</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>maven-two-multi-module-project-module1</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Multi-Module Project Module 1</name>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module1/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,11 @@
+<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">
+  <parent>
+    <groupId>maven.two.multi.module.project</groupId>
+    <artifactId>maven-two-multi-module-project</artifactId>
+    <version>1.0</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>maven-two-multi-module-project-module2</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Multi-Module Project Module 2</name>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/maven-two-multi-module-project-module2/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,17 @@
+<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>
+  <groupId>maven.two.multi.module.project</groupId>
+  <artifactId>maven-two-multi-module-project</artifactId>
+  <packaging>pom</packaging>
+  <name>Maven Two Multi-Module Project</name>
+  <version>1.0</version>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+  <modules>
+    <module>maven-two-multi-module-project-module1</module>
+    <module>maven-two-multi-module-project-module2</module>
+  </modules>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/multi-module-maven-project/pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,24 @@
+<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>
+  <groupId>maven.two.notifiers.project</groupId>
+  <artifactId>maven-two-notifiers-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Notifiers Project</name>
+  <version>1.0</version>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+  <ciManagement>
+    <notifiers>
+      <notifier>
+        <type>mail</type>
+        <sendOnError>true</sendOnError>
+        <sendOnFailure>true</sendOnFailure>
+        <sendOnSuccess>true</sendOnSuccess>
+        <sendOnWarning>false</sendOnWarning>
+      </notifier>
+    </notifiers>
+  </ciManagement>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/specified-notifiers-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml?view=auto&rev=474381
==============================================================================
--- maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
(added)
+++ maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
Mon Nov 13 08:04:59 2006
@@ -0,0 +1,13 @@
+<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>
+  <groupId>maven.two.project</groupId>
+  <artifactId>sample-maven-two-project</artifactId>
+  <packaging>jar</packaging>
+  <name>Maven Two Project</name>
+  <version>1.0</version>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/continuum/trunk/</developerConnection>
+    <url>http://svn.apache.org/viewcvs.cgi/maven/continuum/trunk/</url>
+  </scm>
+</project>

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp-test/src/test/resources/unit/maven-two-projects/valid-pom.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"



Mime
View raw message