swagger-models-2.2.8.pom 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xmlns="http://maven.apache.org/POM/4.0.0"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <parent>
  5. <groupId>io.swagger.core.v3</groupId>
  6. <artifactId>swagger-project</artifactId>
  7. <version>2.2.8</version>
  8. <relativePath>../..</relativePath>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>swagger-models</artifactId>
  12. <name>swagger-models</name>
  13. <description>swagger-models</description>
  14. <build>
  15. <sourceDirectory>src/main/java</sourceDirectory>
  16. <defaultGoal>install</defaultGoal>
  17. <testResources>
  18. <testResource>
  19. <directory>src/test/resources</directory>
  20. </testResource>
  21. </testResources>
  22. <plugins>
  23. <plugin>
  24. <groupId>biz.aQute.bnd</groupId>
  25. <artifactId>bnd-maven-plugin</artifactId>
  26. </plugin>
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-jar-plugin</artifactId>
  30. <configuration>
  31. <archive>
  32. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  33. <manifestEntries>
  34. <Automatic-Module-Name>io.swagger.v3.oas.models</Automatic-Module-Name>
  35. </manifestEntries>
  36. </archive>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>org.apache.maven.plugins</groupId>
  41. <artifactId>maven-surefire-plugin</artifactId>
  42. <version>2.22.2</version>
  43. <configuration>
  44. <argLine>-Djdk.attach.allowAttachSelf</argLine>
  45. </configuration>
  46. </plugin>
  47. <plugin>
  48. <groupId>io.swagger.core.v3</groupId>
  49. <artifactId>swagger-eclipse-transformer-maven-plugin</artifactId>
  50. <version>${project.version}</version>
  51. <configuration>
  52. <attach>false</attach>
  53. <classifier>jakarta</classifier>
  54. <outputDirectory>${project.basedir}/../swagger-project-jakarta/modules/${project.artifactId}-jakarta/transformed</outputDirectory>
  55. </configuration>
  56. <executions>
  57. <execution>
  58. <id>transform-jakarta</id>
  59. <goals>
  60. <goal>run</goal>
  61. </goals>
  62. <phase>package</phase>
  63. </execution>
  64. </executions>
  65. </plugin>
  66. </plugins>
  67. </build>
  68. <dependencies>
  69. <dependency>
  70. <groupId>com.fasterxml.jackson.core</groupId>
  71. <artifactId>jackson-core</artifactId>
  72. <scope>test</scope>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.fasterxml.jackson.core</groupId>
  76. <artifactId>jackson-databind</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.testng</groupId>
  81. <artifactId>testng</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.jmockit</groupId>
  86. <artifactId>jmockit</artifactId>
  87. <version>${jmockit-version}</version>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.fasterxml.jackson.core</groupId>
  92. <artifactId>jackson-annotations</artifactId>
  93. </dependency>
  94. </dependencies>
  95. <properties>
  96. <coverage.complexity.minimum>0.07</coverage.complexity.minimum>
  97. <coverage.line.minimum>0.0</coverage.line.minimum>
  98. <jmockit-version>1.39</jmockit-version>
  99. <mockito-version>2.16.0</mockito-version>
  100. </properties>
  101. </project>