Skip to content

Commit c12506f

Browse files
committed
Use the Maven JAR plugin to assign the classifier for x64 artifacts.
1 parent 8203ff8 commit c12506f

2 files changed

Lines changed: 22 additions & 2 deletions

File tree

.github/workflows/maven-release-x64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
run: |
2323
mkdir ~/.m2
2424
echo "<settings><servers><server><id>github</id><username>Enfernuz</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml
25-
mvn -B deploy -Dclassifier=x64
25+
mvn -B deploy

pom.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<name>JavaTrans2Quik</name>
1212
<url>https://github.com/Enfernuz/JavaTrans2Quik</url>
13-
<description>A Java-wrapper for Trans2Quik.dll 1.3 ("QUIK", a trading platform designed by ARQA @ arqatech.com)</description>
13+
<description>A Java-wrapper for x64 Trans2Quik.dll v1.3 ("QUIK", a trading platform designed by ARQA @ arqatech.com)</description>
1414

1515
<scm>
1616
<url>https://github.com/Enfernuz/JavaTrans2Quik</url>
@@ -41,4 +41,24 @@
4141
<version>4.1.0</version>
4242
</dependency>
4343
</dependencies>
44+
45+
<build>
46+
<plugins>
47+
<plugin>
48+
<artifactId>maven-jar-plugin</artifactId>
49+
<version>3.1.2</version>
50+
<executions>
51+
<execution>
52+
<phase>package</phase>
53+
<goals>
54+
<goal>jar</goal>
55+
</goals>
56+
<configuration>
57+
<classifier>x64</classifier>
58+
</configuration>
59+
</execution>
60+
</executions>
61+
</plugin>
62+
</plugins>
63+
</build>
4464
</project>

0 commit comments

Comments
 (0)