Skip to content

Commit c163542

Browse files
eddyhubwing328
authored andcommitted
SCM and license parameters are now also for resteasy clients available. (#1934)
1 parent c51f333 commit c163542

File tree

2 files changed

+38
-4
lines changed
  • modules/openapi-generator/src/main/resources/Java/libraries/resteasy
  • samples/client/petstore/java/resteasy

2 files changed

+38
-4
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/resteasy/pom.mustache

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<name>{{artifactId}}</name>
88
<version>{{artifactVersion}}</version>
99
<scm>
10-
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>
11-
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>
12-
<url>https://openapi-generator.tech</url>
10+
<connection>{{scmConnection}}</connection>
11+
<developerConnection>{{scmDeveloperConnection}}</developerConnection>
12+
<url>{{scmUrl}}</url>
1313
</scm>
1414
{{#parentOverridden}}
1515
<parent>
@@ -19,6 +19,23 @@
1919
</parent>
2020
{{/parentOverridden}}
2121

22+
<licenses>
23+
<license>
24+
<name>{{licenseName}}</name>
25+
<url>{{licenseUrl}}</url>
26+
<distribution>repo</distribution>
27+
</license>
28+
</licenses>
29+
30+
<developers>
31+
<developer>
32+
<name>{{developerName}}</name>
33+
<email>{{developerEmail}}</email>
34+
<organization>{{developerOrganization}}</organization>
35+
<organizationUrl>{{developerOrganizationUrl}}</organizationUrl>
36+
</developer>
37+
</developers>
38+
2239
<build>
2340
<plugins>
2441
<plugin>

samples/client/petstore/java/resteasy/pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,26 @@
99
<scm>
1010
<connection>scm:git:[email protected]:openapitools/openapi-generator.git</connection>
1111
<developerConnection>scm:git:[email protected]:openapitools/openapi-generator.git</developerConnection>
12-
<url>https://openapi-generator.tech</url>
12+
<url>https://github.com/openapitools/openapi-generator</url>
1313
</scm>
1414

15+
<licenses>
16+
<license>
17+
<name>Unlicense</name>
18+
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
19+
<distribution>repo</distribution>
20+
</license>
21+
</licenses>
22+
23+
<developers>
24+
<developer>
25+
<name>OpenAPI</name>
26+
<email>[email protected]</email>
27+
<organization>OpenAPI</organization>
28+
<organizationUrl>http://openapitools.org</organizationUrl>
29+
</developer>
30+
</developers>
31+
1532
<build>
1633
<plugins>
1734
<plugin>

0 commit comments

Comments
 (0)