File tree Expand file tree Collapse file tree 2 files changed +30
-19
lines changed
tensorflow-core-generator Expand file tree Collapse file tree 2 files changed +30
-19
lines changed Original file line number Diff line number Diff line change 328328 </dependency >
329329 </dependencies >
330330 </plugin >
331+ <plugin >
332+ <groupId >org.codehaus.mojo</groupId >
333+ <artifactId >exec-maven-plugin</artifactId >
334+ <version >3.0.0</version >
335+ <executions >
336+ <execution >
337+ <id >generate-ops</id >
338+ <goals >
339+ <goal >java</goal >
340+ </goals >
341+ <!-- <phase>generate-sources</phase>-->
342+ </execution >
343+ </executions >
344+ <dependencies >
345+ <dependency >
346+ <groupId >org.tensorflow</groupId >
347+ <artifactId >tensorflow-core-generator</artifactId >
348+ <version >${project.version} </version >
349+ </dependency >
350+ </dependencies >
351+ <configuration >
352+ <includeProjectDependencies >false</includeProjectDependencies >
353+ <includePluginDependencies >true</includePluginDependencies >
354+ <mainClass >org.tensorflow.op.generator.OpGenerator</mainClass >
355+ <arguments >
356+ <argument >${project.basedir} /src/gen/java</argument >
357+ <argument >${project.basedir} /src/gen/resources/org/tensorflow/op/ops.pb</argument >
358+ </arguments >
359+ </configuration >
360+ </plugin >
331361 <plugin >
332362 <artifactId >maven-jar-plugin</artifactId >
333363 <version >3.1.0</version >
Original file line number Diff line number Diff line change 4848
4949 <build >
5050 <plugins >
51- <plugin >
52- <groupId >org.codehaus.mojo</groupId >
53- <artifactId >exec-maven-plugin</artifactId >
54- <version >3.0.0</version >
55- <executions >
56- <execution >
57- <goals >
58- <goal >java</goal >
59- </goals >
60- </execution >
61- </executions >
62- <configuration >
63- <mainClass >org.tensorflow.op.generator.OpGenerator</mainClass >
64- <arguments >
65- <argument >${project.basedir} /../tensorflow-core-api/src/gen/java</argument >
66- <argument >${project.basedir} /../tensorflow-core-api/src/gen/resources/org/tensorflow/op/ops.pb</argument >
67- </arguments >
68- </configuration >
69- </plugin >
7051 <plugin >
7152 <artifactId >maven-jar-plugin</artifactId >
7253 <version >3.2.0</version >
You can’t perform that action at this time.
0 commit comments