Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made project maven-buildable, so we can more easily publish jars

  • Loading branch information...
commit 3985c58f832b49fe25e58db9385040cce94c14db 1 parent bd07b7e
@aslakhellesoy authored
View
1  Makefile
@@ -26,6 +26,7 @@ extracttests = $(shell jar tf $(1) | grep 'Test.class$$' | sed -e 's|/|.|g;s|.cl
# Compile Jar
build/$(LIBRARY).jar: $(call find,src/main/java,java)
@mkdir -p build/main/classes
+ cp -R src/main/resources/* build/main/classes
javac -g -cp $(CLASSPATH) -d build/main/classes $(call find,src/main/java,java)
jar cf $@ -C build/main/classes .
View
86 pom.xml
@@ -0,0 +1,86 @@
+<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>org.webbitserver</groupId>
+ <artifactId>webbit</artifactId>
+ <name>${project.artifactId}</name>
+ <description>Simple bidirectional JavaServer - JavaScript Browser remoting, based on Webbit and WebSocket or EventSource+XMLHttpRequest</description>
+ <url>http://webbitserver.org/</url>
+ <version>0.1.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>6</version>
+ </parent>
+ <licenses>
+ <license>
+ <name>BSD License</name>
+ <url>http://www.opensource.org/licenses/bsd-license</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:git:git://github.com/joewalnes/webbit-easyremote.git</connection>
+ <developerConnection>scm:git:git@github.com:joewalnes/webbit-easyremote.git</developerConnection>
+ <url>git://github.com/joewalnes/webbit-easyremote.git</url>
+ </scm>
+ <repositories>
+ <repository>
+ <id>gson</id>
+ <url>http://google-gson.googlecode.com/svn/mavenrepo</url>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>org.webbitserver</groupId>
+ <artifactId>webbit</artifactId>
+ <version>0.1.2-SNAPSHOT</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.google.code.gson</groupId>
+ <artifactId>gson</artifactId>
+ <version>1.6</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <useAgent>true</useAgent>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
View
0  ...java/org/webbitserver/easyremote/magic.js → ...rces/org/webbitserver/easyremote/magic.js
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.