Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,6 @@ workflows:
- test
filters:
branches:
only: master
only:
- master
- deploy-test
11 changes: 10 additions & 1 deletion .circleci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions .circleci/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

<servers>
<server>
<id>sonatype-oss-staging</id>
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
<id>central</id>
<username>${env.CENTRAL_SONATYPE_USERNAME}</username>
<password>${env.CENTRAL_SONATYPE_PASSWORD}</password>
</server>
</servers>
</settings>
21 changes: 16 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<packaging>pom</packaging>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling API Parent</name>
<description>Smartling API SDK</description>
<url>https://api-reference.smartling.com</url>
Expand Down Expand Up @@ -207,10 +207,6 @@
</developers>

<distributionManagement>
<repository>
<id>sonatype-oss-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>github</id>
<url>https://maven.pkg.github.com/smartling/java-api-sdk</url>
Expand Down Expand Up @@ -238,6 +234,21 @@
<tagNameFormat>v@{project.version}</tagNameFormat>
<allowTimestampedSnapshots>false</allowTimestampedSnapshots>
<scmCommentPrefix xml:space="preserve">ci: </scmCommentPrefix>
<!-- Skip release:perform goal - use central-publishing-maven-plugin instead -->
<goals>prepare</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
<waitUntil>uploaded</waitUntil>
<checksums>required</checksums>
<deploymentName>Java API SDK (${project.version})</deploymentName>
</configuration>
</plugin>
</plugins>
Expand Down
4 changes: 2 additions & 2 deletions samrtling-api-test-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

<artifactId>smartling-api-test-utils</artifactId>
<packaging>jar</packaging>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling API Test Utils</name>

<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions smartling-accounts-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<artifactId>smartling-accounts-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Accounts API</name>

<build>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions smartling-api-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

<artifactId>smartling-api-commons</artifactId>
<packaging>jar</packaging>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling API Commons</name>

<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<build>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-test-utils</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
30 changes: 15 additions & 15 deletions smartling-api-sdk-all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,78 +4,78 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>
<artifactId>smartling-api-sdk</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Smartling API SDK</name>
<dependencies>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-accounts-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-issues-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-locales-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-jobs-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-job-batches-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-files-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-projects-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-strings-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-contexts-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-attachments-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-reports-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-glossary-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-file-translations-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions smartling-attachments-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>
<artifactId>smartling-attachments-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Attachments API</name>

<build>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
6 changes: 3 additions & 3 deletions smartling-contexts-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>
<artifactId>smartling-contexts-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Contexts API</name>

<build>
Expand All @@ -23,7 +23,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
8 changes: 4 additions & 4 deletions smartling-file-translations-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<artifactId>smartling-file-translations-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling File Translations API</name>

<build>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -35,7 +35,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-test-utils</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions smartling-files-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<artifactId>smartling-files-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Content Files API</name>

<build>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -35,7 +35,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-test-utils</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions smartling-glossary-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<artifactId>smartling-glossary-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Glossary API</name>

<build>
Expand All @@ -26,7 +26,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -36,7 +36,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-test-utils</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions smartling-issues-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<parent>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-sdk-parent</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</parent>

<artifactId>smartling-issues-api</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
<name>Smartling Issues API</name>

<build>
Expand All @@ -25,7 +25,7 @@
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-commons</artifactId>
<version>1.19.3-SNAPSHOT</version>
<version>1.19.5-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Loading