continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r750607 - in /continuum/sandbox/examples/snapshot-parent: ./ 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...
Date Thu, 05 Mar 2009 21:43:28 GMT
Author: wsmoak
Date: Thu Mar  5 21:43:27 2009
New Revision: 750607

URL: http://svn.apache.org/viewvc?rev=750607&view=rev
Log:
Add an example project that has a snapshot parent to test CONTINUUM-1789

Added:
    continuum/sandbox/examples/snapshot-parent/
    continuum/sandbox/examples/snapshot-parent/pom.xml
    continuum/sandbox/examples/snapshot-parent/src/
    continuum/sandbox/examples/snapshot-parent/src/main/
    continuum/sandbox/examples/snapshot-parent/src/main/java/
    continuum/sandbox/examples/snapshot-parent/src/main/java/org/
    continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/
    continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/
    continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/
    continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/App.java
    continuum/sandbox/examples/snapshot-parent/src/test/
    continuum/sandbox/examples/snapshot-parent/src/test/java/
    continuum/sandbox/examples/snapshot-parent/src/test/java/org/
    continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/
    continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/
    continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/
    continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/AppTest.java

Added: continuum/sandbox/examples/snapshot-parent/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/snapshot-parent/pom.xml?rev=750607&view=auto
==============================================================================
--- continuum/sandbox/examples/snapshot-parent/pom.xml (added)
+++ continuum/sandbox/examples/snapshot-parent/pom.xml Thu Mar  5 21:43:27 2009
@@ -0,0 +1,40 @@
+<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.continuum</groupId>
+    <artifactId>continuum-parent</artifactId>
+    <version>3-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.continuum.examples</groupId>
+  <artifactId>snapshot-parent</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>snapshot-parent</name>
+  <url>http://maven.apache.org</url>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/continuum/sandbox/examples/snapshot-parent</connection>
+    <developerConnection>scm:svn:http://svn.apache.org/repos/asf/continuum/sandbox/examples/snapshot-parent</developerConnection>
+    <url>http://svn.apache.org/viewvc/continuum/sandbox/examples/snapshot-parent</url>
+  </scm>
+
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+
+
+  <repositories>
+    <repository>
+      <id>apache.snapshots</id>
+      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+    </repository>
+  </repositories>
+</project>

Added: continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/App.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/App.java?rev=750607&view=auto
==============================================================================
--- continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/App.java
(added)
+++ continuum/sandbox/examples/snapshot-parent/src/main/java/org/apache/continuum/examples/App.java
Thu Mar  5 21:43:27 2009
@@ -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/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/AppTest.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/AppTest.java?rev=750607&view=auto
==============================================================================
--- continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/AppTest.java
(added)
+++ continuum/sandbox/examples/snapshot-parent/src/test/java/org/apache/continuum/examples/AppTest.java
Thu Mar  5 21:43:27 2009
@@ -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