Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
run: |
gcc --version
mvn -version
echo "<settings><servers><server><id>central</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
- name: Build native artifact
run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml package -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
Expand Down Expand Up @@ -85,7 +84,6 @@ jobs:
run: |
gcc --version
mvn -version
echo "<settings><servers><server><id>central</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
- name: Build native artifact
run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml package -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
Expand Down Expand Up @@ -115,7 +113,6 @@ jobs:
run: |
clang --version
mvn -version
echo "<settings><servers><server><id>central</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml
mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
- name: Build native artifact
run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml package -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
Expand Down
82 changes: 0 additions & 82 deletions tensorflow-core/tensorflow-core-native/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,51 +85,6 @@
</properties>
<build>
<plugins>
<!-- <plugin>-->
<!-- <artifactId>maven-dependency-plugin</artifactId>-->
<!-- <version>3.6.1</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>copy-native-artifacts</id>-->
<!-- <phase>validate</phase>-->
<!-- <goals>-->
<!-- <goal>copy</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- <outputDirectory>${project.build.directory}</outputDirectory>-->
<!-- <overWriteSnapshots>true</overWriteSnapshots>-->
<!-- <overWriteReleases>true</overWriteReleases>-->
<!-- <useBaseVersion>true</useBaseVersion>-->
<!-- <artifactItems>-->
<!-- <artifactItem>-->
<!-- <groupId>${project.groupId}</groupId>-->
<!-- <artifactId>${project.artifactId}</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <classifier>${javacpp.platform.linux-x86_64}</classifier>-->
<!-- </artifactItem>-->
<!-- <artifactItem>-->
<!-- <groupId>${project.groupId}</groupId>-->
<!-- <artifactId>${project.artifactId}</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <classifier>${javacpp.platform.linux-x86_64}-gpu</classifier>-->
<!-- </artifactItem>-->
<!-- <artifactItem>-->
<!-- <groupId>${project.groupId}</groupId>-->
<!-- <artifactId>${project.artifactId}</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <classifier>${javacpp.platform.macosx-arm64}</classifier>-->
<!-- </artifactItem>-->
<!-- <artifactItem>-->
<!-- <groupId>${project.groupId}</groupId>-->
<!-- <artifactId>${project.artifactId}</artifactId>-->
<!-- <version>${project.version}</version>-->
<!-- <classifier>${javacpp.platform.linux-arm64}</classifier>-->
<!-- </artifactItem>-->
<!-- </artifactItems>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
Expand Down Expand Up @@ -565,43 +520,6 @@
</executions>
</plugin>

<!-- <plugin>-->
<!-- <artifactId>maven-deploy-plugin</artifactId>-->
<!-- <version>3.1.1</version>-->
<!-- <executions>-->
<!-- <execution>-->
<!-- &lt;!&ndash;-->
<!-- Deploy only native artifact-->
<!-- This is used by the CI build to only deploy the native JAR artifact in the platform-specific runners.-->
<!-- Other artifacts will be deployed in a second pass, when activating the `deploying` profile-->
<!-- &ndash;&gt;-->
<!-- <id>native-only</id>-->
<!-- <goals>-->
<!-- <goal>deploy-file</goal>-->
<!-- </goals>-->
<!-- <configuration>-->
<!-- &lt;!&ndash; 'url' property must be provided in command line &ndash;&gt;-->
<!-- <file>${project.build.directory}/${project.artifactId}-${project.version}-${native.classifier}.jar</file>-->
<!-- <repositoryId>central</repositoryId>-->
<!-- <groupId>${project.groupId}</groupId>-->
<!-- <artifactId>${project.artifactId}</artifactId>-->
<!-- <classifier>${native.classifier}</classifier>-->
<!-- <pomFile>pom.xml</pomFile>-->
<!-- <generatePom>false</generatePom>-->
<!-- </configuration>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- </plugin>-->

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<configuration>
<skipPublishing>true</skipPublishing>
<outputFilename>${project.artifactId}-${project.version}-${native.classifier}.zip</outputFilename>
</configuration>
</plugin>

<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
Expand Down
Loading