Permalink
Browse files

generate a main project

  • Loading branch information...
1 parent 6259148 commit a4a0e623bd4fceb42529cf0210dafc758eee92fd @cocoatomo committed Apr 11, 2012
View
6 README.rst
@@ -1,6 +1,6 @@
-============================================
- AWS Command With Groovy - Phoneutria tools
-============================================
+=============================================
+ AWS Commands With Groovy - Phoneutria Tools
+=============================================
The Codename
============
View
50 phoneutria-tools/pom.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Generated from archetype; please customize.
+-->
+
+<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>net.elliptium.groovy</groupId>
+ <artifactId>phoneutria-tools</artifactId>
+ <name>Phoneutria Tools Project</name>
+ <version>0.1.0-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.groovy.maven.runtime</groupId>
+ <artifactId>gmaven-runtime-1.6</artifactId>
+ <version>1.0</version>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.groovy.maven</groupId>
+ <artifactId>gmaven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generateStubs</goal>
+ <goal>compile</goal>
+ <goal>generateTestStubs</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
View
15 phoneutria-tools/src/main/groovy/net/elliptium/groovy/Example.groovy
@@ -0,0 +1,15 @@
+//
+// Generated from archetype; please customize.
+//
+
+package net.elliptium.groovy
+
+/**
+ * Example Groovy class.
+ */
+class Example
+{
+ def show() {
+ println 'Hello World'
+ }
+}
View
15 phoneutria-tools/src/main/groovy/net/elliptium/groovy/Helper.java
@@ -0,0 +1,15 @@
+//
+// Generated from archetype; please customize.
+//
+
+package net.elliptium.groovy;
+
+/**
+ * Example Java class.
+ */
+public class Helper
+{
+ public void help(final Example example) {
+ example.show();
+ }
+}
View
18 phoneutria-tools/src/test/groovy/net/elliptium/groovy/ExampleTest.groovy
@@ -0,0 +1,18 @@
+//
+// Generated from archetype; please customize.
+//
+
+package net.elliptium.groovy
+
+import groovy.util.GroovyTestCase
+
+/**
+ * Tests for the {@link Example} class.
+ */
+class ExampleTest
+ extends GroovyTestCase
+{
+ void testShow() {
+ new Example().show()
+ }
+}
View
18 phoneutria-tools/src/test/groovy/net/elliptium/groovy/HelperTest.groovy
@@ -0,0 +1,18 @@
+//
+// Generated from archetype; please customize.
+//
+
+package net.elliptium.groovy
+
+import groovy.util.GroovyTestCase
+
+/**
+ * Tests for the {@link Helper} class.
+ */
+class HelperTest
+ extends GroovyTestCase
+{
+ void testHelp() {
+ new Helper().help(new Example())
+ }
+}

0 comments on commit a4a0e62

Please sign in to comment.