Skip to content

Commit 047c66d

Browse files
dkocherAliveDevil
authored andcommitted
Move dependencies to arch profiles.
1 parent 2d3d839 commit 047c66d

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

cli/linux/pom.xml

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@
8181
<version>${jna-version}</version>
8282
<scope>runtime</scope>
8383
</dependency>
84+
<dependency>
85+
<groupId>org.fusesource.jansi</groupId>
86+
<artifactId>jansi</artifactId>
87+
<version>${jansi.version}</version>
88+
<classifier>arm64</classifier>
89+
<type>so</type>
90+
<scope>runtime</scope>
91+
</dependency>
8492
</dependencies>
8593
</profile>
8694
<profile>
@@ -99,6 +107,14 @@
99107
<version>${jna-version}</version>
100108
<scope>runtime</scope>
101109
</dependency>
110+
<dependency>
111+
<groupId>org.fusesource.jansi</groupId>
112+
<artifactId>jansi</artifactId>
113+
<version>${jansi.version}</version>
114+
<classifier>${os.arch}</classifier>
115+
<type>so</type>
116+
<scope>runtime</scope>
117+
</dependency>
102118
</dependencies>
103119
</profile>
104120
<profile>
@@ -117,6 +133,14 @@
117133
<version>${jna-version}</version>
118134
<scope>runtime</scope>
119135
</dependency>
136+
<dependency>
137+
<groupId>org.fusesource.jansi</groupId>
138+
<artifactId>jansi</artifactId>
139+
<version>${jansi.version}</version>
140+
<classifier>x86_64</classifier>
141+
<type>so</type>
142+
<scope>runtime</scope>
143+
</dependency>
120144
</dependencies>
121145
</profile>
122146
</profiles>
@@ -127,21 +151,5 @@
127151
<artifactId>cli</artifactId>
128152
<version>${project.version}</version>
129153
</dependency>
130-
<dependency>
131-
<groupId>org.fusesource.jansi</groupId>
132-
<artifactId>jansi</artifactId>
133-
<version>${jansi.version}</version>
134-
<classifier>x86_64</classifier>
135-
<type>so</type>
136-
<scope>runtime</scope>
137-
</dependency>
138-
<dependency>
139-
<groupId>org.fusesource.jansi</groupId>
140-
<artifactId>jansi</artifactId>
141-
<version>${jansi.version}</version>
142-
<classifier>arm64</classifier>
143-
<type>so</type>
144-
<scope>runtime</scope>
145-
</dependency>
146154
</dependencies>
147155
</project>

0 commit comments

Comments
 (0)