diff options
| author | Taro L. Saito <leo@xerial.org> | 2010-04-19 22:39:53 +0900 |
|---|---|---|
| committer | Taro L. Saito <leo@xerial.org> | 2010-04-19 22:39:53 +0900 |
| commit | 20fe9b6dde977cb7d923167292bbe89027a01795 (patch) | |
| tree | b2622b9d2be1cfd8fab7a0ff58662005b4564fab /java | |
| parent | 11f7aa4212a2539b008f7e357474ebc412647c71 (diff) | |
| download | msgpack-python-20fe9b6dde977cb7d923167292bbe89027a01795.tar.gz | |
added pom.xml
Diffstat (limited to 'java')
| -rwxr-xr-x | java/.gitignore | 4 | ||||
| -rwxr-xr-x | java/.settings/org.eclipse.jdt.core.prefs | 5 | ||||
| -rwxr-xr-x | java/Makefile | 16 | ||||
| -rwxr-xr-x | java/pom.xml | 125 |
4 files changed, 150 insertions, 0 deletions
diff --git a/java/.gitignore b/java/.gitignore new file mode 100755 index 0000000..156d227 --- /dev/null +++ b/java/.gitignore @@ -0,0 +1,4 @@ +target
+.project
+.classpath
+*~
diff --git a/java/.settings/org.eclipse.jdt.core.prefs b/java/.settings/org.eclipse.jdt.core.prefs new file mode 100755 index 0000000..c75ad47 --- /dev/null +++ b/java/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,5 @@ +#Mon Apr 19 22:18:48 JST 2010
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
diff --git a/java/Makefile b/java/Makefile new file mode 100755 index 0000000..2b6b07d --- /dev/null +++ b/java/Makefile @@ -0,0 +1,16 @@ +
+.PHONY: compile test eclipse clean
+
+
+compile:
+ mvn compile
+
+test:
+ mvn test
+
+# generate .project and .classpath file for Eclipse
+eclipse:
+ mvn eclipse:eclipse
+
+clean:
+ mvn clean
diff --git a/java/pom.xml b/java/pom.xml new file mode 100755 index 0000000..5a7b4a5 --- /dev/null +++ b/java/pom.xml @@ -0,0 +1,125 @@ +<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>org.msgpack</groupId>
+ <artifactId>msgpack</artifactId>
+ <name>MessagePack for Java</name>
+ <version>0.0.1-SNAPSHOT</version>
+ <description>MessagePack for Java</description>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:git://github.com/msgpack/msgpack.git</connection>
+ </scm>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <testSourceDirectory>test</testSourceDirectory>
+
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ </testResource>
+ </testResources>
+
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-eclipse-plugin</artifactId>
+ <version>2.5.1</version>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <!-- do not run site-deploy goal, which is included in the default setting -->
+ <goals>deploy</goals>
+ <connectionUrl>scm:git://github.com/msgpack/msgpack.git</connectionUrl>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+
+ <reporting>
+ <plugins>
+ <!-- Generating JavaDoc -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <doctitle>${project.name} ${project.version} API</doctitle>
+ <aggregate>true</aggregate>
+ <locale>en_US</locale>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-report-plugin</artifactId>
+ <configuration>
+ <aggregate>true</aggregate>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <profiles>
+ <!-- for sending artifacts to sourceforge.net repository -->
+ <profile>
+ <id>sourceforge</id>
+ <distributionManagement>
+ <repository>
+ <id>sourceforge.net</id>
+ <name>Repository at sourceforge.net</name>
+ <url>scpexe://shell.sourceforge.net/home/groups/m/ms/msgpack/htdocs/maven2/</url>
+ </repository>
+ </distributionManagement>
+ </profile>
+ </profiles>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.activemq.protobuf</groupId>
+ <artifactId>activemq-protobuf</artifactId>
+ <version>1.0</version>
+ <scope>test</scope>
+ </dependency>
+
+ </dependencies>
+</project>
|
