Skip to content

Commit 4b3d721

Browse files
authored
Merge pull request #14 from 1415003719/2025-07
refactor
2 parents e36fcb9 + 03ddc43 commit 4b3d721

File tree

312 files changed

+8249
-16955
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+8249
-16955
lines changed

.github/workflows/maven-publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This workflow will build a Java project with Maven
1+
# This workflow will build a Java project with Maven and publish to Maven Central
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
33

44
name: Maven Package
@@ -11,15 +11,16 @@ jobs:
1111
publish:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: Set up Maven Central Repository
16-
uses: actions/setup-java@v2
16+
uses: actions/setup-java@v4
1717
with:
1818
java-version: '8'
19-
distribution: 'adopt'
19+
distribution: 'temurin'
2020
server-id: ossrh
2121
server-username: MAVEN_USERNAME
2222
server-password: MAVEN_PASSWORD
23+
cache: maven
2324
- id: install-secret-key
2425
name: Install gpg secret key
2526
run: |

README.md

Lines changed: 153 additions & 181 deletions
Large diffs are not rendered by default.

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.aftership</groupId>
88
<artifactId>tracking-sdk</artifactId>
9-
<version>10.0.0</version>
9+
<version>11.0.0</version>
1010

1111
<name>AfterShip Tracking SDK</name>
1212
<description>The official AfterShip Tracking Java API library</description>
@@ -76,11 +76,11 @@
7676
<distributionManagement>
7777
<snapshotRepository>
7878
<id>ossrh</id>
79-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
79+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/</url>
8080
</snapshotRepository>
8181
<repository>
8282
<id>ossrh</id>
83-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
83+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
8484
</repository>
8585
</distributionManagement>
8686

@@ -150,10 +150,11 @@
150150
<plugin>
151151
<groupId>org.sonatype.plugins</groupId>
152152
<artifactId>nexus-staging-maven-plugin</artifactId>
153+
<version>1.6.7</version>
153154
<extensions>true</extensions>
154155
<configuration>
155156
<serverId>ossrh</serverId>
156-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
157+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
157158
<autoReleaseAfterClose>true</autoReleaseAfterClose>
158159
</configuration>
159160
</plugin>

src/main/java/com/aftership/AfterShip.java

Lines changed: 0 additions & 144 deletions
This file was deleted.

src/main/java/com/aftership/auth/Auth.java

Lines changed: 0 additions & 147 deletions
This file was deleted.

src/main/java/com/aftership/auth/AuthType.java

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/main/java/com/aftership/base/Creator.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)