continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r741606 - in /continuum/sandbox/examples: ./ mm-example/ mm-example/mm-core/ mm-example/mm-core/src/ mm-example/mm-core/src/main/ mm-example/mm-core/src/main/java/ mm-example/mm-core/src/main/java/com/ mm-example/mm-core/src/main/java/com/e...
Date Fri, 06 Feb 2009 16:07:24 GMT
Author: wsmoak
Date: Fri Feb  6 16:07:24 2009
New Revision: 741606

URL: http://svn.apache.org/viewvc?rev=741606&view=rev
Log:
Establish a directory for examples and add a multi-module example with config to test Continuum
Release.

Added:
    continuum/sandbox/examples/
    continuum/sandbox/examples/mm-example/
    continuum/sandbox/examples/mm-example/mm-core/
    continuum/sandbox/examples/mm-example/mm-core/pom.xml
    continuum/sandbox/examples/mm-example/mm-core/src/
    continuum/sandbox/examples/mm-example/mm-core/src/main/
    continuum/sandbox/examples/mm-example/mm-core/src/main/java/
    continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/
    continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/
    continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/
    continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/App.java
    continuum/sandbox/examples/mm-example/mm-core/src/test/
    continuum/sandbox/examples/mm-example/mm-core/src/test/java/
    continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/
    continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/
    continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/
    continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/AppTest.java
    continuum/sandbox/examples/mm-example/pom.xml

Added: continuum/sandbox/examples/mm-example/mm-core/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/mm-example/mm-core/pom.xml?rev=741606&view=auto
==============================================================================
--- continuum/sandbox/examples/mm-example/mm-core/pom.xml (added)
+++ continuum/sandbox/examples/mm-example/mm-core/pom.xml Fri Feb  6 16:07:24 2009
@@ -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>com.example.mm</groupId>
+  <artifactId>mm-core</artifactId>
+  <packaging>jar</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>mm-core</name>
+  <url>http://maven.apache.org</url>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+</project>

Added: continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/App.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/App.java?rev=741606&view=auto
==============================================================================
--- continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/App.java (added)
+++ continuum/sandbox/examples/mm-example/mm-core/src/main/java/com/example/mm/App.java Fri
Feb  6 16:07:24 2009
@@ -0,0 +1,13 @@
+package com.example.mm;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/AppTest.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/AppTest.java?rev=741606&view=auto
==============================================================================
--- continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/AppTest.java
(added)
+++ continuum/sandbox/examples/mm-example/mm-core/src/test/java/com/example/mm/AppTest.java
Fri Feb  6 16:07:24 2009
@@ -0,0 +1,38 @@
+package com.example.mm;
+
+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 );
+    }
+}

Added: continuum/sandbox/examples/mm-example/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/mm-example/pom.xml?rev=741606&view=auto
==============================================================================
--- continuum/sandbox/examples/mm-example/pom.xml (added)
+++ continuum/sandbox/examples/mm-example/pom.xml Fri Feb  6 16:07:24 2009
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-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>com.example.mm</groupId>
+  <artifactId>mm-parent</artifactId>
+  <version>1.0-SNAPSHOT</version>
+  <packaging>pom</packaging>
+  <name>Multi Module Example</name>
+
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/continuum/sandbox/examples/mm-example/mm-example</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/continuum/sandbox/examples/mm-example/</developerConnection>
+  </scm>
+
+  <modules>
+    <module>mm-core</module>
+  </modules>
+
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+          <scmCommentPrefix>[MME-455] </scmCommentPrefix>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>



Mime
View raw message