diff --git a/.circleci/config.yml b/.circleci/config.yml
index 7ce72f20..fe60771c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -49,4 +49,6 @@ workflows:
- test
filters:
branches:
- only: master
+ only:
+ - master
+ - deploy-test
diff --git a/.circleci/release.sh b/.circleci/release.sh
index 9099d2ca..3ac297ac 100755
--- a/.circleci/release.sh
+++ b/.circleci/release.sh
@@ -9,4 +9,13 @@ if ! ./mvnw -Prelease conventional-commits:validate; then
fi
./mvnw -B -Prelease -DskipTests -Darguments='-DskipTests' -s .circleci/settings.xml conventional-commits:version release:prepare
-./mvnw -B -DskipTests -Darguments=-DskipTests -s .circleci/settings.xml release:perform
+
+# Get the tag created by release:prepare
+TAG=$(git describe --tags --abbrev=0)
+echo "Deploying tag: $TAG"
+
+# Checkout the tagged version
+git checkout $TAG
+
+# Deploy using central-publishing-maven-plugin
+./mvnw -B -Prelease -DskipTests -s .circleci/settings.xml clean deploy
diff --git a/.circleci/settings.xml b/.circleci/settings.xml
index ad95e21c..3051899c 100644
--- a/.circleci/settings.xml
+++ b/.circleci/settings.xml
@@ -18,9 +18,9 @@
- sonatype-oss-staging
- ${env.SONATYPE_USERNAME}
- ${env.SONATYPE_PASSWORD}
+ central
+ ${env.CENTRAL_SONATYPE_USERNAME}
+ ${env.CENTRAL_SONATYPE_PASSWORD}
diff --git a/pom.xml b/pom.xml
index 32f461f0..8e0b2c27 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.smartling.api
smartling-sdk-parent
pom
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling API Parent
Smartling API SDK
https://api-reference.smartling.com
@@ -207,10 +207,6 @@
-
- sonatype-oss-staging
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
github
https://maven.pkg.github.com/smartling/java-api-sdk
@@ -238,6 +234,21 @@
v@{project.version}
false
ci:
+
+ prepare
+
+
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
+ true
+
+ central
+ false
+ uploaded
+ required
+ Java API SDK (${project.version})
diff --git a/samrtling-api-test-utils/pom.xml b/samrtling-api-test-utils/pom.xml
index 60baeddd..58af8774 100644
--- a/samrtling-api-test-utils/pom.xml
+++ b/samrtling-api-test-utils/pom.xml
@@ -4,13 +4,13 @@
smartling-api-test-utils
jar
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling API Test Utils
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-accounts-api/pom.xml b/smartling-accounts-api/pom.xml
index db4c1906..144ebbf1 100644
--- a/smartling-accounts-api/pom.xml
+++ b/smartling-accounts-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-accounts-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Accounts API
@@ -25,7 +25,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-api-commons/pom.xml b/smartling-api-commons/pom.xml
index 0a911b7f..b062df64 100644
--- a/smartling-api-commons/pom.xml
+++ b/smartling-api-commons/pom.xml
@@ -3,13 +3,13 @@
smartling-api-commons
jar
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling API Commons
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
@@ -25,7 +25,7 @@
com.smartling.api
smartling-api-test-utils
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
test
diff --git a/smartling-api-sdk-all/pom.xml b/smartling-api-sdk-all/pom.xml
index 8e6b8ec7..4c7ec0c6 100644
--- a/smartling-api-sdk-all/pom.xml
+++ b/smartling-api-sdk-all/pom.xml
@@ -4,78 +4,78 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-api-sdk
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
jar
Smartling API SDK
com.smartling.api
smartling-accounts-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-issues-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-locales-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-jobs-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-job-batches-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-files-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-projects-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-strings-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-contexts-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-attachments-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-reports-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
compile
com.smartling.api
smartling-glossary-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
com.smartling.api
smartling-file-translations-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-attachments-api/pom.xml b/smartling-attachments-api/pom.xml
index d77fbbcb..bc06a21b 100644
--- a/smartling-attachments-api/pom.xml
+++ b/smartling-attachments-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-attachments-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Attachments API
@@ -23,7 +23,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-contexts-api/pom.xml b/smartling-contexts-api/pom.xml
index 8a378cc7..a206274e 100644
--- a/smartling-contexts-api/pom.xml
+++ b/smartling-contexts-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-contexts-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Contexts API
@@ -23,7 +23,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-file-translations-api/pom.xml b/smartling-file-translations-api/pom.xml
index 5b111be1..900e5089 100644
--- a/smartling-file-translations-api/pom.xml
+++ b/smartling-file-translations-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-file-translations-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling File Translations API
@@ -25,7 +25,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
org.apache.commons
@@ -35,7 +35,7 @@
com.smartling.api
smartling-api-test-utils
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
test
diff --git a/smartling-files-api/pom.xml b/smartling-files-api/pom.xml
index eb79f253..cf38077e 100644
--- a/smartling-files-api/pom.xml
+++ b/smartling-files-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-files-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Content Files API
@@ -25,7 +25,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
org.apache.commons
@@ -35,7 +35,7 @@
com.smartling.api
smartling-api-test-utils
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
test
diff --git a/smartling-glossary-api/pom.xml b/smartling-glossary-api/pom.xml
index 1f981f63..cdb3ac84 100644
--- a/smartling-glossary-api/pom.xml
+++ b/smartling-glossary-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-glossary-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Glossary API
@@ -26,7 +26,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
org.apache.commons
@@ -36,7 +36,7 @@
com.smartling.api
smartling-api-test-utils
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
test
diff --git a/smartling-issues-api/pom.xml b/smartling-issues-api/pom.xml
index 22e59262..e7dc3a2a 100644
--- a/smartling-issues-api/pom.xml
+++ b/smartling-issues-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-issues-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Issues API
@@ -25,7 +25,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-job-batches-api/pom.xml b/smartling-job-batches-api/pom.xml
index f59c8095..a0c0abe2 100644
--- a/smartling-job-batches-api/pom.xml
+++ b/smartling-job-batches-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-job-batches-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Job Batches API
@@ -28,7 +28,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-jobs-api/pom.xml b/smartling-jobs-api/pom.xml
index 066cc619..ba7c6ecf 100644
--- a/smartling-jobs-api/pom.xml
+++ b/smartling-jobs-api/pom.xml
@@ -5,11 +5,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-jobs-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Jobs API
@@ -26,7 +26,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-locales-api/pom.xml b/smartling-locales-api/pom.xml
index 21ed50df..c382f696 100644
--- a/smartling-locales-api/pom.xml
+++ b/smartling-locales-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-locales-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Locales API
@@ -22,7 +22,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-mt-router-api/pom.xml b/smartling-mt-router-api/pom.xml
index 56646224..0b51737d 100644
--- a/smartling-mt-router-api/pom.xml
+++ b/smartling-mt-router-api/pom.xml
@@ -4,11 +4,11 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-mt-router-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling MT Router API
@@ -24,7 +24,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-projects-api/pom.xml b/smartling-projects-api/pom.xml
index ef199baf..041d5069 100644
--- a/smartling-projects-api/pom.xml
+++ b/smartling-projects-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-projects-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Projects API
@@ -23,7 +23,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-reports-api/pom.xml b/smartling-reports-api/pom.xml
index c21dddf0..ced06b38 100644
--- a/smartling-reports-api/pom.xml
+++ b/smartling-reports-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-reports-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Reports API
@@ -23,7 +23,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
diff --git a/smartling-strings-api/pom.xml b/smartling-strings-api/pom.xml
index b2caed53..dbc6b704 100644
--- a/smartling-strings-api/pom.xml
+++ b/smartling-strings-api/pom.xml
@@ -4,10 +4,10 @@
com.smartling.api
smartling-sdk-parent
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
smartling-strings-api
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT
Smartling Strings API
@@ -23,7 +23,7 @@
com.smartling.api
smartling-api-commons
- 1.19.3-SNAPSHOT
+ 1.19.5-SNAPSHOT