We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
由于jprotobuf采用动态编译的技术,所以启动过程中会进行预编译,影响启动时间,maven编译插件实现把动态编译工作提前到编译发布阶段,提升启动性能
The text was updated successfully, but these errors were encountered:
pom配置说明
<plugin> <groupId>com.baidu</groupId> <artifactId>jprotobuf-precompile-plugin</artifactId> <version>1.2.0</version> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> <filterClassPackage>com.baidu</filterClassPackage> </configuration> <executions> <execution> <phase>compile</phase> <goals> <goal>precompile</goal> </goals> </execution> </executions> </plugin>
运行命令: maven clean package
Sorry, something went wrong.
使用方法参见:https://github.com/jhunters/jprotobuf 使用注意事项如下: jprotobuf-precompile-plugin 支持maven编译时同时进行jprotobuf对象的预编译操作. 注:plugin版本建议使用>=1.2.0, jprotobuf 支持版本>=1.9.4
没有使用maven的项目如何解决这个问题呢?
xiemalin
No branches or pull requests
由于jprotobuf采用动态编译的技术,所以启动过程中会进行预编译,影响启动时间,maven编译插件实现把动态编译工作提前到编译发布阶段,提升启动性能
The text was updated successfully, but these errors were encountered: