This fixes some issues with the lite profile for the java build in which the lite jar contained the full binary.
This commit is contained in:
parent
ac4764e355
commit
a4022f8931
1 changed files with 20 additions and 31 deletions
51
java/pom.xml
51
java/pom.xml
|
@ -131,37 +131,26 @@
|
|||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>lite-compile</id>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/AbstractMessageLite.java</include>
|
||||
<include>**/ByteString.java</include>
|
||||
<include>**/CodedInputStream.java</include>
|
||||
<include>**/CodedOutputStream.java</include>
|
||||
<include>**/ExtensionRegistryLite.java</include>
|
||||
<include>**/FieldSet.java</include>
|
||||
<include>**/GeneratedMessageLite.java</include>
|
||||
<include>**/InvalidProtocolBufferException.java</include>
|
||||
<include>**/Internal.java</include>
|
||||
<include>**/MessageLite.java</include>
|
||||
<include>**/UninitializedMessageException.java</include>
|
||||
<include>**/WireFormat.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>lite-test-compile</id>
|
||||
<phase>test-compile</phase>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/LiteTest.java</include>
|
||||
</includes>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/AbstractMessageLite.java</include>
|
||||
<include>**/ByteString.java</include>
|
||||
<include>**/CodedInputStream.java</include>
|
||||
<include>**/CodedOutputStream.java</include>
|
||||
<include>**/ExtensionRegistryLite.java</include>
|
||||
<include>**/FieldSet.java</include>
|
||||
<include>**/GeneratedMessageLite.java</include>
|
||||
<include>**/InvalidProtocolBufferException.java</include>
|
||||
<include>**/Internal.java</include>
|
||||
<include>**/MessageLite.java</include>
|
||||
<include>**/UninitializedMessageException.java</include>
|
||||
<include>**/WireFormat.java</include>
|
||||
</includes>
|
||||
<testIncludes>
|
||||
<testInclude>**/LiteTest.java</testInclude>
|
||||
<testInclude>**/*Lite.java</testInclude>
|
||||
</testIncludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
|
|
Loading…
Add table
Reference in a new issue