Skip to content

Commit 9eae0f9

Browse files
committed
Add debug logging and snapshot repository configuration
1 parent b1cb48e commit 9eae0f9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: mvn clean verify -Dmaven.javadoc.skip=true
2424
- name: Publish Package
2525
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
26-
run: mvn deploy -Dmaven.javadoc.skip=true -s .github/settings.xml
26+
run: mvn deploy -X -Dmaven.javadoc.skip=true -s .github/settings.xml
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
GITHUB_ACTOR: ${{ github.actor }}

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,17 @@
201201
</developer>
202202
</developers>
203203

204+
<distributionManagement>
205+
<repository>
206+
<id>github</id>
207+
<name>GitHub Packages</name>
208+
<url>https://maven.pkg.github.com/wtx-labs/woocommerce-api-client-java</url>
209+
</repository>
210+
<snapshotRepository>
211+
<id>github</id>
212+
<name>GitHub Packages</name>
213+
<url>https://maven.pkg.github.com/wtx-labs/woocommerce-api-client-java</url>
214+
</snapshotRepository>
215+
</distributionManagement>
216+
204217
</project>

0 commit comments

Comments
 (0)