|
13 | 13 | <parent> |
14 | 14 | <groupId>com.oracle.genai</groupId> |
15 | 15 | <artifactId>oci-genai-auth-java-parent</artifactId> |
16 | | - <version>1.0.8</version> |
| 16 | + <version>1.0.9</version> |
17 | 17 | </parent> |
18 | 18 |
|
19 | 19 | <artifactId>oci-genai-auth-java-core</artifactId> |
|
55 | 55 | <dependency> |
56 | 56 | <groupId>com.openai</groupId> |
57 | 57 | <artifactId>openai-java-core</artifactId> |
58 | | - <version>4.26.0</version> |
| 58 | + <version>${openai-java.version}</version> |
59 | 59 | <optional>true</optional> |
60 | 60 | </dependency> |
61 | 61 |
|
62 | 62 | <!-- OpenAI SDK — integration tests only --> |
63 | 63 | <dependency> |
64 | 64 | <groupId>com.openai</groupId> |
65 | 65 | <artifactId>openai-java</artifactId> |
66 | | - <version>4.26.0</version> |
| 66 | + <version>${openai-java.version}</version> |
67 | 67 | <scope>test</scope> |
68 | 68 | </dependency> |
69 | 69 | </dependencies> |
| 70 | + |
| 71 | + <build> |
| 72 | + <plugins> |
| 73 | + <plugin> |
| 74 | + <groupId>org.apache.maven.plugins</groupId> |
| 75 | + <artifactId>maven-source-plugin</artifactId> |
| 76 | + <executions> |
| 77 | + <execution> |
| 78 | + <id>attach-sources</id> |
| 79 | + <phase>package</phase> |
| 80 | + <goals> |
| 81 | + <goal>jar-no-fork</goal> |
| 82 | + </goals> |
| 83 | + </execution> |
| 84 | + </executions> |
| 85 | + </plugin> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 89 | + <executions> |
| 90 | + <execution> |
| 91 | + <id>attach-javadocs</id> |
| 92 | + <phase>package</phase> |
| 93 | + <goals> |
| 94 | + <goal>jar</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-antrun-plugin</artifactId> |
| 102 | + <executions> |
| 103 | + <execution> |
| 104 | + <id>add-legal-files-to-release-jars</id> |
| 105 | + <phase>package</phase> |
| 106 | + <goals> |
| 107 | + <goal>run</goal> |
| 108 | + </goals> |
| 109 | + <configuration> |
| 110 | + <target> |
| 111 | + <zip destfile="${project.build.directory}/${project.build.finalName}.jar" update="true"> |
| 112 | + <fileset dir="${project.basedir}/.."> |
| 113 | + <include name="LICENSE.txt"/> |
| 114 | + <include name="THIRD_PARTY_LICENSES.txt"/> |
| 115 | + </fileset> |
| 116 | + </zip> |
| 117 | + <zip destfile="${project.build.directory}/${project.build.finalName}-sources.jar" update="true"> |
| 118 | + <fileset dir="${project.basedir}/.."> |
| 119 | + <include name="LICENSE.txt"/> |
| 120 | + <include name="THIRD_PARTY_LICENSES.txt"/> |
| 121 | + </fileset> |
| 122 | + </zip> |
| 123 | + <zip destfile="${project.build.directory}/${project.build.finalName}-javadoc.jar" update="true"> |
| 124 | + <fileset dir="${project.basedir}/.."> |
| 125 | + <include name="LICENSE.txt"/> |
| 126 | + <include name="THIRD_PARTY_LICENSES.txt"/> |
| 127 | + </fileset> |
| 128 | + </zip> |
| 129 | + </target> |
| 130 | + </configuration> |
| 131 | + </execution> |
| 132 | + </executions> |
| 133 | + </plugin> |
| 134 | + </plugins> |
| 135 | + </build> |
70 | 136 | </project> |
0 commit comments