|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<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"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <parent> |
| 5 | + <groupId>dev.langchain4j</groupId> |
| 6 | + <artifactId>langchain4j-community</artifactId> |
| 7 | + <version>1.1.0-beta7-SNAPSHOT</version> |
| 8 | + <relativePath>../../pom.xml</relativePath> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <artifactId>langchain4j-community-oci-genai</artifactId> |
| 12 | + <name>LangChain4j :: Community :: Integration :: Oracle OCI Generative AI</name> |
| 13 | + <description>Oracle OCI Generative AI</description> |
| 14 | + <url>https://www.oracle.com/artificial-intelligence/generative-ai/generative-ai-service</url> |
| 15 | + |
| 16 | + <licenses> |
| 17 | + <license> |
| 18 | + <name>Apache-2.0</name> |
| 19 | + <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 20 | + <distribution>repo</distribution> |
| 21 | + <comments>A business-friendly OSS license</comments> |
| 22 | + </license> |
| 23 | + </licenses> |
| 24 | + |
| 25 | + <properties> |
| 26 | + <skipOciGenAiITs>false</skipOciGenAiITs> |
| 27 | + <oci-sdk.version>3.67.0</oci-sdk.version> |
| 28 | + <!-- Stable module name until lc4j switches to JPMS --> |
| 29 | + <automatic-module-name>langchain4j.community.oci.genai</automatic-module-name> |
| 30 | + </properties> |
| 31 | + |
| 32 | + <dependencies> |
| 33 | + |
| 34 | + <dependency> |
| 35 | + <groupId>dev.langchain4j</groupId> |
| 36 | + <artifactId>langchain4j-core</artifactId> |
| 37 | + <version>${langchain4j.core.version}</version> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <dependency> |
| 41 | + <groupId>com.oracle.oci.sdk</groupId> |
| 42 | + <artifactId>oci-java-sdk-generativeaiinference</artifactId> |
| 43 | + <version>${oci-sdk.version}</version> |
| 44 | + </dependency> |
| 45 | + |
| 46 | + <!-- Tests extend the integration tests from the core module --> |
| 47 | + <dependency> |
| 48 | + <groupId>dev.langchain4j</groupId> |
| 49 | + <artifactId>langchain4j-core</artifactId> |
| 50 | + <version>${langchain4j.core.version}</version> |
| 51 | + <classifier>tests</classifier> |
| 52 | + <type>test-jar</type> |
| 53 | + <scope>test</scope> |
| 54 | + </dependency> |
| 55 | + |
| 56 | + <dependency> |
| 57 | + <groupId>dev.langchain4j</groupId> |
| 58 | + <artifactId>langchain4j</artifactId> |
| 59 | + <version>${langchain4j.version}</version> |
| 60 | + <scope>test</scope> |
| 61 | + </dependency> |
| 62 | + |
| 63 | + <dependency> |
| 64 | + <groupId>dev.langchain4j</groupId> |
| 65 | + <artifactId>langchain4j</artifactId> |
| 66 | + <version>${langchain4j.version}</version> |
| 67 | + <classifier>tests</classifier> |
| 68 | + <type>test-jar</type> |
| 69 | + <scope>test</scope> |
| 70 | + </dependency> |
| 71 | + |
| 72 | + <dependency> |
| 73 | + <groupId>org.junit.jupiter</groupId> |
| 74 | + <artifactId>junit-jupiter-engine</artifactId> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + <dependency> |
| 78 | + <groupId>org.slf4j</groupId> |
| 79 | + <artifactId>jcl-over-slf4j</artifactId> |
| 80 | + <scope>test</scope> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>com.oracle.oci.sdk</groupId> |
| 84 | + <artifactId>oci-java-sdk-common-httpclient-jersey3</artifactId> |
| 85 | + <version>${oci-sdk.version}</version> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
| 88 | + </dependencies> |
| 89 | + |
| 90 | + <build> |
| 91 | + <plugins> |
| 92 | + <plugin> |
| 93 | + <groupId>org.apache.maven.plugins</groupId> |
| 94 | + <artifactId>maven-compiler-plugin</artifactId> |
| 95 | + <configuration> |
| 96 | + <useModulePath>false</useModulePath> |
| 97 | + </configuration> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-surefire-plugin</artifactId> |
| 102 | + <configuration> |
| 103 | + <useModulePath>false</useModulePath> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + <plugin> |
| 107 | + <groupId>org.apache.maven.plugins</groupId> |
| 108 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 109 | + <configuration> |
| 110 | + <skipTests>${skipOciGenAiITs}</skipTests> |
| 111 | + <useModulePath>false</useModulePath> |
| 112 | + </configuration> |
| 113 | + </plugin> |
| 114 | + <plugin> |
| 115 | + <groupId>org.apache.maven.plugins</groupId> |
| 116 | + <artifactId>maven-jar-plugin</artifactId> |
| 117 | + <configuration> |
| 118 | + <archive> |
| 119 | + <manifestEntries> |
| 120 | + <Automatic-Module-Name>${automatic-module-name}</Automatic-Module-Name> |
| 121 | + </manifestEntries> |
| 122 | + </archive> |
| 123 | + </configuration> |
| 124 | + </plugin> |
| 125 | + <plugin> |
| 126 | + <groupId>org.honton.chas</groupId> |
| 127 | + <artifactId>license-maven-plugin</artifactId> |
| 128 | + <configuration> |
| 129 | + <!-- |
| 130 | + OCI SDK libs are dual-licensed under the UPL 1.0 or Apache License 2.0, |
| 131 | + license files are custom generated to the artifacts, hence not passing the compliance test. |
| 132 | + --> |
| 133 | + <skipCompliance>true</skipCompliance> |
| 134 | + </configuration> |
| 135 | + </plugin> |
| 136 | + </plugins> |
| 137 | + </build> |
| 138 | + |
| 139 | +</project> |
0 commit comments