Skip to content

Commit e1378b1

Browse files
authored
update dependencies (#21)
1 parent 8389ba8 commit e1378b1

File tree

6 files changed

+97
-26
lines changed

6 files changed

+97
-26
lines changed

llm4j-api/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@
2121

2222
<properties>
2323
<module-name>org.llm4j</module-name>
24-
<commons-text.version>1.10.0</commons-text.version>
2524
</properties>
2625

2726
<dependencies>
27+
<dependency>
28+
<groupId>org.apache.commons</groupId>
29+
<artifactId>commons-configuration2</artifactId>
30+
</dependency>
31+
2832
<dependency>
2933
<groupId>org.apache.commons</groupId>
3034
<artifactId>commons-text</artifactId>
31-
<version>${commons-text.version}</version>
3235
</dependency>
3336
</dependencies>
3437

llm4j-cohere/pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,21 @@
2323
<module-name>org.llm4j.palm</module-name>
2424
<llm4j.provider.implementation>org.llm4j.cohere.CohereServiceProvider</llm4j.provider.implementation>
2525
<llm4j.provider.type>cohere</llm4j.provider.type>
26-
<cohere.version>0.1</cohere.version>
2726
</properties>
2827

2928
<dependencies>
3029
<dependency>
3130
<groupId>org.llm4j</groupId>
3231
<artifactId>llm4j-api</artifactId>
3332
</dependency>
33+
<dependency>
34+
<groupId>org.apache.commons</groupId>
35+
<artifactId>commons-configuration2</artifactId>
36+
</dependency>
3437

3538
<dependency>
3639
<groupId>com.github.llmjava</groupId>
3740
<artifactId>cohere4j</artifactId>
38-
<version>${cohere.version}</version>
3941
</dependency>
4042
</dependencies>
4143

llm4j-huggingface/pom.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,28 @@
2323
<module-name>org.llm4j.huggingface</module-name>
2424
<llm4j.provider.implementation>org.llm4j.huggingface.HFServiceProvider</llm4j.provider.implementation>
2525
<llm4j.provider.type>huggingface</llm4j.provider.type>
26-
<retrofit2.version>2.9.0</retrofit2.version>
2726
</properties>
2827

2928
<dependencies>
3029
<dependency>
3130
<groupId>org.llm4j</groupId>
3231
<artifactId>llm4j-api</artifactId>
3332
</dependency>
33+
<dependency>
34+
<groupId>org.apache.commons</groupId>
35+
<artifactId>commons-configuration2</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>commons-beanutils</groupId>
39+
<artifactId>commons-beanutils</artifactId>
40+
</dependency>
3441
<dependency>
3542
<groupId>com.squareup.retrofit2</groupId>
3643
<artifactId>retrofit</artifactId>
37-
<version>${retrofit2.version}</version>
3844
</dependency>
3945
<dependency>
4046
<groupId>com.squareup.retrofit2</groupId>
4147
<artifactId>converter-gson</artifactId>
42-
<version>${retrofit2.version}</version>
4348
</dependency>
4449
</dependencies>
4550

llm4j-openai/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,17 @@
3030
<groupId>org.llm4j</groupId>
3131
<artifactId>llm4j-api</artifactId>
3232
</dependency>
33-
33+
<dependency>
34+
<groupId>org.apache.commons</groupId>
35+
<artifactId>commons-configuration2</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>commons-beanutils</groupId>
39+
<artifactId>commons-beanutils</artifactId>
40+
</dependency>
3441
<dependency>
3542
<groupId>dev.ai4j</groupId>
3643
<artifactId>openai4j</artifactId>
37-
<version>0.6.1</version>
3844
</dependency>
3945
</dependencies>
4046

llm4j-palm/pom.xml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
<llm4j.provider.implementation>org.llm4j.palm.PaLMServiceProvider</llm4j.provider.implementation>
2525
<llm4j.provider.type>palm</llm4j.provider.type>
2626
<palm.version>0.0.0-SNAPSHOT</palm.version>
27-
<grpc-okhttp.version>1.56.1</grpc-okhttp.version>
28-
<gapi.version>2.32.0</gapi.version>
2927
</properties>
3028

3129
<dependencies>
@@ -34,6 +32,15 @@
3432
<artifactId>llm4j-api</artifactId>
3533
</dependency>
3634

35+
<dependency>
36+
<groupId>org.apache.commons</groupId>
37+
<artifactId>commons-configuration2</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>commons-beanutils</groupId>
41+
<artifactId>commons-beanutils</artifactId>
42+
</dependency>
43+
3744
<dependency>
3845
<groupId>com.google.cloud</groupId>
3946
<artifactId>gapic-google-cloud-ai-generativelanguage-v1beta2-java</artifactId>
@@ -59,17 +66,14 @@
5966
<dependency>
6067
<groupId>com.google.api</groupId>
6168
<artifactId>gax</artifactId>
62-
<version>${gapi.version}</version>
6369
</dependency>
6470
<dependency>
6571
<groupId>com.google.api</groupId>
6672
<artifactId>gax-grpc</artifactId>
67-
<version>${gapi.version}</version>
6873
</dependency>
6974
<dependency>
7075
<groupId>io.grpc</groupId>
7176
<artifactId>grpc-okhttp</artifactId>
72-
<version>${grpc-okhttp.version}</version>
7377
</dependency>
7478
</dependencies>
7579

parent-pom.xml

Lines changed: 63 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,76 @@
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737

3838
<junit.version>5.10.0</junit.version>
39+
<cohere.version>0.1</cohere.version>
3940
<commons.version>2.9.0</commons.version>
4041
<commons-beanutils.version>1.9.4</commons-beanutils.version>
42+
<commons-text.version>1.10.0</commons-text.version>
43+
<grpc-okhttp.version>1.56.1</grpc-okhttp.version>
44+
<gapi.version>2.32.0</gapi.version>
45+
<openai4j.version>0.6.1</openai4j.version>
46+
<retrofit2.version>2.9.0</retrofit2.version>
4147
<truth.version>1.1.5</truth.version>
4248
</properties>
4349

44-
<dependencies>
45-
<dependency>
46-
<groupId>org.apache.commons</groupId>
47-
<artifactId>commons-configuration2</artifactId>
48-
<version>${commons.version}</version>
49-
</dependency>
50-
<!-- https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils -->
51-
<dependency>
52-
<groupId>commons-beanutils</groupId>
53-
<artifactId>commons-beanutils</artifactId>
54-
<version>${commons-beanutils.version}</version>
55-
</dependency>
50+
<dependencyManagement>
51+
<dependencies>
52+
<dependency>
53+
<groupId>org.apache.commons</groupId>
54+
<artifactId>commons-configuration2</artifactId>
55+
<version>${commons.version}</version>
56+
</dependency>
57+
<dependency>
58+
<groupId>commons-beanutils</groupId>
59+
<artifactId>commons-beanutils</artifactId>
60+
<version>${commons-beanutils.version}</version>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.apache.commons</groupId>
64+
<artifactId>commons-text</artifactId>
65+
<version>${commons-text.version}</version>
66+
</dependency>
67+
68+
<dependency>
69+
<groupId>com.github.llmjava</groupId>
70+
<artifactId>cohere4j</artifactId>
71+
<version>${cohere.version}</version>
72+
</dependency>
5673

74+
<dependency>
75+
<groupId>com.squareup.retrofit2</groupId>
76+
<artifactId>retrofit</artifactId>
77+
<version>${retrofit2.version}</version>
78+
</dependency>
79+
<dependency>
80+
<groupId>com.squareup.retrofit2</groupId>
81+
<artifactId>converter-gson</artifactId>
82+
<version>${retrofit2.version}</version>
83+
</dependency>
84+
<dependency>
85+
<groupId>dev.ai4j</groupId>
86+
<artifactId>openai4j</artifactId>
87+
<version>${openai4j.version}</version>
88+
</dependency>
5789

90+
<dependency>
91+
<groupId>com.google.api</groupId>
92+
<artifactId>gax</artifactId>
93+
<version>${gapi.version}</version>
94+
</dependency>
95+
<dependency>
96+
<groupId>com.google.api</groupId>
97+
<artifactId>gax-grpc</artifactId>
98+
<version>${gapi.version}</version>
99+
</dependency>
100+
<dependency>
101+
<groupId>io.grpc</groupId>
102+
<artifactId>grpc-okhttp</artifactId>
103+
<version>${grpc-okhttp.version}</version>
104+
</dependency>
105+
</dependencies>
106+
</dependencyManagement>
107+
108+
<dependencies>
58109
<dependency>
59110
<groupId>org.junit.jupiter</groupId>
60111
<artifactId>junit-jupiter</artifactId>

0 commit comments

Comments
 (0)