⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
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
2 changes: 1 addition & 1 deletion .buildscript/deploy_snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ elif [ "$CIRCLE_BRANCH" != "$BRANCH" ]; then
echo "Skipping snapshot deployment: wrong branch. Expected '$BRANCH' but was '$CIRCLE_BRANCH'."
else
echo "Deploying snapshot..."
mvn clean source:jar javadoc:jar deploy --settings=".buildscript/settings.xml" -Dmaven.test.skip=true
mvn clean source:jar javadoc:jar deploy --settings=".buildscript/settings.xml" -Dmaven.test.skip=true -Dgpg.skip=true
echo "Snapshot deployed!"
fi
7 changes: 1 addition & 6 deletions .buildscript/settings.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
<settings>
<servers>
<server>
<id>sonatype-nexus-snapshots</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
<server>
<id>sonatype-nexus-staging</id>
<id>central</id>
<username>${env.CI_DEPLOY_USERNAME}</username>
<password>${env.CI_DEPLOY_PASSWORD}</password>
</server>
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,6 @@ atlassian-ide-plugin.xml
.classpath
.project
.settings/
.factorypath
.factorypath

.vscode
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Version 3.5.4 (Dec 5, 2025)
- Updating release for new sonatype repository

# Version 3.5.3 (Dec 3, 2025)
- [New](https://github.com/segmentio/analytics-java/pull/526) Improved shutdown process
- [New](https://github.com/segmentio/analytics-java/pull/517) Support (de)serializing Instant objects to support newer java versions
Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Releasing
2. Update the `CHANGELOG.md` for the impending release.
3. `mvn clean release:clean`
4. `mvn release:prepare release:perform`
5. Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact.
4. Visit the [Maven Central Portal](https://central.sonatype.com/publishing/deployments) to review and publish the release.
32 changes: 31 additions & 1 deletion analytics-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,45 @@
<parent>
<artifactId>analytics-parent</artifactId>
<groupId>com.segment.analytics.java</groupId>
<version>3.5.3-SNAPSHOT</version>
<version>3.5.5-SNAPSHOT</version>
</parent>

<groupId>com.segment.analytics.java</groupId>
<artifactId>analytics-cli</artifactId>
<version>3.5.5-SNAPSHOT</version>
<name>Analytics Java CLI</name>

<description>Command-line interface for Segment Analytics for Java.</description>
<url>https://github.com/segmentio/analytics-java</url>

<licenses>
<license>
<name>The MIT License (MIT)</name>
<url>http://opensource.org/licenses/MIT</url>
</license>
</licenses>

<scm>
<url>https://github.com/segmentio/analytics-java/</url>
<connection>scm:git:https://github.com/segmentio/analytics-java.git</connection>
<developerConnection>scm:git:[email protected]:segmentio/analytics-java.git</developerConnection>
<tag>analytics-parent-3.5.4</tag>
</scm>

<developers>
<developer>
<id>segment</id>
<name>Segment</name>
<organization>Segment</organization>
<organizationUrl>https://segment.com</organizationUrl>
</developer>
</developers>

<dependencies>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-stdlib</artifactId>
<version>${kotlin.version}</version>
</dependency>
<dependency>
<groupId>com.segment.analytics.java</groupId>
Expand All @@ -25,6 +54,7 @@
<dependency>
<groupId>com.offbytwo</groupId>
<artifactId>docopt</artifactId>
<version>${docopt.version}</version>
</dependency>
</dependencies>

Expand Down
8 changes: 8 additions & 0 deletions analytics-cli/src/main/kotlin/cli/JavadocStub.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package cli;

/**
* Placeholder class to generate a Javadoc JAR for the CLI artifact.
*/
public final class JavadocStub {
private JavadocStub() {}
}
Loading