Skip to content

Commit 33db554

Browse files
Fix pom.xml (#53)
* Add commons-io * Fixing pom.xml
1 parent 97a65eb commit 33db554

File tree

1 file changed

+84
-16
lines changed

1 file changed

+84
-16
lines changed

pom.xml

Lines changed: 84 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,70 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
33
<modelVersion>4.0.0</modelVersion>
4+
45
<groupId>com.lilt.client</groupId>
56
<artifactId>lilt-java</artifactId>
6-
<packaging>jar</packaging>
7-
<name>lilt-java</name>
87
<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>
179
<licenses>
1810
<license>
1911
<name>Lilt Client Library License</name>
20-
<url>https://lilt.com/lilt-platform-terms-and-conditions</url>
12+
<url>license.md</url>
2113
<distribution>repo</distribution>
2214
</license>
2315
</licenses>
2416

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>
2525
<developers>
2626
<developer>
27-
<name>Nicholas Chiu</name>
28-
<email>[email protected]</email>
29-
<organization>Lilt</organization>
30-
<organizationUrl>https://lilt.com</organizationUrl>
27+
<name>Nicholas Chiu</name>
28+
<email>[email protected]</email>
29+
<organization>${project.organization.name}</organization>
30+
<organizationUrl>${project.organization.organizationUrl}</organizationUrl>
3131
</developer>
3232
</developers>
3333

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+
3447
<build>
3548
<plugins>
3649
<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>
3768
<groupId>org.apache.maven.plugins</groupId>
3869
<artifactId>maven-compiler-plugin</artifactId>
3970
<version>3.8.1</version>
@@ -182,6 +213,38 @@
182213
</execution>
183214
</executions>
184215
</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>
185248
</plugins>
186249
</build>
187250

@@ -246,6 +309,11 @@
246309
<artifactId>commons-lang3</artifactId>
247310
<version>${commons-lang3-version}</version>
248311
</dependency>
312+
<dependency>
313+
<groupId>commons-io</groupId>
314+
<artifactId>commons-io</artifactId>
315+
<version>2.5</version>
316+
</dependency>
249317
<dependency>
250318
<groupId>org.threeten</groupId>
251319
<artifactId>threetenbp</artifactId>
@@ -266,7 +334,7 @@
266334
</dependency>
267335
</dependencies>
268336
<properties>
269-
<java.version>1.7</java.version>
337+
<java.version>11</java.version>
270338
<maven.compiler.source>${java.version}</maven.compiler.source>
271339
<maven.compiler.target>${java.version}</maven.compiler.target>
272340
<gson-fire-version>1.8.5</gson-fire-version>

0 commit comments

Comments
 (0)