Skip to content

Commit

Permalink
Added support for byte datatype, now base64 unknown fields instead of…
Browse files Browse the repository at this point in the history
… hex
  • Loading branch information
sijuv committed Jan 3, 2011
1 parent da6cf8f commit 1d09aff
Show file tree
Hide file tree
Showing 23 changed files with 282 additions and 1,656 deletions.
Binary file not shown.
@@ -0,0 +1 @@
4d88c7685b493918b50fbf344e3caf65
@@ -0,0 +1 @@
0618621a68bb00d75e1df01af3638e8355ced6ff
34 changes: 34 additions & 0 deletions dist/protobuf/protobuf-codec-core/1.1/protobuf-codec-core-1.1.pom
@@ -0,0 +1,34 @@
<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>
<parent>
<groupId>protobuf</groupId>
<artifactId>protobuf-codec</artifactId>
<version>1.1</version>
</parent>
<artifactId>protobuf-codec-core</artifactId>
<packaging>jar</packaging>
<name>core classes for the codec</name>
<url>https://github.com/sijuv/protobuf-codec</url>
<dependencies>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1 @@
8e2200c96a1c8882fc7344447df7370b
@@ -0,0 +1 @@
a829830e6223474b7f96697b24c7f4d704a8508f
Binary file not shown.
@@ -0,0 +1 @@
938e492202f771081c945044e3026ff0
@@ -0,0 +1 @@
2818f9c0808d3450af117e6add5d4af199fdd5d1
79 changes: 79 additions & 0 deletions dist/protobuf/protobuf-codec-json/1.1/protobuf-codec-json-1.1.pom
@@ -0,0 +1,79 @@
<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>
<parent>
<groupId>protobuf</groupId>
<artifactId>protobuf-codec</artifactId>
<version>1.1</version>
</parent>
<artifactId>protobuf-codec-json</artifactId>
<packaging>jar</packaging>
<name>json codec</name>
<url>https://github.com/sijuv/protobuf-codec</url>
<dependencies>
<dependency>
<groupId>protobuf</groupId>
<artifactId>protobuf-codec-core</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.6.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources</id>
<phase>process-test-resources</phase>
<configuration>
<tasks>
<exec executable="protoc">
<arg value="--java_out=src/test/java" />
<arg value="src/test/resources/user.proto" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources1</id>
<phase>process-test-resources</phase>
<configuration>
<tasks>
<exec executable="protoc">
<arg value="--java_out=src/test/java" />
<arg value="src/test/resources/unknown.proto" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1 @@
7b95633d4b2998330f9aa19f03e98933
@@ -0,0 +1 @@
8baa1dbc7df8a0ab87d1b440857c607cbf0e1a68
Binary file not shown.
@@ -0,0 +1 @@
36021cd329676ca64ec074caf11bae13
@@ -0,0 +1 @@
a28ec9b32887759c0b13ec9d26cae67a5268343e
84 changes: 84 additions & 0 deletions dist/protobuf/protobuf-codec-xml/1.1/protobuf-codec-xml-1.1.pom
@@ -0,0 +1,84 @@
<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>protobuf-codec</artifactId>
<groupId>protobuf</groupId>
<version>1.1</version>
</parent>
<groupId>protobuf</groupId>
<artifactId>protobuf-codec-xml</artifactId>
<version>1.1</version>
<name>protobuf-codec-xml</name>
<url>https://github.com/sijuv/protobuf-codec</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>protobuf</groupId>
<artifactId>protobuf-codec-core</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-asl</artifactId>
<version>4.0.9</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources</id>
<phase>process-test-resources</phase>
<configuration>
<tasks>
<exec executable="protoc">
<arg value="--java_out=src/test/java" />
<arg value="src/test/resources/user.proto" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>generate-sources1</id>
<phase>process-test-resources</phase>
<configuration>
<tasks>
<exec executable="protoc">
<arg value="--java_out=src/test/java" />
<arg value="src/test/resources/unknown.proto" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@@ -0,0 +1 @@
da0903aedc50a7bbebcd6ecb8ae8ade0
@@ -0,0 +1 @@
37888e0e36c0a90022d17d15ca4a058a0f2f04d1
71 changes: 71 additions & 0 deletions dist/protobuf/protobuf-codec/1.1/protobuf-codec-1.1.pom
@@ -0,0 +1,71 @@
<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>protobuf</groupId>
<artifactId>protobuf-codec</artifactId>
<packaging>pom</packaging>
<version>1.1</version>
<name>Protobuf codec parent pom</name>
<url>https://github.com/sijuv/protobuf-codec</url>
<modules>
<module>protobuf-codec-core</module>
<module>protobuf-codec-json</module>
<module>protobuf-codec-xml</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>


<dependencies>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-core-asl</artifactId>
<version>1.6.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>woodstox-core-asl</artifactId>
<version>4.0.9</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
</plugin>
</plugins>
</reporting>
<distributionManagement>
<repository>
<id>git-protobuf-repo</id>
<url>http://github.com/sijuv/protobuf-codec/tree/master/dist/</url>
</repository>
</distributionManagement>

</project>
@@ -0,0 +1 @@
4e0087a4bc87eff4347abc1a75aad5e9
@@ -0,0 +1 @@
ec20686e0e49ae1c290fee9929e200565aa5a55d

0 comments on commit 1d09aff

Please sign in to comment.