protobuf-java-format
Used in
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.googlecode.protobuf-java-format</groupId> <artifactId>protobuf-java-format</artifactId> <version>1.4</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>7</version> </parent> <groupId>com.googlecode.protobuf-java-format</groupId> <artifactId>protobuf-java-format</artifactId> <name>protobuf-java-format</name> <version>1.4</version> <description>Provide serialization and de-serialization of different formats based on Google’s protobuf Message. Enables overriding the default (byte array) output to text based formats such as XML, JSON and HTML.</description> <url>https://github.com/bivas/protobuf-java-format</url> <packaging>jar</packaging> <scm> <connection>scm:svn:https://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.4</connection> <developerConnection>scm:svn:https://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.4</developerConnection> <url>https://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.4</url> </scm> <licenses> <license> <name>New BSD License</name> <url>http://www.opensource.org/licenses/bsd-license.php</url> <distribution>repo</distribution> </license> </licenses> <issueManagement> <system>issue tracker</system> <url>http://code.google.com/p/protobuf-java-format/issues</url> </issueManagement> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <developers> <developer> <id>eliran.bivas</id> <name>Eliran Bivas</name> <email>eliran.bivas@gmail.com</email> <roles> <role>owner</role> </roles> </developer> <developer> <name>Sheridan C Rawlins</name> <id>scr14</id> <email>sheridan.rawlins@yahoo.com</email> <organization>Yahoo!</organization> <organizationUrl>http://www.yahoo.com</organizationUrl> </developer> </developers> <properties> <fasterxml.version>2.5.0</fasterxml.version> </properties> <dependencies> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>2.5.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-smile</artifactId> <version>${fasterxml.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>${fasterxml.version}</version> <scope>provided</scope> <optional>true</optional> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.8.21</version> <scope>test</scope> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest-core</artifactId> <version>1.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.10.19</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.5</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.1</version> <configuration> <source>1.6</source> <target>1.6</target> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>2.1.2</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.9.1</version> <executions> <execution> <id>attach-javadoc</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>generate-test-sources</id> <phase>generate-test-sources</phase> <configuration> <tasks> <mkdir dir="${project.build.directory}/generated-test-sources" /> <exec executable="${protoc}" failonerror="true"> <arg value="--java_out=${project.build.directory}/generated-test-sources" /> <arg value="--proto_path=${project.basedir}/src/test/resources" /> <arg value="${project.basedir}/src/test/resources/proto/unittest.proto" /> <arg value="${project.basedir}/src/test/resources/proto/unittest_import.proto" /> <arg value="${project.basedir}/src/test/resources/proto/unittest_couchdb.proto" /> <arg value="${project.basedir}/src/test/resources/proto/unittest_multi_nested.proto" /> </exec> </tasks> <testSourceRoot>target/generated-test-sources</testSourceRoot> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release-sign-artifacts</id> <activation> <property> <name>release</name> <value>true</value> </property> </activation> <properties> <protoc>protoc</protoc> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.5</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>protoc-dev</id> <activation> <activeByDefault>true</activeByDefault> <property> <name>env</name> <value>dev</value> </property> </activation> <properties> <protoc>protoc</protoc> </properties> </profile> <profile> <id>protoc-ci</id> <activation> <property> <name>env</name> <value>ci</value> </property> </activation> <properties> <protoc>${WORKSPACE}/protoc</protoc> </properties> </profile> </profiles> </project>