Skip to content

Commit ca5055f

Browse files
committed
testing release to Central
1 parent eae3837 commit ca5055f

File tree

5 files changed

+40
-23
lines changed

5 files changed

+40
-23
lines changed

astra-db-java-tools/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
<dependency>
2525
<groupId>org.apache.commons</groupId>
2626
<artifactId>commons-csv</artifactId>
27-
<version>1.12.0</version>
27+
<version>1.14.0</version>
2828
</dependency>
2929
<dependency>
3030
<groupId>com.opencsv</groupId>
3131
<artifactId>opencsv</artifactId>
32-
<version>5.9</version>
32+
<version>5.10</version>
3333
</dependency>
3434
</dependencies>
3535

astra-db-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<artifactId>astra-db-java</artifactId>
5-
<name>Java Client Library for Data API</name>
5+
<name>Data API Client Java</name>
66
<description>Implementation of a client to the Astra/Stargate Data API written in Java</description>
77

88
<!-- Reference to parent -->

astra-db-java/src/test/java/com/datastax/astra/test/integration/astra/DemoAstraDevFindAndRerank.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636

3737
import static com.datastax.astra.client.DataAPIDestination.ASTRA_DEV;
3838
import static com.datastax.astra.client.core.lexical.AnalyzerTypes.STANDARD;
39+
import static com.datastax.astra.client.core.lexical.AnalyzerTypes.WHITESPACE;
3940
import static com.dtsx.astra.sdk.db.domain.CloudProviderType.GCP;
4041

4142
@Slf4j
@@ -67,7 +68,7 @@ private Database getDatabase() {
6768
return getDataApiClient().getAdmin()
6869
.createDatabase(DATABASE_DEMO_NAME, GCP, "us-central1")
6970
.getDatabase();
70-
// return getDataApiClient().getDatabase(ASTRA_DB_ENDPOINT);
71+
//return getDataApiClient().getDatabase(ASTRA_DB_ENDPOINT);
7172
}
7273

7374
@Test
@@ -184,7 +185,12 @@ public void should_populate_collection() throws IOException {
184185
public void should_run_find_and_rerank() throws IOException {
185186
CollectionFindAndRerankOptions farrOptions = new CollectionFindAndRerankOptions()
186187
.projection(Projection.include("$vectorize", "_id", "quote", "author"))
188+
189+
187190
.sort(Sort.hybrid(new Hybrid("We struggle all in life")))
191+
192+
193+
188194
.rerankingAuthProvider(new RerankingAPIKeyHeaderProvider(ASTRA_DB_TOKEN))
189195
.embeddingAuthProvider(new EmbeddingAPIKeyHeaderProvider(ASTRA_DB_TOKEN))
190196
.includeScores(true)

langchain4j-astradb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</parent>
1313

1414
<properties>
15-
<langchain4j.version>1.0.0-beta1</langchain4j.version>
15+
<langchain4j.version>1.0.0-beta2</langchain4j.version>
1616
</properties>
1717

1818
<dependencies>

pom.xml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.datastax.astra</groupId>
55
<artifactId>astra-db-java-parent</artifactId>
6-
<name>Data API Client</name>
6+
<name>AstraDB Java SDK</name>
77
<version>2.0.0-PREVIEW2-SNAPSHOT</version>
88
<packaging>pom</packaging>
99
<url>https://github.com/datastax/astra-db-java</url>
@@ -14,7 +14,7 @@
1414
<module>astra-db-java</module>
1515
<module>langchain4j-astradb</module>
1616
<!--<module>cassio-cql</module>-->
17-
<module>astra-db-java-tools</module>
17+
<!--<module>astra-db-java-tools</module>-->
1818
<!--<module>examples</module>-->
1919
</modules>
2020

@@ -23,10 +23,10 @@
2323

2424
<!-- Third Party Libraries -->
2525
<devops-sdk.version>1.2.9</devops-sdk.version>
26-
<slf4j.version>2.0.16</slf4j.version>
27-
<logback.version>1.5.12</logback.version>
28-
<jackson.version>2.18.2</jackson.version>
29-
<lombok.version>1.18.36</lombok.version>
26+
<slf4j.version>2.0.17</slf4j.version>
27+
<logback.version>1.5.18</logback.version>
28+
<jackson.version>2.18.3</jackson.version>
29+
<lombok.version>1.18.38</lombok.version>
3030
<retry4j.version>0.15.0</retry4j.version>
3131
<awaitility.version>4.2.2</awaitility.version>
3232
<mockwebserver.version>4.12.0</mockwebserver.version>
@@ -35,7 +35,7 @@
3535
<!-- Test -->
3636
<test.skipped>false</test.skipped>
3737
<assertj.version>3.26.3</assertj.version>
38-
<junit-jupiter.version>5.11.3</junit-jupiter.version>
38+
<junit-jupiter.version>5.12.1</junit-jupiter.version>
3939

4040
<!-- Maven -->
4141
<required-maven.version>3.6.3</required-maven.version>
@@ -49,13 +49,13 @@
4949
<version.maven.plugin.jacoco>0.8.12</version.maven.plugin.jacoco>
5050
<version.maven.plugin.javadoc>3.10.0</version.maven.plugin.javadoc>
5151
<version.maven.plugin.jar>3.4.2</version.maven.plugin.jar>
52-
<version.maven.plugin.license>2.4.0</version.maven.plugin.license>
52+
<version.maven.plugin.license>2.5.0</version.maven.plugin.license>
5353
<version.maven.plugin.nexus>1.7.0</version.maven.plugin.nexus>
5454
<version.maven.plugin.release>3.1.1</version.maven.plugin.release>
5555
<version.maven.plugin.resources>3.3.1</version.maven.plugin.resources>
5656
<version.maven.plugin.source>3.3.1</version.maven.plugin.source>
5757
<version.maven.plugin.surefire>3.5.1</version.maven.plugin.surefire>
58-
58+
<version.maven.plugin.central>0.7.0</version.maven.plugin.central>
5959
</properties>
6060

6161
<dependencyManagement>
@@ -136,16 +136,27 @@
136136
<build>
137137
<plugins>
138138

139+
<!-- Moving to publishing to central -->
140+
<!-- <plugin>-->
141+
<!-- <groupId>org.sonatype.plugins</groupId>-->
142+
<!-- <artifactId>nexus-staging-maven-plugin</artifactId>-->
143+
<!-- <version>${version.maven.plugin.nexus}</version>-->
144+
<!-- <extensions>true</extensions>-->
145+
<!-- <configuration>-->
146+
<!-- <serverId>ossrh</serverId>-->
147+
<!-- <nexusUrl>https://oss.sonatype.org/</nexusUrl>-->
148+
<!-- <autoReleaseAfterClose>false</autoReleaseAfterClose>-->
149+
<!-- <skipLocalStaging>true</skipLocalStaging>-->
150+
<!-- </configuration>-->
151+
<!-- </plugin>-->
152+
139153
<plugin>
140-
<groupId>org.sonatype.plugins</groupId>
141-
<artifactId>nexus-staging-maven-plugin</artifactId>
142-
<version>${version.maven.plugin.nexus}</version>
154+
<groupId>org.sonatype.central</groupId>
155+
<artifactId>central-publishing-maven-plugin</artifactId>
156+
<version>${version.maven.plugin.central}</version>
143157
<extensions>true</extensions>
144158
<configuration>
145-
<serverId>ossrh</serverId>
146-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
147-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
148-
<skipLocalStaging>true</skipLocalStaging>
159+
<publishingServerId>central</publishingServerId>
149160
</configuration>
150161
</plugin>
151162

@@ -326,8 +337,8 @@
326337

327338
<distributionManagement>
328339
<repository>
329-
<id>ossrh</id>
330-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
340+
<id>central</id>
341+
<url>https://central.sonatype.com</url>
331342
</repository>
332343
</distributionManagement>
333344

0 commit comments

Comments
 (0)