Advertisement
Guest User

pom-snippet

a guest
Aug 2nd, 2023
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.48 KB | None | 0 0
  1. <properties>
  2. <maven.compiler.source>17</maven.compiler.source>
  3. <maven.compiler.target>17</maven.compiler.target>
  4. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  5. </properties>
  6.  
  7. <dependencies>
  8. <dependency>
  9. <groupId>com.google.code.gson</groupId>
  10. <artifactId>gson</artifactId>
  11. <version>2.10.1</version>
  12. </dependency>
  13. </dependencies>
  14.  
  15. <build>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.openapitools</groupId>
  19. <artifactId>openapi-generator-maven-plugin</artifactId>
  20. <!-- RELEASE_VERSION -->
  21. <version>6.3.0</version>
  22. <!-- /RELEASE_VERSION -->
  23. <executions>
  24. <execution>
  25. <goals>
  26. <goal>generate</goal>
  27. </goals>
  28. <configuration>
  29. <inputSpec>${project.basedir}/src/main/resources/api.json</inputSpec>
  30. <generatorName>java</generatorName>
  31. <configOptions>
  32. <asyncNative>true</asyncNative>
  33. <useJakartaEe>true</useJakartaEe>
  34. <sourceFolder>src/gen/java/main</sourceFolder>
  35. </configOptions>
  36. </configuration>
  37. </execution>
  38. </executions>
  39. </plugin>
  40. </plugins>
  41. </build>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement