Maven Repository - POM file for XML protobuf-java-format 1.2 1.2

Summary

protobuf-java-format.

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..

Declaration

Here is the list of declaration for protobuf-java-format. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.googlecode.protobuf-java-format</groupId>
   <artifactId>protobuf-java-format</artifactId>
   <version>1.2</version>
</dependency>

If you think this Maven repository POM file listing for protobuf-java-format is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Name:New BSD License
URL: http://www.opensource.org/licenses/bsd-license.php.

Depends on

The protobuf-java-format-1.2 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Networkprotobuf-java 2.3.0
Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.
44
JUnitjunit 4.8.2
JUnit is a regression testing framework. It is used by the developer who implements unit tests in Java.
919
Testing Mockeasymock 3.0
EasyMock provides an easy way to create Mock Objects for interfaces and classes generating them on the fly
132

Plugin

The following plugins are used in the protobuf-java-format-1.2.jar

  1. maven-antrun-plugin
  2. maven-compiler-plugin
  3. maven-javadoc-plugin
  4. maven-source-plugin




Packages

The following packages are defined in the protobuf-java-format-1.2.jar

com.googlecode.protobuf.format
com.googlecode.protobuf.format.util

POM File Source

Here is the content of the POM file.

<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.2</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>http://code.google.com/p/protobuf-java-format/</url>
  <packaging>jar</packaging>
  <scm>
    <connection>scm:svn:http://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.2</connection>
    <developerConnection>scm:svn:http://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.2</developerConnection>
    <url>http://protobuf-java-format.googlecode.com/svn/tags/protobuf-java-format-1.2</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>
  
  <dependencies>
    <dependency>
      <groupId>com.google.protobuf</groupId>
      <artifactId>protobuf-java</artifactId>
      <version>2.3.0</version>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.jackson</groupId>
      <artifactId>jackson-smile</artifactId>
      <version>1.7.7</version>
      <scope>provided</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.8.2</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>3.0</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
  <build>
    <plugins>
      <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.8</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="target/generated-test-sources" />
                <exec executable="${protoc}" failonerror="true">
                  <arg value="--java_out=${project.basedir}/src/test/java" />
                  <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>signArtifacts</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.1</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>