Skip to content

Commit 4b6ae71

Browse files
fix: release all Java modules with version 3.1.2 (#113)
* feat: release all Java modules with version 3.1.1 * chore: address snyk issues Update okhttp version to 4.12.0 to address the okio vulnerability issue * chore: remove commented out code from pom.xml file * chore: remove analytics-cli module This module is irrelevant and was also causing some issues with the release process. * chore: use placeholder for version in the README.md * chore: update CHANGELOG.md * chore: make snapshot release * [maven-release-plugin] prepare release analytics-parent-3.1.2 * Revert "chore: make snapshot release" This reverts commit f19626b. * Revert "[maven-release-plugin] prepare release analytics-parent-3.1.2" This reverts commit 08b23d8. * fix: revert java to v8 This also reverts previous MessageInterceptor java changes. * Revert "fix: revert java to v8" This reverts commit a4a9f90. * fix: revert java to v8 This also reverts previous MessageInterceptor java changes. * chore: address snyk issue Remove "analytics-spring-boot-starter". This doesn't seems to be utilised. * ci: change sonar analysis action * Revert "ci: change sonar analysis action" This reverts commit dc41d59. * chore: update sonar-maven-plugin version to 4.0.0.4121 * chore: set java version 11 for sonar * chore: update sonar-maven-plugin version to 3.7.0.1746 * fix: release all Java modules with version 3.1.2 * chore: revert the sonar action name * chore: update CHANGELOG.md
1 parent eaf4adc commit 4b6ae71

11 files changed

Lines changed: 30 additions & 338 deletions

File tree

.github/workflows/build-and-quality-checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616

17-
- name: Set up JDK 20
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v3
1919
with:
20-
java-version: '20'
21-
distribution: 'temurin'
20+
java-version: 17
21+
distribution: 'zulu' # Alternative distribution options are available.
2222

2323
- name: Set up Maven
2424
uses: stCarolas/setup-maven@v4.5
@@ -91,6 +91,6 @@ jobs:
9191
9292
- name: Sonar analysis
9393
env:
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
9595
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
96-
run: mvn sonar:sonar
96+
run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=rudderlabs_rudder-sdk-java

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Version 3.1.2 (August 1, 2024)
2+
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/113) Release all Java modules with version 3.1.2
3+
14
# Version 3.1.0 (December 14, 2023)
25
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/86) Update Java to the latest version
36
- [New](https://github.com/rudderlabs/rudder-sdk-java/pull/83) Improve links in Rudderstack documentation

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ click [here](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudders
2222
<dependency>
2323
<groupId>com.rudderstack.sdk.java.analytics</groupId>
2424
<artifactId>analytics</artifactId>
25-
<version>3.1.0</version>
25+
<version>x.y.z</version>
2626
</dependency>
2727

2828
```
2929

3030
*or if you're using Gradle:*
3131

3232
```bash
33-
implementation 'com.rudderstack.sdk.java.analytics:analytics:3.1.0'
33+
implementation 'com.rudderstack.sdk.java.analytics:analytics:x.y.z'
3434
```
3535

3636
## Initializing ```RudderClient```

analytics-cli/pom.xml

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

analytics-cli/src/main/kotlin/cli/Main.kt

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

analytics-core/pom.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,4 @@
7272
<scope>test</scope>
7373
</dependency>
7474
</dependencies>
75-
<build>
76-
<plugins>
77-
<plugin>
78-
<groupId>org.apache.maven.plugins</groupId>
79-
<artifactId>maven-compiler-plugin</artifactId>
80-
<configuration>
81-
<source>19</source>
82-
<target>19</target>
83-
</configuration>
84-
</plugin>
85-
</plugins>
86-
</build>
8775
</project>

analytics-sample/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,6 @@
5454
</execution>
5555
</executions>
5656
</plugin>
57-
<plugin>
58-
<groupId>org.apache.maven.plugins</groupId>
59-
<artifactId>maven-compiler-plugin</artifactId>
60-
<configuration>
61-
<source>19</source>
62-
<target>19</target>
63-
</configuration>
64-
</plugin>
6557
</plugins>
6658
</build>
6759
</project>

analytics-spring-boot-starter/pom.xml

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

analytics/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,6 @@
8989
</execution>
9090
</executions>
9191
</plugin>
92-
<plugin>
93-
<groupId>org.apache.maven.plugins</groupId>
94-
<artifactId>maven-compiler-plugin</artifactId>
95-
<configuration>
96-
<source>19</source>
97-
<target>19</target>
98-
</configuration>
99-
</plugin>
10092
</plugins>
10193
</build>
10294
</project>

0 commit comments

Comments
 (0)