Skip to content

Commit

Permalink
polish alibaba#2443
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyunabc committed Apr 19, 2023
1 parent ed38188 commit fc7bbfa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
29 changes: 15 additions & 14 deletions arthas-vmtool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,21 @@
</properties>
</profile>

<!-- linux other-arch-->
<profile>
<id>linux-${os.arch}</id>
<activation>
<os>
<name>linux</name>
<arch>!amd64</arch>
</os>
</activation>
<properties>
<os_name>linux</os_name>
<lib_name>libArthasJniLibrary-${os.arch}.so</lib_name>
</properties>
</profile>

<!-- windows -->
<profile>
<id>windows</id>
Expand Down Expand Up @@ -162,20 +177,6 @@
</build>
</profile>

<!-- linux other-arch-->
<profile>
<id>linux-${os.arch}</id>
<activation>
<os>
<name>linux</name>
<arch>!amd64</arch>
</os>
</activation>
<properties>
<os_name>linux</os_name>
<lib_name>libArthasJniLibrary-${os.arch}.so</lib_name>
</properties>
</profile>
</profiles>

<build>
Expand Down
7 changes: 0 additions & 7 deletions packaging/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,5 @@
<fileSet>
<directory>../lib</directory>
</fileSet>
<fileSet>
<directory>../arthas-vmtool/target</directory>
<outputDirectory>lib</outputDirectory>
<includes>
<include>libArthasJniLibrary*</include>
</includes>
</fileSet>
</fileSets>
</assembly>

0 comments on commit fc7bbfa

Please sign in to comment.