|
1 | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
| 4 | + |
4 | 5 | <groupId>com.lilt.client</groupId> |
5 | 6 | <artifactId>lilt-java</artifactId> |
6 | | - <packaging>jar</packaging> |
7 | | - <name>lilt-java</name> |
8 | 7 | <version>v3.0.1</version> |
9 | | - <url>https://github.com/lilt/lilt-java</url> |
10 | | - <description>OpenAPI Java</description> |
11 | | - <scm> |
12 | | - < connection>scm:git: [email protected]:openapitools/openapi-generator.git</ connection> |
13 | | - < developerConnection>scm:git: [email protected]:openapitools/openapi-generator.git</ developerConnection> |
14 | | - <url>https://github.com/openapitools/openapi-generator</url> |
15 | | - </scm> |
16 | | - |
| 8 | + <packaging>jar</packaging> |
17 | 9 | <licenses> |
18 | 10 | <license> |
19 | 11 | <name>Lilt Client Library License</name> |
20 | | - <url>https://lilt.com/lilt-platform-terms-and-conditions</url> |
| 12 | + <url>license.md</url> |
21 | 13 | <distribution>repo</distribution> |
22 | 14 | </license> |
23 | 15 | </licenses> |
24 | 16 |
|
| 17 | + <name>${project.groupId}:${project.artifactId}</name> |
| 18 | + <description>The Lilt REST API enables programmatic access to the full range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large scale translation memory * The Lexicon, a large scale termbase * Programmatic control of the Lilt CAT environment. Translation memory synchronizationRequests and responses are in JSON format. The REST API only responds to HTTPS (SSL) requests. AuthenticationRequests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using HTTP Basic Auth (https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the username and password. For development, you may also pass the REST API key via the key query parameter. This is less secure than HTTP Basic Auth and is not recommended for production use. Quotas: Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.</description> |
| 19 | + <url>https://github.com/lilt/lilt-java</url> |
| 20 | + <inceptionYear>2015</inceptionYear> |
| 21 | + <organization> |
| 22 | + <name>Lilt</name> |
| 23 | + <url>http://www.lilt.com</url> |
| 24 | + </organization> |
25 | 25 | <developers> |
26 | 26 | <developer> |
27 | | - <name>Nicholas Chiu</name> |
28 | | - |
29 | | - <organization>Lilt</organization> |
30 | | - <organizationUrl>https://lilt.com</organizationUrl> |
| 27 | + <name>Nicholas Chiu</name> |
| 28 | + |
| 29 | + <organization>${project.organization.name}</organization> |
| 30 | + <organizationUrl>${project.organization.organizationUrl}</organizationUrl> |
31 | 31 | </developer> |
32 | 32 | </developers> |
33 | 33 |
|
| 34 | + <scm> |
| 35 | + < connection>scm:git: [email protected]:openapitools/openapi-generator.git</ connection> |
| 36 | + < developerConnection>scm:git: [email protected]:openapitools/openapi-generator.git</ developerConnection> |
| 37 | + <url>https://github.com/openapitools/openapi-generator</url> |
| 38 | + </scm> |
| 39 | + <distributionManagement> |
| 40 | + <repository> |
| 41 | + <id>github</id> |
| 42 | + <name>Lilt packages on GitHub</name> |
| 43 | + <url>https://maven.pkg.github.com/lilt/lilt-java</url> |
| 44 | + </repository> |
| 45 | + </distributionManagement> |
| 46 | + |
34 | 47 | <build> |
35 | 48 | <plugins> |
36 | 49 | <plugin> |
| 50 | + <groupId>org.codehaus.mojo</groupId> |
| 51 | + <artifactId>license-maven-plugin</artifactId> |
| 52 | + <version>2.4.0</version> |
| 53 | + <configuration> |
| 54 | + <licenseName>lilt_client_library_license</licenseName> |
| 55 | + <licenseResolver>file://${project.basedir}/src/license</licenseResolver> |
| 56 | + </configuration> |
| 57 | + <executions> |
| 58 | + <execution> |
| 59 | + <id>first</id> |
| 60 | + <goals> |
| 61 | + <goal>update-file-header</goal> |
| 62 | + </goals> |
| 63 | + <phase>process-sources</phase> |
| 64 | + </execution> |
| 65 | + </executions> |
| 66 | + </plugin> |
| 67 | + <plugin> |
37 | 68 | <groupId>org.apache.maven.plugins</groupId> |
38 | 69 | <artifactId>maven-compiler-plugin</artifactId> |
39 | 70 | <version>3.8.1</version> |
|
182 | 213 | </execution> |
183 | 214 | </executions> |
184 | 215 | </plugin> |
| 216 | + <plugin> |
| 217 | + <groupId>org.apache.maven.plugins</groupId> |
| 218 | + <artifactId>maven-gpg-plugin</artifactId> |
| 219 | + <version>3.2.4</version> |
| 220 | + <configuration> |
| 221 | + <useAgent>false</useAgent> |
| 222 | + </configuration> |
| 223 | + <executions> |
| 224 | + <execution> |
| 225 | + <id>sign-artifacts</id> |
| 226 | + <phase>verify</phase> |
| 227 | + <goals> |
| 228 | + <goal>sign</goal> |
| 229 | + </goals> |
| 230 | + <configuration> |
| 231 | + <signer>bc</signer> |
| 232 | + </configuration> |
| 233 | + </execution> |
| 234 | + </executions> |
| 235 | + </plugin> |
| 236 | + <plugin> |
| 237 | + <groupId>org.sonatype.central</groupId> |
| 238 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 239 | + <version>0.6.0</version> |
| 240 | + <extensions>true</extensions> |
| 241 | + <configuration> |
| 242 | + <publishingServerId>central</publishingServerId> |
| 243 | + <tokenAuth>true</tokenAuth> |
| 244 | + <autoPublish>true</autoPublish> |
| 245 | + <waitUntil>published</waitUntil> |
| 246 | + </configuration> |
| 247 | + </plugin> |
185 | 248 | </plugins> |
186 | 249 | </build> |
187 | 250 |
|
|
246 | 309 | <artifactId>commons-lang3</artifactId> |
247 | 310 | <version>${commons-lang3-version}</version> |
248 | 311 | </dependency> |
| 312 | + <dependency> |
| 313 | + <groupId>commons-io</groupId> |
| 314 | + <artifactId>commons-io</artifactId> |
| 315 | + <version>2.5</version> |
| 316 | + </dependency> |
249 | 317 | <dependency> |
250 | 318 | <groupId>org.threeten</groupId> |
251 | 319 | <artifactId>threetenbp</artifactId> |
|
266 | 334 | </dependency> |
267 | 335 | </dependencies> |
268 | 336 | <properties> |
269 | | - <java.version>1.7</java.version> |
| 337 | + <java.version>11</java.version> |
270 | 338 | <maven.compiler.source>${java.version}</maven.compiler.source> |
271 | 339 | <maven.compiler.target>${java.version}</maven.compiler.target> |
272 | 340 | <gson-fire-version>1.8.5</gson-fire-version> |
|
0 commit comments