Skip to content

Commit 553a718

Browse files
committed
disted version 1.0
1 parent cd8d8bd commit 553a718

File tree

56 files changed

+613
-268
lines changed

Some content is hidden

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

56 files changed

+613
-268
lines changed

.classpath

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
<classpathentry kind="src" path="protobuf-codec-xml/src/main/java"/>
88
<classpathentry kind="src" path="protobuf-codec-xml/src/test/java"/>
99
<classpathentry kind="src" path="protobuf-codec-xml/src/test/resources"/>
10-
<classpathentry kind="src" path="protobuf-codec-core/src/test/java"/>
1110
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
1211
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
1312
<classpathentry kind="output" path="target/classes"/>

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/target
1+
/target

README

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
UPDATES:
22
---------
33
06/Dec : Mavenized and disted verion 0.0.1
4+
08/Dec : Disted version 1.0
5+
- Added support for xml
6+
- Added support for unknown fields
7+
- Split into a maven multi module project- core,xml and json
48

59
ABOUT
610
------
@@ -55,15 +59,12 @@ Prerequisites :
5559

5660
DEPENDENCIES :
5761
- Jackson for json parsing. [ see pom for details ]
62+
- woodstox for xml parsing [see pom for details ]
5863

5964
BUGS & ISSUES
6065
---------------
6166
Raise bugs/issues on git
6267

6368

64-
LIMITATIONS
65-
--------------
66-
- UnknownFieldSet not supported.
67-
6869

6970

Binary file not shown.

dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.jar.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.pom.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/com/google/protobuf/codec/0.0.1/codec-0.0.1.pom.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/com/google/protobuf/codec/maven-metadata.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

dist/com/google/protobuf/codec/maven-metadata.xml.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/com/google/protobuf/codec/maven-metadata.xml.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cf3b0d43754f592a16c6e7ed8d9b21aa
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f27c4525b36909751c3acc4ca801184ae426a859
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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
3+
http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>protobuf</groupId>
7+
<artifactId>protobuf-codec</artifactId>
8+
<version>1.0</version>
9+
</parent>
10+
<artifactId>protobuf-codec-core</artifactId>
11+
<packaging>jar</packaging>
12+
<name>core classes for the codec</name>
13+
<url>https://github.com/sijuv/protobuf-codec</url>
14+
<dependencies>
15+
<dependency>
16+
<groupId>commons-codec</groupId>
17+
<artifactId>commons-codec</artifactId>
18+
<version>1.4</version>
19+
</dependency>
20+
</dependencies>
21+
<build>
22+
<plugins>
23+
<plugin>
24+
<groupId>org.apache.maven.plugins</groupId>
25+
<artifactId>maven-compiler-plugin</artifactId>
26+
<version>2.3.2</version>
27+
<configuration>
28+
<source>1.5</source>
29+
<target>1.5</target>
30+
</configuration>
31+
</plugin>
32+
</plugins>
33+
</build>
34+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
06c4f1f5d227283b1e347207f9a05f36
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e0588e413c2af0126edb278a78588780c35f3f33
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>protobuf</groupId>
4+
<artifactId>protobuf-codec-core</artifactId>
5+
<versioning>
6+
<release>1.0</release>
7+
<versions>
8+
<version>1.0</version>
9+
</versions>
10+
<lastUpdated>20101208102259</lastUpdated>
11+
</versioning>
12+
</metadata>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5503780f5ed820f82ecbf264adba3aca
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
45d18da45c8b2cb924f7f877a565e383af4b619a
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
843d675d0f89bebb597d63abed8a7d39
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
301926e7da046efc3e0d51527f4c30792796c00e
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,79 @@
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.google.protobuf</groupId>
6-
<artifactId>codec</artifactId>
7-
<version>0.0.1</version>
8-
<packaging>jar</packaging>
9-
10-
<name>codec</name>
11-
<url>http://maven.apache.org</url>
12-
13-
<properties>
14-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
</properties>
16-
17-
<dependencies>
18-
<dependency>
19-
<groupId>com.google.protobuf</groupId>
20-
<artifactId>protobuf-java</artifactId>
21-
<version>2.3.0</version>
22-
</dependency>
23-
<dependency>
24-
<groupId>org.codehaus.jackson</groupId>
25-
<artifactId>jackson-core-asl</artifactId>
26-
<version>1.6.2</version>
27-
</dependency>
28-
<dependency>
29-
<groupId>junit</groupId>
30-
<artifactId>junit</artifactId>
31-
<version>4.8.2</version>
32-
<scope>test</scope>
33-
</dependency>
34-
</dependencies>
35-
<build>
36-
<plugins>
37-
<plugin>
38-
<artifactId>maven-antrun-plugin</artifactId>
39-
<executions>
40-
<execution>
41-
<id>generate-sources</id>
42-
<phase>process-test-resources</phase>
43-
<configuration>
44-
<tasks>
45-
<exec executable="protoc">
46-
<arg value="--java_out=src/test/java" />
47-
<arg value="src/test/resources/user.proto" />
48-
</exec>
49-
</tasks>
50-
</configuration>
51-
<goals>
52-
<goal>run</goal>
53-
</goals>
54-
</execution>
55-
</executions>
56-
</plugin>
57-
<plugin>
58-
<groupId>org.apache.maven.plugins</groupId>
59-
<artifactId>maven-compiler-plugin</artifactId>
60-
<configuration>
61-
<source>1.5</source>
62-
<target>1.5</target>
63-
</configuration>
64-
</plugin>
65-
</plugins>
66-
</build>
67-
<distributionManagement>
68-
<repository>
69-
<id>git-protobuf-repo</id>
70-
<url>http://github.com/sijuv/protobuf-codec/tree/master/dist/</url>
71-
</repository>
72-
</distributionManagement>
73-
</project>
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
3+
http://maven.apache.org/maven-v4_0_0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>protobuf</groupId>
7+
<artifactId>protobuf-codec</artifactId>
8+
<version>1.0</version>
9+
</parent>
10+
<artifactId>protobuf-codec-json</artifactId>
11+
<packaging>jar</packaging>
12+
<name>json codec</name>
13+
<url>https://github.com/sijuv/protobuf-codec</url>
14+
<dependencies>
15+
<dependency>
16+
<groupId>protobuf</groupId>
17+
<artifactId>protobuf-codec-core</artifactId>
18+
<version>1.0</version>
19+
</dependency>
20+
<dependency>
21+
<groupId>org.codehaus.jackson</groupId>
22+
<artifactId>jackson-core-asl</artifactId>
23+
<version>1.6.2</version>
24+
</dependency>
25+
</dependencies>
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<artifactId>maven-antrun-plugin</artifactId>
30+
<executions>
31+
<execution>
32+
<id>generate-sources</id>
33+
<phase>process-test-resources</phase>
34+
<configuration>
35+
<tasks>
36+
<exec executable="protoc">
37+
<arg value="--java_out=src/test/java" />
38+
<arg value="src/test/resources/user.proto" />
39+
</exec>
40+
</tasks>
41+
</configuration>
42+
<goals>
43+
<goal>run</goal>
44+
</goals>
45+
</execution>
46+
</executions>
47+
</plugin>
48+
<plugin>
49+
<artifactId>maven-antrun-plugin</artifactId>
50+
<executions>
51+
<execution>
52+
<id>generate-sources1</id>
53+
<phase>process-test-resources</phase>
54+
<configuration>
55+
<tasks>
56+
<exec executable="protoc">
57+
<arg value="--java_out=src/test/java" />
58+
<arg value="src/test/resources/unknown.proto" />
59+
</exec>
60+
</tasks>
61+
</configuration>
62+
<goals>
63+
<goal>run</goal>
64+
</goals>
65+
</execution>
66+
</executions>
67+
</plugin>
68+
<plugin>
69+
<groupId>org.apache.maven.plugins</groupId>
70+
<artifactId>maven-compiler-plugin</artifactId>
71+
<version>2.3.2</version>
72+
<configuration>
73+
<source>1.5</source>
74+
<target>1.5</target>
75+
</configuration>
76+
</plugin>
77+
</plugins>
78+
</build>
79+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ff72bd5f921bc2d8bb85b052c4323b46
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8161ad2c1f918869b0e9684e535e4b68d812ff77
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<metadata>
3+
<groupId>protobuf</groupId>
4+
<artifactId>protobuf-codec-json</artifactId>
5+
<versioning>
6+
<release>1.0</release>
7+
<versions>
8+
<version>1.0</version>
9+
</versions>
10+
<lastUpdated>20101208102303</lastUpdated>
11+
</versioning>
12+
</metadata>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
f218b3f0e2f4f11b2fa1e309fc0653f5
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9f000d2d5a1faccef5e93698f9234f9fade5c637
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6d2b79b7efd850519209bc2b02afb3e2
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5f2e965baf4f95cc9aa43eda6228c8c31658cd33

0 commit comments

Comments
 (0)