Skip to content

Commit d5ef0f3

Browse files
committed
fix: update the pom.xml generation
1 parent 1494b64 commit d5ef0f3

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

types/codegen/custom-templates/java/pom.mustache

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,6 @@
5555
<arg>-J-Xss4m</arg><!-- Compiling the generated JSON.java file may require larger stack size. -->
5656
</compilerArgs>
5757
</configuration>
58-
</plugin>
59-
60-
61-
<!-- Skip test compilation since generated tests don't work with records -->
62-
<plugin>
63-
<groupId>org.apache.maven.plugins</groupId>
64-
<artifactId>maven-compiler-plugin</artifactId>
65-
<version>3.8.1</version>
6658
<executions>
6759
<execution>
6860
<id>default-testCompile</id>
@@ -91,13 +83,6 @@
9183
<groupId>org.apache.maven.plugins</groupId>
9284
<artifactId>maven-jar-plugin</artifactId>
9385
<version>3.3.0</version>
94-
<executions>
95-
<execution>
96-
<goals>
97-
<goal>jar</goal>
98-
</goals>
99-
</execution>
100-
</executions>
10186
</plugin>
10287

10388
<!-- Maven Source plugin for creating source JAR -->

types/codegen/openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"targetCompatibility": "21"
5656
},
5757
"global-property": {
58-
"models": "ContextCommandIconType:IconType:ContextCommandGroup:QuickActionCommand:ContextCommand:CursorPosition:FileParams:CopyFileParams:OpenFileDiffParams:ShowOpenDialogParams:ShowSaveFileDialogParams:ShowSaveFileDialogResult",
58+
"models": "ContextCommandParams:ContextCommandIconType:IconType:ContextCommandGroup:QuickActionCommand:ContextCommand:CursorPosition:FileParams:CopyFileParams:OpenFileDiffParams:ShowOpenDialogParams:ShowSaveFileDialogParams:ShowSaveFileDialogResult",
5959
"supportingFiles": "pom.xml"
6060
},
6161
"importMappings": {

types/codegen/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "Generate TypeScript defintiinons from JSON Schema using OpenAPI Generator",
55
"main": "generated/typescript/src/index.ts",
66
"scripts": {
7+
"clean": "node scripts/clean.js",
78
"generate-full-schema": "node scripts/generate-complete-schema.js",
89
"generate": "npm run generate-full-schema && openapi-generator-cli generate && node scripts/post-typescript.js && npm run test",
910
"generate:only": "openapi-generator-cli generate",

0 commit comments

Comments
 (0)