提交 cbe370b8 编写于 作者: wu-sheng's avatar wu-sheng

no message

上级 7bffd0bf
......@@ -59,38 +59,38 @@
</executions>
</plugin>
<!-- This plugin can run, only when you have installed `protoc`.
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>compile-protoc</id>
<phase>generate-sources</phase>
<configuration>
<tasks>
<path id="proto.path">
<fileset dir="src/main/proto">
<include name="*.proto"/>
</fileset>
</path>
<pathconvert pathsep=" " property="proto.files"
refid="proto.path"/>
<!-- This plugin can run, only when you have installed `protoc`.-->
<!--<plugin>-->
<!--<artifactId>maven-antrun-plugin</artifactId>-->
<!--<executions>-->
<!--<execution>-->
<!--<id>compile-protoc</id>-->
<!--<phase>generate-sources</phase>-->
<!--<configuration>-->
<!--<tasks>-->
<!--<path id="proto.path">-->
<!--<fileset dir="src/main/proto">-->
<!--<include name="*.proto"/>-->
<!--</fileset>-->
<!--</path>-->
<!--<pathconvert pathsep=" " property="proto.files"-->
<!--refid="proto.path"/>-->
<!--<exec executable="protoc">-->
<!--<arg value="&#45;&#45;java_out=src/main/java"/>-->
<!--<arg value="-I${project.basedir}/src/main/proto"/>-->
<!--<arg line="${proto.files}"/>-->
<!--</exec>-->
<!--</tasks>-->
<!--<sourceRoot>src/main/gen-java</sourceRoot>-->
<!--</configuration>-->
<!--<goals>-->
<!--<goal>run</goal>-->
<!--</goals>-->
<!--</execution>-->
<!--</executions>-->
<!--</plugin>-->
<exec executable="protoc">
<arg value="--java_out=src/main/java"/>
<arg value="-I${project.basedir}/src/main/proto"/>
<arg line="${proto.files}"/>
</exec>
</tasks>
<sourceRoot>src/main/gen-java</sourceRoot>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
-->
</plugins>
</build>
</project>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册