-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing pom.xml, adding openapi-generator settings
- Loading branch information
Nicholas Chiu
committed
Nov 20, 2024
1 parent
c7e3ca3
commit 7549b3b
Showing
2 changed files
with
91 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,20 @@ jobs: | |
args: >- | ||
generate | ||
-i https://developers.lilt.com/redocusaurus/plugin-redoc-0.yaml | ||
-p apiPackage=com.lilt.client.api | ||
-p artifactId=lilt-java | ||
-p artifactUrl=https://github.com/lilt/lilt-java | ||
-p [email protected] | ||
-p developerName="Nicholas Chiu" | ||
-p developerOrganization="Lilt" | ||
-p developerOrganizationUrl=https://lilt.com | ||
-p groupId=com.lilt.client | ||
-g java | ||
-p licenseName="Lilt Client Library License" | ||
-p licenseUrl=license.md | ||
-p modelPackage=com.lilt.client.model | ||
-p apiPackage=com.lilt.client.api | ||
-p packageVersion=${{ github.event.client_payload.version }} | ||
--package-name lilt | ||
--git-host github.com | ||
--git-user-id lilt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,70 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>com.lilt.client</groupId> | ||
<artifactId>lilt-java-client</artifactId> | ||
<artifactId>lilt-java</artifactId> | ||
<version>0.6.5</version> | ||
<packaging>jar</packaging> | ||
<name>lilt-java-client</name> | ||
<version>3.0.0</version> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
<description>LILT Java</description> | ||
<licenses> | ||
<license> | ||
<name>Lilt Client Library License</name> | ||
<url>license.md</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<name>${project.groupId}:${project.artifactId}</name> | ||
<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> | ||
<url>https://github.com/lilt/lilt-java</url> | ||
<inceptionYear>2015</inceptionYear> | ||
<organization> | ||
<name>Lilt</name> | ||
<url>http://www.lilt.com</url> | ||
</organization> | ||
<developers> | ||
<developer> | ||
<name>Nicholas Chiu</name> | ||
<email>[email protected]</email> | ||
<organization>${project.organization.name}</organization> | ||
<organizationUrl>${project.organization.organizationUrl}</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection> | ||
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection> | ||
<url>https://github.com/openapitools/openapi-generator</url> | ||
</scm> | ||
<distributionManagement> | ||
<distributionManagement> | ||
<repository> | ||
<id>github</id> | ||
<name>Lilt packages on GitHub</name> | ||
<url>https://maven.pkg.github.com/lilt/lilt-java</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>license-maven-plugin</artifactId> | ||
<version>2.4.0</version> | ||
<configuration> | ||
<licenseName>lilt_client_library_license</licenseName> | ||
<licenseResolver>file://${project.basedir}/src/license</licenseResolver> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>first</id> | ||
<goals> | ||
<goal>update-file-header</goal> | ||
</goals> | ||
<phase>process-sources</phase> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.1</version> | ||
|
@@ -171,6 +213,38 @@ | |
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>3.2.4</version> | ||
<configuration> | ||
<useAgent>false</useAgent> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<signer>bc</signer> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.central</groupId> | ||
<artifactId>central-publishing-maven-plugin</artifactId> | ||
<version>0.6.0</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<publishingServerId>central</publishingServerId> | ||
<tokenAuth>true</tokenAuth> | ||
<autoPublish>true</autoPublish> | ||
<waitUntil>published</waitUntil> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
|
@@ -235,11 +309,6 @@ | |
<artifactId>commons-lang3</artifactId> | ||
<version>${commons-lang3-version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>commons-io</groupId> | ||
<artifactId>commons-io</artifactId> | ||
<version>2.5</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.threeten</groupId> | ||
<artifactId>threetenbp</artifactId> | ||
|