Skip to content

Commit

Permalink
release precompile plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
xiemalin committed Jun 27, 2022
1 parent 5396c54 commit 5fc66be
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jprotobuf-precompile-plugin 支持maven编译时同时进行jprotobuf对象的
<dependency>
<groupId>com.baidu</groupId>
<artifactId>jprotobuf-precompile-plugin</artifactId>
<version>1.4.1</version>
<version>1.4.4</version>
</dependency>
```
|插件版本1.x | 支持的jprotobuf版本 | 说明 |
Expand All @@ -145,7 +145,7 @@ jprotobuf-precompile-plugin 支持maven编译时同时进行jprotobuf对象的
<dependency>
<groupId>com.baidu</groupId>
<artifactId>jprotobuf-precompile-plugin</artifactId>
<version>2.2.7</version>
<version>2.2.8</version>
</dependency>
```

Expand Down
37 changes: 23 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?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"
<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>

Expand All @@ -12,7 +13,7 @@

<groupId>com.baidu</groupId>
<artifactId>jprotobuf</artifactId>
<version>2.4.15</version>
<version>2.4.16-SNAPSHOT</version>

<name>jprotobuf</name>
<description>A useful utility library for java programmer using google protobuf.</description>
Expand Down Expand Up @@ -80,19 +81,14 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.26</version>
</dependency>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
</dependency>
<!--
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.3</version>
</dependency>
-->
</dependency>
<!-- <dependency> <groupId>com.google.googlejavaformat</groupId> <artifactId>google-java-format</artifactId>
<version>1.3</version> </dependency> -->
</dependencies>
<build>
<plugins>
Expand All @@ -108,7 +104,7 @@
<plugin>
<groupId>com.baidu</groupId>
<artifactId>jprotobuf-precompile-plugin</artifactId>
<version>2.2.1</version>
<version>2.2.8</version>
<configuration>
<skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
<filterClassPackage>com.baidu</filterClassPackage>
Expand Down Expand Up @@ -179,7 +175,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -215,7 +211,20 @@
</execution>
</executions>
</plugin>


<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>deploy</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 5fc66be

Please sign in to comment.