Browse files

Created maveb project for plugin.

  • Loading branch information...
1 parent d596ce1 commit c108688716e9c7c3a4809bcfffe9c9cb5685277d Alexander Babichev committed Nov 17, 2011
View
1 .gitignore
@@ -4,3 +4,4 @@ target/*
.project
.settings
.DS_Store
+*.jar
View
BIN bin/com/rhomobile/rhoconnect/Rhoconnect.class
Binary file not shown.
View
BIN bin/com/rhomobile/rhoconnect/RhoconnectDispatcher.class
Binary file not shown.
View
BIN bin/com/rhomobile/rhoconnect/RhoconnectResource.class
Binary file not shown.
View
BIN bin/com/rhomobile/rhoconnect/controller/RhoconnectController.class
Binary file not shown.
View
7 make_jar.sh
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-VERSION=0.0.1
-jar -cvfM rhoconnect-java-${VERSION}.jar -C bin/ .
-
-jar -tvf rhoconnect-java-${VERSION}.jar
-
View
57 pom.xml
@@ -0,0 +1,57 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>com.rhomobile.rhoconnect</groupId>
+ <artifactId>rhoconnect-java</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <name>rhoconnect-java</name>
+ <url>http://maven.apache.org</url>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.9</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>1.8.3</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-beans</artifactId>
+ <version>3.0.2.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-web</artifactId>
+ <version>3.0.2.RELEASE</version>
+ </dependency>
+ </dependencies>
+</project>
View
BIN rhoconnect-java-0.0.1.jar
Binary file not shown.
View
0 src/com/rhomobile/rhoconnect/Rhoconnect.java → .../com/rhomobile/rhoconnect/Rhoconnect.java
File renamed without changes.
View
0 ...homobile/rhoconnect/RhoconnectClient.java → ...homobile/rhoconnect/RhoconnectClient.java
File renamed without changes.
View
0 ...bile/rhoconnect/RhoconnectDispatcher.java → ...bile/rhoconnect/RhoconnectDispatcher.java
File renamed without changes.
View
0 ...mobile/rhoconnect/RhoconnectResource.java → ...mobile/rhoconnect/RhoconnectResource.java
File renamed without changes.
View
0 ...nect/controller/RhoconnectController.java → ...nect/controller/RhoconnectController.java
File renamed without changes.
View
38 src/test/java/com/rhomobile/rhoconnect/AppTest.java
@@ -0,0 +1,38 @@
+package com.rhomobile.rhoconnect;
+
+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 );
+ }
+}

0 comments on commit c108688

Please sign in to comment.