组织ID: |
com.google.protobuf |
项目ID: |
protobuf-lite |
版本: |
3.0.1 |
最后修改时间: |
2018-07-27 18:39:42 |
包类型: |
jar |
标题: |
Protocol Buffers [Lite] |
描述: |
A trimmed-down version of the Protocol Buffers library. |
大小: |
240.72KB |
|
Maven引入代码: |
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-lite</artifactId>
<version>3.0.1</version>
</dependency>
|
Gradle引入代码: |
com.google.protobuf:protobuf-lite:3.0.1
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<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>com.google.protobuf</groupId>
<artifactId>protobuf-parent</artifactId>
<version>3.0.0</version>
</parent>
<version>3.0.1</version>
<artifactId>protobuf-lite</artifactId>
<packaging>bundle</packaging>
<name>Protocol Buffers [Lite]</name>
<description>A trimmed-down version of the Protocol Buffers library.</description>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymockclassextension</artifactId>
</dependency>
</dependencies>
<properties>
<core.root>../core</core.root>
<test.proto.dir>${core.root}/src/test/proto</test.proto.dir>
<protoc-gen-javalite>${protobuf.source.dir}/protoc-gen-javalite</protoc-gen-javalite>
</properties>
<build>
<sourceDirectory>${core.root}/src/main/java</sourceDirectory>
<testSourceDirectory>${core.root}/src/test/java</testSourceDirectory>
<plugins>
<!-- Use Antrun plugin to generate sources with protoc -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<!-- Generate core protos -->
<execution>
<id>generate-sources</id>
<phase>generate-sources</phase>
<configuration>
<target>
<ant antfile="generate-sources-build.xml"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
<!-- Generate the test protos -->
<execution>
<id>generate-test-sources</id>
<phase>generate-test-sources</phase>
<configuration>
<target>
<ant antfile="generate-test-sources-build.xml"/>
</target>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Only compile a subset of the files -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<generatedSourcesDirectory>${generated.sources.lite.dir}</generatedSourcesDirectory>
<generatedTestSourcesDirectory>${generated.testsources.lite.dir}</generatedTestSourcesDirectory>
<includes>
<include>**/AbstractMessageLite.java</include>
<include>**/AbstractParser.java</include>
<include>**/AbstractProtobufList.java</include>
<include>**/BooleanArrayList.java</include>
<include>**/ByteString.java</include>
<include>**/CodedInputStream.java</include>
<include>**/CodedOutputStream.java</include>
<include>**/DoubleArrayList.java</include>
<include>**/ExtensionLite.java</include>
<include>**/ExtensionRegistryLite.java</include>
<include>**/FieldSet.java</include>
<include>**/FloatArrayList.java</include>
<include>**/GeneratedMessageLite.java</include>
<include>**/IntArrayList.java</include>
<include>**/Internal.java</include>
<include>**/InvalidProtocolBufferException.java</include>
<include>**/LazyFieldLite.java</include>
<include>**/LazyStringArrayList.java</include>
<include>**/LazyStringList.java</include>
<include>**/LongArrayList.java</include>
<include>**/MapEntryLite.java</include>
<include>**/MapFieldLite.java</include>
<include>**/MessageLite.java</include>
<include>**/MessageLiteOrBuilder.java</include>
<include>**/MessageLiteToString.java</include>
<include>**/MutabilityOracle.java</include>
<include>**/NioByteString.java</include>
<include>**/Parser.java</include>
<include>**/ProtobufArrayList.java</include>
<include>**/ProtocolStringList.java</include>
<include>**/RopeByteString.java</include>
<include>**/SmallSortedMap.java</include>
<include>**/TextFormatEscaper.java</include>
<include>**/UninitializedMessageException.java</include>
<include>**/UnknownFieldSetLite.java</include>
<include>**/UnmodifiableLazyStringList.java</include>
<include>**/UnsafeByteOperations.java</include>
<include>**/Utf8.java</include>
<include>**/WireFormat.java</include>
</includes>
<testIncludes>
<testInclude>**/*Lite.java</testInclude>
<testInclude>**/BooleanArrayListTest.java</testInclude>
<testInclude>**/DoubleArrayListTest.java</testInclude>
<testInclude>**/FloatArrayListTest.java</testInclude>
<testInclude>**/IntArrayListTest.java</testInclude>
<testInclude>**/LazyMessageLiteTest.java</testInclude>
<testInclude>**/LiteTest.java</testInclude>
<testInclude>**/LongArrayListTest.java</testInclude>
<testInclude>**/NioByteStringTest.java</testInclude>
<testInclude>**/ProtobufArrayListTest.java</testInclude>
<testInclude>**/UnknownFieldSetLiteTest.java</testInclude>
</testIncludes>
</configuration>
</plugin>
<!-- OSGI bundle configuration -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bundle-DocURL>
<Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName>
<Export-Package>com.google.${project.artifactId};version=${project.version}</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
META-INF/maven/com.google.protobuf/protobuf-lite/pom.properties
META-INF/maven/com.google.protobuf/protobuf-lite/pom.xml
com.google.protobuf.AbstractMessageLite$Builder$LimitedInputStream.class
com.google.protobuf.AbstractMessageLite$Builder.class
com.google.protobuf.AbstractMessageLite.class
com.google.protobuf.AbstractParser.class
com.google.protobuf.AbstractProtobufList.class
com.google.protobuf.BooleanArrayList.class
com.google.protobuf.ByteBufferWriter.class
com.google.protobuf.ByteOutput.class
com.google.protobuf.ByteString$1.class
com.google.protobuf.ByteString$ArraysByteArrayCopier.class
com.google.protobuf.ByteString$BoundedByteString.class
com.google.protobuf.ByteString$ByteArrayCopier.class
com.google.protobuf.ByteString$ByteIterator.class
com.google.protobuf.ByteString$CodedBuilder.class
com.google.protobuf.ByteString$LeafByteString.class
com.google.protobuf.ByteString$LiteralByteString.class
com.google.protobuf.ByteString$Output.class
com.google.protobuf.ByteString$SystemByteArrayCopier.class
com.google.protobuf.ByteString.class
com.google.protobuf.CodedInputStream$RefillCallback.class
com.google.protobuf.CodedInputStream$SkippedDataSink.class
com.google.protobuf.CodedInputStream.class
com.google.protobuf.CodedOutputStream$1.class
com.google.protobuf.CodedOutputStream$AbstractBufferedEncoder.class
com.google.protobuf.CodedOutputStream$ArrayEncoder.class
com.google.protobuf.CodedOutputStream$ByteOutputEncoder.class
com.google.protobuf.CodedOutputStream$NioEncoder.class
com.google.protobuf.CodedOutputStream$NioHeapEncoder.class
com.google.protobuf.CodedOutputStream$OutOfSpaceException.class
com.google.protobuf.CodedOutputStream$OutputStreamEncoder.class
com.google.protobuf.CodedOutputStream.class
com.google.protobuf.DoubleArrayList.class
com.google.protobuf.ExperimentalApi.class
com.google.protobuf.ExtensionLite.class
com.google.protobuf.ExtensionRegistryFactory.class
com.google.protobuf.ExtensionRegistryLite$ObjectIntPair.class
com.google.protobuf.ExtensionRegistryLite.class
com.google.protobuf.FieldSet$1.class
com.google.protobuf.FieldSet$FieldDescriptorLite.class
com.google.protobuf.FieldSet.class
com.google.protobuf.FloatArrayList.class
com.google.protobuf.GeneratedMessageLite$1.class
com.google.protobuf.GeneratedMessageLite$Builder.class
com.google.protobuf.GeneratedMessageLite$DefaultInstanceBasedParser.class
com.google.protobuf.GeneratedMessageLite$EqualsVisitor$NotEqualsException.class
com.google.protobuf.GeneratedMessageLite$EqualsVisitor.class
com.google.protobuf.GeneratedMessageLite$ExtendableBuilder.class
com.google.protobuf.GeneratedMessageLite$ExtendableMessage$ExtensionWriter.class
com.google.protobuf.GeneratedMessageLite$ExtendableMessage.class
com.google.protobuf.GeneratedMessageLite$ExtendableMessageOrBuilder.class
com.google.protobuf.GeneratedMessageLite$ExtensionDescriptor.class
com.google.protobuf.GeneratedMessageLite$GeneratedExtension.class
com.google.protobuf.GeneratedMessageLite$HashCodeVisitor.class
com.google.protobuf.GeneratedMessageLite$MergeFromVisitor.class
com.google.protobuf.GeneratedMessageLite$MethodToInvoke.class
com.google.protobuf.GeneratedMessageLite$SerializedForm.class
com.google.protobuf.GeneratedMessageLite$Visitor.class
com.google.protobuf.GeneratedMessageLite.class
com.google.protobuf.IntArrayList.class
com.google.protobuf.Internal$BooleanList.class
com.google.protobuf.Internal$DoubleList.class
com.google.protobuf.Internal$EnumLite.class
com.google.protobuf.Internal$EnumLiteMap.class
com.google.protobuf.Internal$FloatList.class
com.google.protobuf.Internal$IntList.class
com.google.protobuf.Internal$ListAdapter$Converter.class
com.google.protobuf.Internal$ListAdapter.class
com.google.protobuf.Internal$LongList.class
com.google.protobuf.Internal$MapAdapter$1.class
com.google.protobuf.Internal$MapAdapter$Converter.class
com.google.protobuf.Internal$MapAdapter$EntryAdapter.class
com.google.protobuf.Internal$MapAdapter$IteratorAdapter.class
com.google.protobuf.Internal$MapAdapter$SetAdapter.class
com.google.protobuf.Internal$MapAdapter.class
com.google.protobuf.Internal$ProtobufList.class
com.google.protobuf.Internal.class
com.google.protobuf.InvalidProtocolBufferException.class
com.google.protobuf.LazyField$1.class
com.google.protobuf.LazyField$LazyEntry.class
com.google.protobuf.LazyField$LazyIterator.class
com.google.protobuf.LazyField.class
com.google.protobuf.LazyFieldLite.class
com.google.protobuf.LazyStringArrayList$ByteArrayListView.class
com.google.protobuf.LazyStringArrayList$ByteStringListView.class
com.google.protobuf.LazyStringArrayList.class
com.google.protobuf.LazyStringList.class
com.google.protobuf.LongArrayList.class
com.google.protobuf.MapEntryLite$1.class
com.google.protobuf.MapEntryLite$Metadata.class
com.google.protobuf.MapEntryLite.class
com.google.protobuf.MapFieldLite.class
com.google.protobuf.MessageLite$Builder.class
com.google.protobuf.MessageLite.class
com.google.protobuf.MessageLiteOrBuilder.class
com.google.protobuf.MessageLiteToString.class
com.google.protobuf.MutabilityOracle$1.class
com.google.protobuf.MutabilityOracle.class
com.google.protobuf.NioByteString$1.class
com.google.protobuf.NioByteString.class
com.google.protobuf.Parser.class
com.google.protobuf.ProtobufArrayList.class
com.google.protobuf.ProtocolStringList.class
com.google.protobuf.RopeByteString$1.class
com.google.protobuf.RopeByteString$Balancer.class
com.google.protobuf.RopeByteString$PieceIterator.class
com.google.protobuf.RopeByteString$RopeInputStream.class
com.google.protobuf.RopeByteString.class
com.google.protobuf.SmallSortedMap$1.class
com.google.protobuf.SmallSortedMap$EmptySet$1.class
com.google.protobuf.SmallSortedMap$EmptySet$2.class
com.google.protobuf.SmallSortedMap$EmptySet.class
com.google.protobuf.SmallSortedMap$Entry.class
com.google.protobuf.SmallSortedMap$EntryIterator.class
com.google.protobuf.SmallSortedMap$EntrySet.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
|