continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r904701 - in /continuum/sandbox/scm-config/trunk: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/continuum/ src/main/java/org/apache/continuum/examples/ src/test/ src/test/java/ src/te...
Date Sat, 30 Jan 2010 00:57:36 GMT
Author: wsmoak
Date: Sat Jan 30 00:57:35 2010
New Revision: 904701

URL: http://svn.apache.org/viewvc?rev=904701&view=rev
Log:
[CONTINUUM-2449] Add example project to test how Continuum handles scm urls when releasing
vs. how the Maven command line does it.

Added:
    continuum/sandbox/scm-config/trunk/pom.xml
    continuum/sandbox/scm-config/trunk/src/
    continuum/sandbox/scm-config/trunk/src/main/
    continuum/sandbox/scm-config/trunk/src/main/java/
    continuum/sandbox/scm-config/trunk/src/main/java/org/
    continuum/sandbox/scm-config/trunk/src/main/java/org/apache/
    continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/
    continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/
    continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/App.java
    continuum/sandbox/scm-config/trunk/src/test/
    continuum/sandbox/scm-config/trunk/src/test/java/
    continuum/sandbox/scm-config/trunk/src/test/java/org/
    continuum/sandbox/scm-config/trunk/src/test/java/org/apache/
    continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/
    continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/
    continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/AppTest.java

Added: continuum/sandbox/scm-config/trunk/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/scm-config/trunk/pom.xml?rev=904701&view=auto
==============================================================================
--- continuum/sandbox/scm-config/trunk/pom.xml (added)
+++ continuum/sandbox/scm-config/trunk/pom.xml Sat Jan 30 00:57:35 2010
@@ -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>org.apache.continuum.examples</groupId>
+  <artifactId>scm-config</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>scm-config</name>
+  <description>Test for CONTINUUM-2449</description>
+  <url>http://maven.apache.org</url>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/continuum/sandbox/scm-config/trunk/</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/continuum/sandbox/scm-config/trunk/</developerConnection>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/App.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/App.java?rev=904701&view=auto
==============================================================================
--- continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/App.java
(added)
+++ continuum/sandbox/scm-config/trunk/src/main/java/org/apache/continuum/examples/App.java
Sat Jan 30 00:57:35 2010
@@ -0,0 +1,13 @@
+package org.apache.continuum.examples;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/AppTest.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/AppTest.java?rev=904701&view=auto
==============================================================================
--- continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/AppTest.java
(added)
+++ continuum/sandbox/scm-config/trunk/src/test/java/org/apache/continuum/examples/AppTest.java
Sat Jan 30 00:57:35 2010
@@ -0,0 +1,38 @@
+package org.apache.continuum.examples;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest 
+    extends TestCase
+{
+    /**
+     * Create the test case
+     *
+     * @param testName name of the test case
+     */
+    public AppTest( String testName )
+    {
+        super( testName );
+    }
+
+    /**
+     * @return the suite of tests being tested
+     */
+    public static Test suite()
+    {
+        return new TestSuite( AppTest.class );
+    }
+
+    /**
+     * Rigourous Test :-)
+     */
+    public void testApp()
+    {
+        assertTrue( true );
+    }
+}



Mime
View raw message