continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wsm...@apache.org
Subject svn commit: r814049 - in /continuum/sandbox/examples/properties: ./ module/ module/src/ module/src/main/ module/src/main/java/ module/src/main/java/module/ module/src/test/ module/src/test/java/ module/src/test/java/module/
Date Fri, 11 Sep 2009 21:58:25 GMT
Author: wsmoak
Date: Fri Sep 11 21:58:22 2009
New Revision: 814049

URL: http://svn.apache.org/viewvc?rev=814049&view=rev
Log:
[CONTINUUM-2094] Add example project showing a problem with properties during release prepare.
 Submitted by: Christian Schulte

Added:
    continuum/sandbox/examples/properties/
    continuum/sandbox/examples/properties/module/
    continuum/sandbox/examples/properties/module/pom.xml
    continuum/sandbox/examples/properties/module/src/
    continuum/sandbox/examples/properties/module/src/main/
    continuum/sandbox/examples/properties/module/src/main/java/
    continuum/sandbox/examples/properties/module/src/main/java/module/
    continuum/sandbox/examples/properties/module/src/main/java/module/App.java
    continuum/sandbox/examples/properties/module/src/test/
    continuum/sandbox/examples/properties/module/src/test/java/
    continuum/sandbox/examples/properties/module/src/test/java/module/
    continuum/sandbox/examples/properties/module/src/test/java/module/AppTest.java
    continuum/sandbox/examples/properties/pom.xml

Added: continuum/sandbox/examples/properties/module/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/properties/module/pom.xml?rev=814049&view=auto
==============================================================================
--- continuum/sandbox/examples/properties/module/pom.xml (added)
+++ continuum/sandbox/examples/properties/module/pom.xml Fri Sep 11 21:58:22 2009
@@ -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">
+  <parent>
+    <groupId>localhost</groupId>
+    <artifactId>parent</artifactId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>localhost</groupId>
+  <artifactId>module</artifactId>
+  <packaging>jar</packaging>
+  <version>${module.version}</version>
+  <name>module</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/properties/module/src/main/java/module/App.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/properties/module/src/main/java/module/App.java?rev=814049&view=auto
==============================================================================
--- continuum/sandbox/examples/properties/module/src/main/java/module/App.java (added)
+++ continuum/sandbox/examples/properties/module/src/main/java/module/App.java Fri Sep 11
21:58:22 2009
@@ -0,0 +1,13 @@
+package module;
+
+/**
+ * Hello world!
+ *
+ */
+public class App 
+{
+    public static void main( String[] args )
+    {
+        System.out.println( "Hello World!" );
+    }
+}

Added: continuum/sandbox/examples/properties/module/src/test/java/module/AppTest.java
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/properties/module/src/test/java/module/AppTest.java?rev=814049&view=auto
==============================================================================
--- continuum/sandbox/examples/properties/module/src/test/java/module/AppTest.java (added)
+++ continuum/sandbox/examples/properties/module/src/test/java/module/AppTest.java Fri Sep
11 21:58:22 2009
@@ -0,0 +1,38 @@
+package module;
+
+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/properties/pom.xml
URL: http://svn.apache.org/viewvc/continuum/sandbox/examples/properties/pom.xml?rev=814049&view=auto
==============================================================================
--- continuum/sandbox/examples/properties/pom.xml (added)
+++ continuum/sandbox/examples/properties/pom.xml Fri Sep 11 21:58:22 2009
@@ -0,0 +1,30 @@
+<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>localhost</groupId>
+  <artifactId>parent</artifactId>
+  <packaging>pom</packaging>
+  <version>1.0-SNAPSHOT</version>
+  <name>parent</name>
+  <description>Example project for CONTINUUM-2094 to show a problem 
+  with properties during release prepare. Project cannot be released with 
+  Continuum 1.3.4.</description>
+  <url>http://maven.apache.org</url>
+  <scm>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/continuum/sandbox/examples/properties</connection>
+  </scm>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  <modules>
+    <module>module</module>
+  </modules>
+  <properties>
+    <module.version>1.0-SNAPSHOT</module.version>
+  </properties>
+</project>



Mime
View raw message