no message
This commit is contained in:
parent
7bffd0bfb7
commit
cbe370b88f
|
|
@ -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="--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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue