|
| 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 | + |
| 5 | + <groupId>io.quarkiverse.langchain4j</groupId> |
| 6 | + <artifactId>quarkus-langchain4j-sample-secure-sql-chatbot</artifactId> |
| 7 | + <name>Quarkus LangChain4j - Sample - Secure Chatbot & RAG from a SQL database</name> |
| 8 | + <version>1.0-SNAPSHOT</version> |
| 9 | + |
| 10 | + <properties> |
| 11 | + <compiler-plugin.version>3.13.0</compiler-plugin.version> |
| 12 | + <maven.compiler.parameters>true</maven.compiler.parameters> |
| 13 | + <maven.compiler.release>17</maven.compiler.release> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 16 | + <quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id> |
| 17 | + <quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id> |
| 18 | + <quarkus.platform.version>3.15.1</quarkus.platform.version> |
| 19 | + <skipITs>true</skipITs> |
| 20 | + <surefire-plugin.version>3.2.5</surefire-plugin.version> |
| 21 | + <quarkus-langchain4j.version>0.21.0</quarkus-langchain4j.version> |
| 22 | + </properties> |
| 23 | + |
| 24 | + <dependencyManagement> |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>${quarkus.platform.group-id}</groupId> |
| 28 | + <artifactId>${quarkus.platform.artifact-id}</artifactId> |
| 29 | + <version>${quarkus.platform.version}</version> |
| 30 | + <type>pom</type> |
| 31 | + <scope>import</scope> |
| 32 | + </dependency> |
| 33 | + </dependencies> |
| 34 | + </dependencyManagement> |
| 35 | + |
| 36 | + <dependencies> |
| 37 | + <dependency> |
| 38 | + <groupId>io.quarkus</groupId> |
| 39 | + <artifactId>quarkus-rest-jackson</artifactId> |
| 40 | + </dependency> |
| 41 | + <dependency> |
| 42 | + <groupId>io.quarkus</groupId> |
| 43 | + <artifactId>quarkus-websockets-next</artifactId> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>io.quarkus</groupId> |
| 47 | + <artifactId>quarkus-oidc</artifactId> |
| 48 | + </dependency> |
| 49 | + <dependency> |
| 50 | + <groupId>io.quarkus</groupId> |
| 51 | + <artifactId>quarkus-jdbc-postgresql</artifactId> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>io.quarkus</groupId> |
| 55 | + <artifactId>quarkus-hibernate-orm</artifactId> |
| 56 | + </dependency> |
| 57 | + <dependency> |
| 58 | + <groupId>io.quarkus</groupId> |
| 59 | + <artifactId>quarkus-hibernate-orm-panache</artifactId> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>io.quarkus</groupId> |
| 63 | + <artifactId>quarkus-rest-qute</artifactId> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>io.quarkiverse.langchain4j</groupId> |
| 67 | + <artifactId>quarkus-langchain4j-openai</artifactId> |
| 68 | + <version>${quarkus-langchain4j.version}</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>com.fasterxml.jackson.dataformat</groupId> |
| 72 | + <artifactId>jackson-dataformat-csv</artifactId> |
| 73 | + </dependency> |
| 74 | + |
| 75 | + |
| 76 | + <!-- UI --> |
| 77 | + <dependency> |
| 78 | + <groupId>io.mvnpm</groupId> |
| 79 | + <artifactId>importmap</artifactId> |
| 80 | + <version>1.0.11</version> |
| 81 | + </dependency> |
| 82 | + <dependency> |
| 83 | + <groupId>org.mvnpm</groupId> |
| 84 | + <artifactId>lit</artifactId> |
| 85 | + <version>3.2.0</version> |
| 86 | + <scope>runtime</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>org.mvnpm</groupId> |
| 90 | + <artifactId>wc-chatbot</artifactId> |
| 91 | + <version>0.2.0</version> |
| 92 | + <scope>runtime</scope> |
| 93 | + </dependency> |
| 94 | + |
| 95 | + <!-- Minimal dependencies to constrain the build --> |
| 96 | + <dependency> |
| 97 | + <groupId>io.quarkiverse.langchain4j</groupId> |
| 98 | + <artifactId>quarkus-langchain4j-openai-deployment</artifactId> |
| 99 | + <version>${quarkus-langchain4j.version}</version> |
| 100 | + <scope>test</scope> |
| 101 | + <type>pom</type> |
| 102 | + <exclusions> |
| 103 | + <exclusion> |
| 104 | + <groupId>*</groupId> |
| 105 | + <artifactId>*</artifactId> |
| 106 | + </exclusion> |
| 107 | + </exclusions> |
| 108 | + </dependency> |
| 109 | + </dependencies> |
| 110 | + <build> |
| 111 | + <plugins> |
| 112 | + <plugin> |
| 113 | + <groupId>io.quarkus</groupId> |
| 114 | + <artifactId>quarkus-maven-plugin</artifactId> |
| 115 | + <version>${quarkus.platform.version}</version> |
| 116 | + <executions> |
| 117 | + <execution> |
| 118 | + <goals> |
| 119 | + <goal>build</goal> |
| 120 | + </goals> |
| 121 | + </execution> |
| 122 | + </executions> |
| 123 | + </plugin> |
| 124 | + <plugin> |
| 125 | + <artifactId>maven-compiler-plugin</artifactId> |
| 126 | + <version>${compiler-plugin.version}</version> |
| 127 | + </plugin> |
| 128 | + <plugin> |
| 129 | + <artifactId>maven-surefire-plugin</artifactId> |
| 130 | + <version>3.5.1</version> |
| 131 | + <configuration> |
| 132 | + <systemPropertyVariables> |
| 133 | + <java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager> |
| 134 | + <maven.home>${maven.home}</maven.home> |
| 135 | + </systemPropertyVariables> |
| 136 | + </configuration> |
| 137 | + </plugin> |
| 138 | + </plugins> |
| 139 | + </build> |
| 140 | + |
| 141 | + <profiles> |
| 142 | + <profile> |
| 143 | + <id>native</id> |
| 144 | + <activation> |
| 145 | + <property> |
| 146 | + <name>native</name> |
| 147 | + </property> |
| 148 | + </activation> |
| 149 | + <build> |
| 150 | + <plugins> |
| 151 | + <plugin> |
| 152 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 153 | + <version>3.5.1</version> |
| 154 | + <executions> |
| 155 | + <execution> |
| 156 | + <goals> |
| 157 | + <goal>integration-test</goal> |
| 158 | + <goal>verify</goal> |
| 159 | + </goals> |
| 160 | + <configuration> |
| 161 | + <systemPropertyVariables> |
| 162 | + <native.image.path> |
| 163 | + ${project.build.directory}/${project.build.finalName}-runner |
| 164 | + </native.image.path> |
| 165 | + <java.util.logging.manager>org.jboss.logmanager.LogManager |
| 166 | + </java.util.logging.manager> |
| 167 | + <maven.home>${maven.home}</maven.home> |
| 168 | + </systemPropertyVariables> |
| 169 | + </configuration> |
| 170 | + </execution> |
| 171 | + </executions> |
| 172 | + </plugin> |
| 173 | + </plugins> |
| 174 | + </build> |
| 175 | + <properties> |
| 176 | + <quarkus.package.type>native</quarkus.package.type> |
| 177 | + </properties> |
| 178 | + </profile> |
| 179 | + |
| 180 | + <profile> |
| 181 | + <id>mvnpm</id> |
| 182 | + <repositories> |
| 183 | + <repository> |
| 184 | + <id>central</id> |
| 185 | + <name>central</name> |
| 186 | + <url>https://repo.maven.apache.org/maven2</url> |
| 187 | + </repository> |
| 188 | + <repository> |
| 189 | + <snapshots> |
| 190 | + <enabled>false</enabled> |
| 191 | + </snapshots> |
| 192 | + <id>mvnpm.org</id> |
| 193 | + <name>mvnpm</name> |
| 194 | + <url>https://repo.mvnpm.org/maven2</url> |
| 195 | + </repository> |
| 196 | + </repositories> |
| 197 | + </profile> |
| 198 | + </profiles> |
| 199 | + |
| 200 | +</project> |
0 commit comments