diff options
Diffstat (limited to 'model-integration/pom.xml')
-rw-r--r-- | model-integration/pom.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/model-integration/pom.xml b/model-integration/pom.xml index c27ed9d2c31..c96441f11a7 100644 --- a/model-integration/pom.xml +++ b/model-integration/pom.xml @@ -111,6 +111,11 @@ </dependency> <dependency> + <groupId>com.theokanning.openai-gpt3-java</groupId> + <artifactId>service</artifactId> + </dependency> + + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> @@ -146,6 +151,18 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <!-- + openai-gpt3-java depends on a different Jackson version than the one we provide, + which leads to warnings, so we must disable error on warnings. + --> + <compilerArgs> + <arg>-Xlint:all</arg> + <arg>-Xlint:-rawtypes</arg> + <arg>-Xlint:-unchecked</arg> + <arg>-Xlint:-serial</arg> + </compilerArgs> + </configuration> </plugin> <plugin> <groupId>com.github.os72</groupId> |