Skip to content

Commit 2813f78

Browse files
committed
Cleanup more native executions from core API
1 parent 2665a62 commit 2813f78

1 file changed

Lines changed: 0 additions & 70 deletions

File tree

  • tensorflow-core/tensorflow-core-api

tensorflow-core/tensorflow-core-api/pom.xml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -217,73 +217,6 @@
217217
</executions>
218218
</plugin>
219219

220-
<plugin>
221-
<artifactId>maven-jar-plugin</artifactId>
222-
<version>3.3.0</version>
223-
<configuration>
224-
<archive>
225-
<manifestEntries>
226-
<Automatic-Module-Name>org.tensorflow.core</Automatic-Module-Name>
227-
</manifestEntries>
228-
</archive>
229-
</configuration>
230-
<executions>
231-
<execution>
232-
<!--
233-
Create the native artifact
234-
This artifact will contain only native libraries compiled by the javacpp-plugin,
235-
and will be classified under the active platform (OS, arch, extension...)
236-
-->
237-
<id>native-jar</id>
238-
<phase>package</phase>
239-
<goals>
240-
<goal>jar</goal>
241-
</goals>
242-
<configuration>
243-
<classifier>${native.classifier}</classifier>
244-
<skipIfEmpty>true</skipIfEmpty>
245-
<includes>
246-
<!-- In case of successive builds for multiple platforms without cleaning, ensures
247-
we only include files for this platform. -->
248-
<include>org/tensorflow/internal/c_api/${native.classifier}/</include>
249-
</includes>
250-
<classesDirectory>${project.build.directory}/native</classesDirectory>
251-
<excludes>
252-
<exclude>org/tensorflow/internal/c_api/${native.classifier}/*.exp</exclude>
253-
<exclude>org/tensorflow/internal/c_api/${native.classifier}/*.lib</exclude>
254-
<exclude>org/tensorflow/internal/c_api/${native.classifier}/*.obj</exclude>
255-
<exclude>org/tensorflow/internal/c_api/${native.classifier}/*mklml*</exclude>
256-
<exclude>org/tensorflow/internal/c_api/${native.classifier}/*msvcr120*</exclude>
257-
</excludes>
258-
</configuration>
259-
</execution>
260-
</executions>
261-
</plugin>
262-
263-
<plugin>
264-
<artifactId>maven-surefire-plugin</artifactId>
265-
<executions>
266-
<execution>
267-
<!--
268-
Run the tests after packaging the artifacts
269-
This is required as most of our unit tests are in fact integration tests that should
270-
be executed in a TensorFlow runtime environment.
271-
-->
272-
<id>default-test</id>
273-
<phase>integration-test</phase>
274-
<goals>
275-
<goal>test</goal>
276-
</goals>
277-
<configuration>
278-
<additionalClasspathElements>
279-
<additionalClasspathElement>${project.build.directory}/${project.artifactId}-${project.version}-${native.classifier}.jar</additionalClasspathElement>
280-
<additionalClasspathElement>${project.build.directory}/native/</additionalClasspathElement>
281-
</additionalClasspathElements>
282-
</configuration>
283-
</execution>
284-
</executions>
285-
</plugin>
286-
287220
<plugin>
288221
<artifactId>maven-source-plugin</artifactId>
289222
<version>3.3.0</version>
@@ -313,9 +246,6 @@
313246
<failOnError>false</failOnError>
314247
<minmemory>256m</minmemory>
315248
<maxmemory>2048m</maxmemory>
316-
<links>
317-
<link>http://bytedeco.org/javacpp/apidocs</link>
318-
</links>
319249
</configuration>
320250
</execution>
321251
</executions>

0 commit comments

Comments
 (0)