Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (79 sloc) 3.11 KB
<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.2</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.2</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>