|
9 | 9 | <version>1.0-SNAPSHOT</version> |
10 | 10 |
|
11 | 11 | <properties> |
12 | | - <maven.compiler.source>17</maven.compiler.source> |
13 | | - <maven.compiler.target>17</maven.compiler.target> |
| 12 | + <maven.compiler.source>21</maven.compiler.source> |
| 13 | + <maven.compiler.target>21</maven.compiler.target> |
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
15 | 15 | </properties> |
16 | 16 |
|
|
58 | 58 | <artifactId>junit-jupiter-api</artifactId> |
59 | 59 | <scope>test</scope> |
60 | 60 | </dependency> |
| 61 | + |
61 | 62 | <dependency> |
62 | 63 | <groupId>ch.qos.logback</groupId> |
63 | 64 | <artifactId>logback-core</artifactId> |
|
82 | 83 | <version>6.6.1.202309021850-r</version> |
83 | 84 | </dependency> |
84 | 85 |
|
| 86 | + <!-- Langchain4j dependencies group --> |
| 87 | + <dependency> |
| 88 | + <groupId>dev.langchain4j</groupId> |
| 89 | + <artifactId>langchain4j-ollama</artifactId> |
| 90 | + <version>0.36.1</version> |
| 91 | + </dependency> |
| 92 | + <dependency> |
| 93 | + <groupId>dev.langchain4j</groupId> |
| 94 | + <artifactId>langchain4j-jlama</artifactId> |
| 95 | + <version>0.36.1</version> |
| 96 | + </dependency> |
85 | 97 | </dependencies> |
86 | 98 |
|
87 | 99 | <build> |
|
129 | 141 | <artifactId>versions-maven-plugin</artifactId> |
130 | 142 | <version>2.18.0</version> |
131 | 143 | </plugin> |
| 144 | + <plugin> |
| 145 | + <groupId>org.apache.maven.plugins</groupId> |
| 146 | + <artifactId>maven-compiler-plugin</artifactId> |
| 147 | + <configuration> |
| 148 | + <source>21</source> |
| 149 | + <target>21</target> |
| 150 | + </configuration> |
| 151 | + </plugin> |
132 | 152 | <plugin> |
133 | 153 | <groupId>org.apache.maven.plugins</groupId> |
134 | | - <artifactId>maven-compiler-plugin</artifactId> |
| 154 | + <artifactId>maven-surefire-plugin</artifactId> |
135 | 155 | <configuration> |
136 | | - <source>17</source> |
137 | | - <target>17</target> |
| 156 | + <forkCount>1</forkCount> |
| 157 | + <argLine> |
| 158 | + --add-modules=jdk.incubator.vector |
| 159 | + --add-exports java.base/sun.nio.ch=ALL-UNNAMED |
| 160 | + --enable-preview |
| 161 | + --enable-native-access=ALL-UNNAMED |
| 162 | + --add-exports java.base/jdk.internal.vm.vector=ALL-UNNAMED |
| 163 | + </argLine> |
138 | 164 | </configuration> |
139 | 165 | </plugin> |
140 | | - </plugins> |
| 166 | + </plugins> |
141 | 167 | </build> |
142 | 168 | </project> |
0 commit comments