github.com/treeverse/lakefs@v1.24.1-0.20240520134607-95648127bfb0/clients/java-legacy/pom.xml (about) 1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>io.lakefs</groupId> 5 <artifactId>api-client</artifactId> 6 <packaging>jar</packaging> 7 <name>api-client</name> 8 <version>0.1.0-SNAPSHOT</version> 9 <url>https://lakefs.io</url> 10 <description>lakeFS OpenAPI Java client legacy SDK</description> 11 <scm> 12 <connection>scm:git:git@github.com:treeverse/lakeFS.git</connection> 13 <developerConnection>scm:git:git@github.com:treeverse/lakeFS.git</developerConnection> 14 <url>https://github.com/treeverse/lakeFS</url> 15 </scm> 16 <parent> 17 <groupId>io.lakefs</groupId> 18 <artifactId>lakefs-parent</artifactId> 19 <version>0</version> 20 </parent> 21 22 <licenses> 23 <license> 24 <name>apache2</name> 25 <url>https://www.apache.org/licenses/LICENSE-2.0.html</url> 26 <distribution>repo</distribution> 27 </license> 28 </licenses> 29 30 <developers> 31 <developer> 32 <name>Treeverse lakeFS dev</name> 33 <email>services@treeverse.io</email> 34 <organization>lakefs.io</organization> 35 <organizationUrl>https://lakefs.io</organizationUrl> 36 </developer> 37 </developers> 38 39 <build> 40 <plugins> 41 <plugin> 42 <groupId>org.apache.maven.plugins</groupId> 43 <artifactId>maven-compiler-plugin</artifactId> 44 <version>3.8.1</version> 45 <configuration> 46 <fork>true</fork> 47 <meminitial>128m</meminitial> 48 <maxmem>512m</maxmem> 49 <compilerArgs> 50 <arg>-Xlint:all</arg> 51 <arg>-J-Xss4m</arg><!-- Compiling the generated JSON.java file may require larger stack size. --> 52 </compilerArgs> 53 </configuration> 54 </plugin> 55 <plugin> 56 <groupId>org.apache.maven.plugins</groupId> 57 <artifactId>maven-enforcer-plugin</artifactId> 58 <version>3.0.0-M1</version> 59 <executions> 60 <execution> 61 <id>enforce-maven</id> 62 <goals> 63 <goal>enforce</goal> 64 </goals> 65 <configuration> 66 <rules> 67 <requireMavenVersion> 68 <version>2.2.0</version> 69 </requireMavenVersion> 70 </rules> 71 </configuration> 72 </execution> 73 </executions> 74 </plugin> 75 <plugin> 76 <groupId>org.apache.maven.plugins</groupId> 77 <artifactId>maven-surefire-plugin</artifactId> 78 <version>3.0.0-M4</version> 79 <configuration> 80 <systemProperties> 81 <property> 82 <name>loggerPath</name> 83 <value>conf/log4j.properties</value> 84 </property> 85 </systemProperties> 86 <argLine>-Xms512m -Xmx1500m</argLine> 87 <parallel>methods</parallel> 88 <threadCount>10</threadCount> 89 </configuration> 90 </plugin> 91 <plugin> 92 <artifactId>maven-dependency-plugin</artifactId> 93 <executions> 94 <execution> 95 <phase>package</phase> 96 <goals> 97 <goal>copy-dependencies</goal> 98 </goals> 99 <configuration> 100 <outputDirectory>${project.build.directory}/lib</outputDirectory> 101 </configuration> 102 </execution> 103 </executions> 104 </plugin> 105 106 <!-- attach test jar --> 107 <plugin> 108 <groupId>org.apache.maven.plugins</groupId> 109 <artifactId>maven-jar-plugin</artifactId> 110 <version>2.2</version> 111 <executions> 112 <execution> 113 <goals> 114 <goal>jar</goal> 115 <goal>test-jar</goal> 116 </goals> 117 </execution> 118 </executions> 119 <configuration> 120 </configuration> 121 </plugin> 122 123 <plugin> 124 <groupId>org.codehaus.mojo</groupId> 125 <artifactId>build-helper-maven-plugin</artifactId> 126 <version>1.10</version> 127 <executions> 128 <execution> 129 <id>add_sources</id> 130 <phase>generate-sources</phase> 131 <goals> 132 <goal>add-source</goal> 133 </goals> 134 <configuration> 135 <sources> 136 <source>src/main/java</source> 137 </sources> 138 </configuration> 139 </execution> 140 <execution> 141 <id>add_test_sources</id> 142 <phase>generate-test-sources</phase> 143 <goals> 144 <goal>add-test-source</goal> 145 </goals> 146 <configuration> 147 <sources> 148 <source>src/test/java</source> 149 </sources> 150 </configuration> 151 </execution> 152 </executions> 153 </plugin> 154 <plugin> 155 <groupId>org.apache.maven.plugins</groupId> 156 <artifactId>maven-javadoc-plugin</artifactId> 157 <version>3.1.1</version> 158 <executions> 159 <execution> 160 <id>attach-javadocs</id> 161 <goals> 162 <goal>jar</goal> 163 </goals> 164 </execution> 165 </executions> 166 <configuration> 167 <doclint>none</doclint> 168 <tags> 169 <tag> 170 <name>http.response.details</name> 171 <placement>a</placement> 172 <head>Http Response Details:</head> 173 </tag> 174 </tags> 175 </configuration> 176 </plugin> 177 <plugin> 178 <groupId>org.apache.maven.plugins</groupId> 179 <artifactId>maven-source-plugin</artifactId> 180 <version>2.2.1</version> 181 <executions> 182 <execution> 183 <id>attach-sources</id> 184 <goals> 185 <goal>jar-no-fork</goal> 186 </goals> 187 </execution> 188 </executions> 189 </plugin> 190 </plugins> 191 </build> 192 193 <profiles> 194 <profile> 195 <id>sign-artifacts</id> 196 <build> 197 <plugins> 198 <plugin> 199 <groupId>org.apache.maven.plugins</groupId> 200 <artifactId>maven-gpg-plugin</artifactId> 201 <version>1.5</version> 202 <executions> 203 <execution> 204 <id>sign-artifacts</id> 205 <phase>verify</phase> 206 <goals> 207 <goal>sign</goal> 208 </goals> 209 </execution> 210 </executions> 211 </plugin> 212 </plugins> 213 </build> 214 </profile> 215 </profiles> 216 217 <dependencies> 218 <dependency> 219 <groupId>io.swagger</groupId> 220 <artifactId>swagger-annotations</artifactId> 221 <version>${swagger-core-version}</version> 222 </dependency> 223 <!-- @Nullable annotation --> 224 <dependency> 225 <groupId>com.google.code.findbugs</groupId> 226 <artifactId>jsr305</artifactId> 227 <version>3.0.2</version> 228 </dependency> 229 <dependency> 230 <groupId>com.squareup.okhttp3</groupId> 231 <artifactId>okhttp</artifactId> 232 <version>${okhttp-version}</version> 233 </dependency> 234 <dependency> 235 <groupId>com.squareup.okhttp3</groupId> 236 <artifactId>logging-interceptor</artifactId> 237 <version>${okhttp-version}</version> 238 </dependency> 239 <dependency> 240 <groupId>com.google.code.gson</groupId> 241 <artifactId>gson</artifactId> 242 <version>${gson-version}</version> 243 </dependency> 244 <dependency> 245 <groupId>io.gsonfire</groupId> 246 <artifactId>gson-fire</artifactId> 247 <version>${gson-fire-version}</version> 248 </dependency> 249 <dependency> 250 <groupId>org.apache.commons</groupId> 251 <artifactId>commons-lang3</artifactId> 252 <version>${commons-lang3-version}</version> 253 </dependency> 254 <dependency> 255 <groupId>org.threeten</groupId> 256 <artifactId>threetenbp</artifactId> 257 <version>${threetenbp-version}</version> 258 </dependency> 259 <dependency> 260 <groupId>jakarta.annotation</groupId> 261 <artifactId>jakarta.annotation-api</artifactId> 262 <version>${jakarta-annotation-version}</version> 263 <scope>provided</scope> 264 </dependency> 265 <dependency> 266 <groupId>org.openapitools</groupId> 267 <artifactId>jackson-databind-nullable</artifactId> 268 <version>${jackson-databind-nullable-version}</version> 269 </dependency> 270 <!-- test dependencies --> 271 <dependency> 272 <groupId>junit</groupId> 273 <artifactId>junit</artifactId> 274 <version>${junit-version}</version> 275 <scope>test</scope> 276 </dependency> 277 <dependency> 278 <groupId>org.mockito</groupId> 279 <artifactId>mockito-core</artifactId> 280 <version>3.11.2</version> 281 <scope>test</scope> 282 </dependency> 283 </dependencies> 284 <properties> 285 <java.version>1.7</java.version> 286 <maven.compiler.source>${java.version}</maven.compiler.source> 287 <maven.compiler.target>${java.version}</maven.compiler.target> 288 <gson-fire-version>1.8.5</gson-fire-version> 289 <swagger-core-version>1.6.2</swagger-core-version> 290 <okhttp-version>4.9.1</okhttp-version> 291 <gson-version>2.8.6</gson-version> 292 <commons-lang3-version>3.11</commons-lang3-version> 293 <jackson-databind-nullable-version>0.2.1</jackson-databind-nullable-version> 294 <threetenbp-version>1.5.0</threetenbp-version> 295 <jakarta-annotation-version>1.3.5</jakarta-annotation-version> 296 <junit-version>4.13.1</junit-version> 297 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 298 </properties> 299 </project>