Skip to content

Commit

Permalink
More pom fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Craigacp committed Mar 29, 2024
1 parent ccc7366 commit 2579465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
</modules>

<properties>
<javacpp.platform>${os.name}-${os.arch}</javacpp.platform>

<project.build.sourceEncoding>UTF8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
Expand Down
20 changes: 0 additions & 20 deletions tensorflow-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,29 +69,9 @@
must have already been built, tested and deployed priorly from their respective platform.
-->
<id>deploying</id>
<properties>
<javacpp.platform>${os.name}-${os.arch}</javacpp.platform>
</properties>
<modules>
<module>tensorflow-core-platform</module>
</modules>
</profile>

<profile>
<!--
All supported platforms are being replaced by the current host platform, mostly useful for local builds.
The artifacts produced by this build can only run on the current host (or other machines of the same
platform). This is the default profile.
-->
<id>javacpp-platform-host</id>
<activation>
<property>
<name>!javacpp.platform</name>
</property>
</activation>
<properties>
<javacpp.platform>${os.name}-${os.arch}</javacpp.platform>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 2579465

Please sign in to comment.