Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 3bd4565

Browse files
committed
Attempt to publish artifact
1 parent 625d9c1 commit 3bd4565

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

.github/workflows/gh-mvn-2.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,12 @@ jobs:
191191
</server>
192192
</servers>
193193
</settings>" > ~/.m2/settings.xml
194-
- name: Get version from pom.xml
195-
id: get-version
196-
run: echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
197194
- name: Deploy artifact
198195
run: |
196+
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
199197
cd bound/kt
200198
mvn deploy:deploy-file \
201-
-Dfile=target/tbdex-core-${{ env.VERSION }}.jar \
199+
-Dfile=target/tbdex-core-${VERSION}.jar \
202200
-DpomFile=pom.xml \
203201
-DrepositoryId=github \
204202
-Durl=https://maven.pkg.github.com/TBD54566975/tbdex-rs

bound/kt/pom.xml

-37
Original file line numberDiff line numberDiff line change
@@ -119,43 +119,6 @@
119119
</includes>
120120
</configuration>
121121
</plugin>
122-
<plugin>
123-
<groupId>org.apache.maven.plugins</groupId>
124-
<artifactId>maven-dependency-plugin</artifactId>
125-
<version>3.1.2</version>
126-
<executions>
127-
<execution>
128-
<id>copy-dependencies</id>
129-
<phase>package</phase>
130-
<goals>
131-
<goal>copy-dependencies</goal>
132-
</goals>
133-
<configuration>
134-
<outputDirectory>${project.build.directory}/lib</outputDirectory>
135-
<includeScope>runtime</includeScope>
136-
</configuration>
137-
</execution>
138-
</executions>
139-
</plugin>
140-
<plugin>
141-
<groupId>org.apache.maven.plugins</groupId>
142-
<artifactId>maven-assembly-plugin</artifactId>
143-
<version>3.3.0</version>
144-
<configuration>
145-
<descriptorRefs>
146-
<descriptorRef>jar-with-dependencies</descriptorRef>
147-
</descriptorRefs>
148-
</configuration>
149-
<executions>
150-
<execution>
151-
<id>make-assembly</id>
152-
<phase>package</phase>
153-
<goals>
154-
<goal>single</goal>
155-
</goals>
156-
</execution>
157-
</executions>
158-
</plugin>
159122
</plugins>
160123
</build>
161124
</project>

0 commit comments

Comments
 (0)