Skip to content

Commit ac09b51

Browse files
committed
update informations
1 parent 032276d commit ac09b51

15 files changed

+683
-5
lines changed

langchain4j-astradb/pom.xml

Lines changed: 249 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,38 @@
66
<name>LangChain4j :: Integration :: AstraDB</name>
77
<description>Some dependencies have a "Public Domain" license</description>
88
<version>1.4.2-SNAPSHOT</version>
9+
<url>https://github.com/datastax/astra-db-java</url>
10+
<inceptionYear>2024</inceptionYear>
911

1012
<properties>
11-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12-
<maven.compiler.release>11</maven.compiler.release>
1313
<logback.version>1.5.6</logback.version>
1414
<jackson.version>2.17.2</jackson.version>
1515
<lombok.version>1.18.34</lombok.version>
1616
<assertj.version>3.26.3</assertj.version>
1717
<junit-jupiter.version>5.10.3</junit-jupiter.version>
1818
<astra-db-java.version>1.4.0</astra-db-java.version>
1919
<langchain4j.version>0.33.0</langchain4j.version>
20+
21+
<!-- Maven -->
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<maven.compiler.release>11</maven.compiler.release>
24+
<maven.plugin.compiler.source>11</maven.plugin.compiler.source>
25+
<maven.plugin.compiler.target>11</maven.plugin.compiler.target>
26+
<version.maven.plugin.compiler>3.13.0</version.maven.plugin.compiler>
27+
<version.maven.plugin.coveralls>4.3.0</version.maven.plugin.coveralls>
28+
<version.maven.plugin.dependency>3.7.1</version.maven.plugin.dependency>
29+
<version.maven.plugin.enforcer>3.5.0</version.maven.plugin.enforcer>
30+
<version.maven.plugin.gpg>3.2.4</version.maven.plugin.gpg>
31+
<version.maven.plugin.jacoco>0.8.12</version.maven.plugin.jacoco>
32+
<version.maven.plugin.javadoc>3.8.0</version.maven.plugin.javadoc>
33+
<version.maven.plugin.jar>3.4.2</version.maven.plugin.jar>
34+
<version.maven.plugin.license>2.4.0</version.maven.plugin.license>
35+
<version.maven.plugin.nexus>1.7.0</version.maven.plugin.nexus>
36+
<version.maven.plugin.release>3.1.1</version.maven.plugin.release>
37+
<version.maven.plugin.resources>3.3.1</version.maven.plugin.resources>
38+
<version.maven.plugin.source>3.3.1</version.maven.plugin.source>
39+
<version.maven.plugin.surefire>3.2.5</version.maven.plugin.surefire>
40+
<version.maven.plugin.surefire>3.2.5</version.maven.plugin.surefire>
2041
</properties>
2142

2243
<dependencyManagement>
@@ -110,11 +131,187 @@
110131
<build>
111132
<plugins>
112133
<plugin>
113-
<groupId>org.honton.chas</groupId>
134+
<groupId>org.sonatype.plugins</groupId>
135+
<artifactId>nexus-staging-maven-plugin</artifactId>
136+
<version>${version.maven.plugin.nexus}</version>
137+
<extensions>true</extensions>
138+
<configuration>
139+
<serverId>ossrh</serverId>
140+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
141+
<autoReleaseAfterClose>false</autoReleaseAfterClose>
142+
<skipLocalStaging>true</skipLocalStaging>
143+
</configuration>
144+
</plugin>
145+
146+
<plugin>
147+
<groupId>org.apache.maven.plugins</groupId>
148+
<artifactId>maven-gpg-plugin</artifactId>
149+
<version>${version.maven.plugin.gpg}</version>
150+
</plugin>
151+
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-source-plugin</artifactId>
155+
<version>${version.maven.plugin.source}</version>
156+
<executions>
157+
<execution>
158+
<id>attach-sources</id>
159+
<goals>
160+
<goal>jar-no-fork</goal>
161+
</goals>
162+
</execution>
163+
</executions>
164+
</plugin>
165+
166+
<plugin>
167+
<groupId>org.apache.maven.plugins</groupId>
168+
<artifactId>maven-release-plugin</artifactId>
169+
<version>${version.maven.plugin.release}</version>
170+
<configuration>
171+
<tagNameFormat>@{project.version}</tagNameFormat>
172+
<autoVersionSubmodules>true</autoVersionSubmodules>
173+
<useReleaseProfile>false</useReleaseProfile>
174+
<releaseProfiles>release</releaseProfiles>
175+
<goals>deploy</goals>
176+
</configuration>
177+
</plugin>
178+
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-compiler-plugin</artifactId>
182+
<version>${version.maven.plugin.compiler}</version>
183+
<configuration>
184+
<source>${maven.plugin.compiler.source}</source>
185+
<target>${maven.plugin.compiler.target}</target>
186+
<showWarnings>false</showWarnings>
187+
</configuration>
188+
</plugin>
189+
190+
<plugin>
191+
<groupId>org.apache.maven.plugins</groupId>
192+
<artifactId>maven-surefire-plugin</artifactId>
193+
<version>${version.maven.plugin.surefire}</version>
194+
<configuration>
195+
<skipTests>true</skipTests>
196+
</configuration>
197+
<dependencies>
198+
<dependency>
199+
<groupId>org.junit.jupiter</groupId>
200+
<artifactId>junit-jupiter-engine</artifactId>
201+
<version>${junit-jupiter.version}</version>
202+
</dependency>
203+
</dependencies>
204+
</plugin>
205+
206+
<plugin>
207+
<groupId>org.apache.maven.plugins</groupId>
208+
<artifactId>maven-javadoc-plugin</artifactId>
209+
<version>${version.maven.plugin.javadoc}</version>
210+
<executions>
211+
<execution>
212+
<id>attach-javadocs</id>
213+
<goals>
214+
<goal>jar</goal>
215+
</goals>
216+
</execution>
217+
</executions>
218+
<configuration>
219+
<source>${maven.plugin.compiler.source}</source>
220+
<overview>${basedir}/src/main/java/overview.html</overview>
221+
</configuration>
222+
</plugin>
223+
224+
<plugin>
225+
<groupId>org.jacoco</groupId>
226+
<artifactId>jacoco-maven-plugin</artifactId>
227+
<version>${version.maven.plugin.jacoco}</version>
228+
<executions>
229+
<execution>
230+
<id>default-prepare-agent</id>
231+
<goals>
232+
<goal>prepare-agent</goal>
233+
</goals>
234+
</execution>
235+
<execution>
236+
<id>default-prepare-agent-integration</id>
237+
<goals>
238+
<goal>prepare-agent-integration</goal>
239+
</goals>
240+
</execution>
241+
<execution>
242+
<id>default-report</id>
243+
<goals>
244+
<goal>report</goal>
245+
</goals>
246+
</execution>
247+
<execution>
248+
<id>default-report-integration</id>
249+
<goals>
250+
<goal>report-integration</goal>
251+
</goals>
252+
</execution>
253+
</executions>
254+
</plugin>
255+
256+
<plugin>
257+
<groupId>org.apache.maven.plugins</groupId>
258+
<artifactId>maven-dependency-plugin</artifactId>
259+
<version>${version.maven.plugin.dependency}</version>
260+
</plugin>
261+
262+
<plugin>
263+
<groupId>org.apache.maven.plugins</groupId>
264+
<artifactId>maven-jar-plugin</artifactId>
265+
<version>${version.maven.plugin.jar}</version>
266+
<configuration>
267+
<archive>
268+
<manifest>
269+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
270+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
271+
</manifest>
272+
</archive>
273+
</configuration>
274+
</plugin>
275+
276+
<plugin>
277+
<groupId>org.apache.maven.plugins</groupId>
278+
<artifactId>maven-resources-plugin</artifactId>
279+
<version>${version.maven.plugin.resources}</version>
280+
<configuration>
281+
<escapeString>\</escapeString>
282+
<encoding>UTF-8</encoding>
283+
</configuration>
284+
</plugin>
285+
<plugin>
286+
<groupId>org.codehaus.mojo</groupId>
114287
<artifactId>license-maven-plugin</artifactId>
288+
<version>${version.maven.plugin.license}</version>
115289
<configuration>
116-
<skipCompliance>true</skipCompliance>
290+
<verbose>false</verbose>
291+
<extraExtensions>
292+
<myProprietaryExtension>java</myProprietaryExtension>
293+
</extraExtensions>
117294
</configuration>
295+
<executions>
296+
<execution>
297+
<id>add-license</id>
298+
<goals>
299+
<goal>update-file-header</goal>
300+
</goals>
301+
<phase>process-sources</phase>
302+
<configuration>
303+
<projectName>Data API Java Client</projectName>
304+
<organizationName>DataStax</organizationName>
305+
<licenseName>apache2</licenseName>
306+
<licenseResolver>${project.baseUri}/src/license</licenseResolver>
307+
<addJavaLicenseAfterPackage>true</addJavaLicenseAfterPackage>
308+
<sectionDelimiter>--</sectionDelimiter>
309+
<roots>
310+
<root>src/main/java</root>
311+
</roots>
312+
</configuration>
313+
</execution>
314+
</executions>
118315
</plugin>
119316
</plugins>
120317
</build>
@@ -132,5 +329,52 @@
132329
<url>https://github.com/datastax/astra-db-java</url>
133330
<tag>1.0.0-beta1</tag>
134331
</scm>
135-
332+
333+
<developers>
334+
<developer>
335+
<id>clunven</id>
336+
<name>Cedrick Lunven</name>
337+
<email>[email protected]</email>
338+
<url>https://github.com/clun</url>
339+
</developer>
340+
</developers>
341+
342+
<profiles>
343+
<profile>
344+
<id>release</id>
345+
<build>
346+
<plugins>
347+
<plugin>
348+
<groupId>org.apache.maven.plugins</groupId>
349+
<artifactId>maven-gpg-plugin</artifactId>
350+
<executions>
351+
<execution>
352+
<id>sign-artifacts</id>
353+
<phase>verify</phase>
354+
<goals>
355+
<goal>sign</goal>
356+
</goals>
357+
</execution>
358+
</executions>
359+
</plugin>
360+
</plugins>
361+
</build>
362+
</profile>
363+
</profiles>
364+
365+
<!-- Organization -->
366+
<organization>
367+
<name>DataStax</name>
368+
<url>https://www.datastax.com</url>
369+
</organization>
370+
371+
<!-- Release the client with Apache License -->
372+
<licenses>
373+
<license>
374+
<name>Apache-2.0</name>
375+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
376+
<distribution>repo</distribution>
377+
<comments>A business-friendly OSS license</comments>
378+
</license>
379+
</licenses>
136380
</project>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Licensed under the Apache License, Version 2.0
2+
You may not use this file except in compliance with the License.
3+
You may obtain a copy of the License at
4+
5+
http://www.apache.org/licenses/LICENSE-2.0
6+
7+
Unless required by applicable law or agreed to in writing, software
8+
distributed under the License is distributed on an "AS IS" BASIS,
9+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+
See the License for the specific language governing permissions and
11+
limitations under the License.

0 commit comments

Comments
 (0)