Skip to content

Commit 4f7f522

Browse files
committed
add maven build framework.
1 parent 5be425e commit 4f7f522

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+95
-40
lines changed

.classpath

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="src" path="src/main"/>
4-
<classpathentry kind="src" path="src/test"/>
5-
<classpathentry kind="lib" path="lib/emma_ant.jar"/>
6-
<classpathentry kind="lib" path="lib/emma.jar"/>
7-
<classpathentry kind="lib" path="lib/junit.jar"/>
8-
<classpathentry kind="lib" path="lib/slf4j-api-1.6.1.jar"/>
9-
<classpathentry kind="lib" path="lib/slf4j-simple-1.6.1.jar"/>
10-
<classpathentry kind="lib" path="lib/commons-pool-1.5.6.jar"/>
11-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
12-
<classpathentry kind="output" path="bin"/>
13-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
4+
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
5+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
6+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"/>
7+
<classpathentry kind="output" path="target/classes"/>
8+
</classpath>

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ memcached-release*
1515
/java_memcached-release_2.6.0.zip
1616
/java_memcached-release_2.6.0.jar
1717
/java_memcached-release_test_2.6.0.jar
18+
/bin
19+
/target

.project

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
1318
</buildSpec>
1419
<natures>
1520
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
1622
</natures>
1723
</projectDescription>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Fri Sep 30 12:12:42 CST 2011
2+
eclipse.preferences.version=1
3+
encoding//src/main/java=UTF-8
4+
encoding//src/test/java=UTF-8
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri Sep 30 12:12:42 CST 2011
2+
eclipse.preferences.version=1
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
4+
org.eclipse.jdt.core.compiler.compliance=1.5
5+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
6+
org.eclipse.jdt.core.compiler.source=1.5
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#Fri Sep 30 12:12:40 CST 2011
2+
activeProfiles=
3+
eclipse.preferences.version=1
4+
resolveWorkspaceProjects=true
5+
version=1

build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2828
#-------------------------------------------------------------------------------
2929
doc.dir=doc
30-
src.dir=src/main
31-
test.dir=src/test
30+
src.dir=src/main/java
31+
test.dir=src/test/java
3232
build.dir=classes
3333
test.build.dir=testclasses
3434
build.instr.dir=classesinstr

pom.xml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3+
<modelVersion>4.0.0</modelVersion>
4+
5+
<groupId>com.danga</groupId>
6+
<artifactId>Memcached-Java-Client</artifactId>
7+
<version>2.6.2</version>
8+
<packaging>jar</packaging>
9+
10+
<name>Memcached-Java-Client</name>
11+
<url>https://github.com/gwhalin/Memcached-Java-Client</url>
12+
13+
<properties>
14+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
</properties>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>junit</groupId>
20+
<artifactId>junit</artifactId>
21+
<version>3.8.1</version>
22+
<scope>test</scope>
23+
</dependency>
24+
<dependency>
25+
<groupId>commons-pool</groupId>
26+
<artifactId>commons-pool</artifactId>
27+
<version>1.5.6</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.slf4j</groupId>
31+
<artifactId>slf4j-simple</artifactId>
32+
<version>1.6.2</version>
33+
</dependency>
34+
</dependencies>
35+
<build>
36+
<plugins>
37+
<plugin>
38+
<groupId>org.apache.maven.plugins</groupId>
39+
<artifactId>maven-surefire-plugin</artifactId>
40+
<version>2.9</version>
41+
<configuration>
42+
<skipTests>true</skipTests>
43+
</configuration>
44+
</plugin>
45+
<plugin>
46+
<groupId>org.apache.maven.plugins</groupId>
47+
<artifactId>maven-source-plugin</artifactId>
48+
<version>2.1.2</version>
49+
<executions>
50+
<execution>
51+
<id>attach-sources</id>
52+
<phase>verify</phase>
53+
<goals>
54+
<goal>jar-no-fork</goal>
55+
</goals>
56+
</execution>
57+
</executions>
58+
</plugin>
59+
</plugins>
60+
</build>
61+
<description>high performance memcached java client</description>
62+
</project>

0 commit comments

Comments
 (0)