swagger-project-1.5.10.pom 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <parent>
  4. <groupId>org.sonatype.oss</groupId>
  5. <artifactId>oss-parent</artifactId>
  6. <version>5</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>io.swagger</groupId>
  10. <artifactId>swagger-project</artifactId>
  11. <packaging>pom</packaging>
  12. <name>swagger-project</name>
  13. <version>1.5.10</version>
  14. <url>https://github.com/swagger-api/swagger-core</url>
  15. <scm>
  16. <connection>scm:git:git@github.com:swagger-api/swagger-core.git</connection>
  17. <developerConnection>scm:git:git@github.com:swagger-api/swagger-core.git</developerConnection>
  18. <url>https://github.com/swagger-api/swagger-core</url>
  19. </scm>
  20. <prerequisites>
  21. <maven>2.2.0</maven>
  22. </prerequisites>
  23. <developers>
  24. <developer>
  25. <id>fehguy</id>
  26. <name>Tony Tam</name>
  27. <email>fehguy@gmail.com</email>
  28. </developer>
  29. </developers>
  30. <issueManagement>
  31. <system>github</system>
  32. <url>https://github.com/swagger-api/swagger-core/issues</url>
  33. </issueManagement>
  34. <mailingLists>
  35. <mailingList>
  36. <name>swagger-swaggersocket</name>
  37. <archive>https://groups.google.com/forum/#!forum/swagger-swaggersocket</archive>
  38. </mailingList>
  39. </mailingLists>
  40. <licenses>
  41. <license>
  42. <name>Apache License 2.0</name>
  43. <url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
  44. <distribution>repo</distribution>
  45. </license>
  46. </licenses>
  47. <build>
  48. <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
  49. <outputDirectory>target/classes</outputDirectory>
  50. <testOutputDirectory>target/test-classes</testOutputDirectory>
  51. <resources>
  52. <resource>
  53. <directory>src/main/resources</directory>
  54. <excludes>
  55. <exclude>logback.xml</exclude>
  56. </excludes>
  57. </resource>
  58. </resources>
  59. <extensions>
  60. <extension>
  61. <groupId>org.jvnet.wagon-svn</groupId>
  62. <artifactId>wagon-svn</artifactId>
  63. <version>1.8</version>
  64. </extension>
  65. <extension>
  66. <groupId>org.apache.maven.wagon</groupId>
  67. <artifactId>wagon-ssh-external</artifactId>
  68. <version>1.0-alpha-6</version>
  69. </extension>
  70. <extension>
  71. <groupId>org.apache.maven.wagon</groupId>
  72. <artifactId>wagon-webdav</artifactId>
  73. <version>1.0-beta-1</version>
  74. </extension>
  75. </extensions>
  76. <defaultGoal>install</defaultGoal>
  77. <directory>target</directory>
  78. <finalName>${project.artifactId}-${project.version}</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-enforcer-plugin</artifactId>
  83. <version>${enforcer-plugin-version}</version>
  84. <executions>
  85. <execution>
  86. <id>enforce-versions</id>
  87. <goals>
  88. <goal>enforce</goal>
  89. </goals>
  90. <configuration>
  91. <rules>
  92. <DependencyConvergence/>
  93. </rules>
  94. </configuration>
  95. </execution>
  96. </executions>
  97. </plugin>
  98. <plugin>
  99. <artifactId>maven-dependency-plugin</artifactId>
  100. <executions>
  101. <execution>
  102. <phase>package</phase>
  103. <goals>
  104. <goal>copy-dependencies</goal>
  105. </goals>
  106. <configuration>
  107. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  108. </configuration>
  109. </execution>
  110. </executions>
  111. </plugin>
  112. <plugin>
  113. <groupId>org.apache.maven.plugins</groupId>
  114. <artifactId>maven-source-plugin</artifactId>
  115. <version>2.1.2</version>
  116. <executions>
  117. <execution>
  118. <id>attach-sources</id>
  119. <phase>verify</phase>
  120. <goals>
  121. <goal>jar-no-fork</goal>
  122. </goals>
  123. </execution>
  124. </executions>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-javadoc-plugin</artifactId>
  129. <version>2.7</version>
  130. <configuration>
  131. <aggregate>true</aggregate>
  132. <source>1.6</source>
  133. <encoding>UTF-8</encoding>
  134. <maxmemory>1g</maxmemory>
  135. <links>
  136. <link>http://java.sun.com/javase/6/docs/api/</link>
  137. </links>
  138. <excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
  139. </configuration>
  140. <executions>
  141. <execution>
  142. <id>attach-javadocs</id>
  143. <phase>verify</phase>
  144. <goals>
  145. <goal>jar</goal>
  146. </goals>
  147. </execution>
  148. </executions>
  149. </plugin>
  150. <plugin>
  151. <artifactId>maven-compiler-plugin</artifactId>
  152. <version>3.0</version>
  153. <configuration>
  154. <source>1.6</source>
  155. <target>1.6</target>
  156. </configuration>
  157. </plugin>
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-jar-plugin</artifactId>
  161. <version>2.4</version>
  162. <configuration>
  163. <excludes>
  164. <exclude>**/logback.xml</exclude>
  165. </excludes>
  166. <archive>
  167. <manifestEntries>
  168. <mode>development</mode>
  169. <url>${project.url}</url>
  170. <implementation-version>${project.version}</implementation-version>
  171. <package>io.swagger</package>
  172. </manifestEntries>
  173. </archive>
  174. </configuration>
  175. </plugin>
  176. <plugin>
  177. <groupId>org.apache.maven.plugins</groupId>
  178. <artifactId>maven-site-plugin</artifactId>
  179. <version>2.1</version>
  180. </plugin>
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-release-plugin</artifactId>
  184. <version>2.1</version>
  185. </plugin>
  186. <plugin>
  187. <groupId>org.jacoco</groupId>
  188. <artifactId>jacoco-maven-plugin</artifactId>
  189. <executions>
  190. <execution>
  191. <id>default-prepare-agent</id>
  192. <goals>
  193. <goal>prepare-agent</goal>
  194. </goals>
  195. </execution>
  196. <execution>
  197. <id>default-report</id>
  198. <phase>prepare-package</phase>
  199. <goals>
  200. <goal>report</goal>
  201. </goals>
  202. </execution>
  203. <execution>
  204. <id>default-check</id>
  205. <goals>
  206. <goal>check</goal>
  207. </goals>
  208. </execution>
  209. </executions>
  210. <configuration>
  211. <excludes>
  212. <!-- TODO remove these excludes and add tests -->
  213. <exclude>**/io/swagger/config/FilterFactory.*</exclude>
  214. <exclude>**/io/swagger/model/ApiInfo.*</exclude>
  215. <exclude>**/io/swagger/util/Yaml.*</exclude>
  216. <exclude>**/io/swagger/jackson/*</exclude>
  217. <exclude>**/io/swagger/converter/ModelConverters.*</exclude>
  218. <!-- JAXRS -->
  219. <exclude>**/io/swagger/jaxrs/json/JacksonJsonProvider.*</exclude>
  220. <exclude>**/io/swagger/jaxrs/listing/ApiListingResource.*</exclude>
  221. <exclude>**/io/swagger/jaxrs/listing/SwaggerSerializers.*</exclude>
  222. <exclude>**/io/swagger/jaxrs/config/WebXMLReader.*</exclude>
  223. <exclude>**/io/swagger/jaxrs/config/DefaultJaxrsScanner.*</exclude>
  224. <exclude>**/io/swagger/jaxrs/config/DefaultJaxrsConfig.*</exclude>
  225. <!-- Servlet -->
  226. <exclude>**/io/swagger/servlet/config/WebXMLReader.*</exclude>
  227. <exclude>**/io/swagger/servlet/config/ServletScanner.*</exclude>
  228. <exclude>**/io/swagger/servlet/config/DefaultServletConfig.*</exclude>
  229. <exclude>**/io/swagger/servlet/listing/ApiDeclarationServlet.*</exclude>
  230. </excludes>
  231. <rules>
  232. <rule>
  233. <element>BUNDLE</element>
  234. <limits>
  235. <limit>
  236. <counter>COMPLEXITY</counter>
  237. <value>COVEREDRATIO</value>
  238. <minimum>${coverage.complexity.minimum}</minimum>
  239. </limit>
  240. <limit>
  241. <counter>CLASS</counter>
  242. <value>MISSEDCOUNT</value>
  243. <maximum>${coverage.missed.classes}</maximum>
  244. </limit>
  245. </limits>
  246. </rule>
  247. <rule>
  248. <element>CLASS</element>
  249. <limits>
  250. <limit>
  251. <counter>LINE</counter>
  252. <value>COVEREDRATIO</value>
  253. <minimum>${coverage.line.minimum}</minimum>
  254. </limit>
  255. </limits>
  256. </rule>
  257. </rules>
  258. </configuration>
  259. </plugin>
  260. </plugins>
  261. <pluginManagement>
  262. <plugins>
  263. <plugin>
  264. <groupId>org.apache.maven.plugins</groupId>
  265. <artifactId>maven-gpg-plugin</artifactId>
  266. <configuration>
  267. <releaseProfiles>release</releaseProfiles>
  268. <goals>sign</goals>
  269. </configuration>
  270. </plugin>
  271. <plugin>
  272. <groupId>org.eclipse.jetty</groupId>
  273. <artifactId>jetty-maven-plugin</artifactId>
  274. <version>${jetty-version}</version>
  275. <dependencies>
  276. <dependency>
  277. <groupId>com.sun.jersey</groupId>
  278. <artifactId>jersey-servlet</artifactId>
  279. <version>${jersey-version}</version>
  280. </dependency>
  281. </dependencies>
  282. </plugin>
  283. <plugin>
  284. <artifactId>maven-enforcer-plugin</artifactId>
  285. <version>${enforcer-plugin-version}</version>
  286. </plugin>
  287. <plugin>
  288. <groupId>org.jacoco</groupId>
  289. <artifactId>jacoco-maven-plugin</artifactId>
  290. <version>0.7.2.201409121644</version>
  291. </plugin>
  292. </plugins>
  293. </pluginManagement>
  294. </build>
  295. <profiles>
  296. <profile>
  297. <id>release-sign-artifacts</id>
  298. <activation>
  299. <property>
  300. <name>performRelease</name>
  301. <value>true</value>
  302. </property>
  303. </activation>
  304. <build>
  305. <plugins>
  306. <plugin>
  307. <groupId>org.apache.maven.plugins</groupId>
  308. <artifactId>maven-gpg-plugin</artifactId>
  309. <executions>
  310. <execution>
  311. <id>sign-artifacts</id>
  312. <phase>verify</phase>
  313. <goals>
  314. <goal>sign</goal>
  315. </goals>
  316. </execution>
  317. </executions>
  318. </plugin>
  319. </plugins>
  320. </build>
  321. </profile>
  322. <profile>
  323. <!-- The auth module, which is not complete -->
  324. <id>auth</id>
  325. <activation>
  326. <property>
  327. <name>env</name>
  328. <value>auth</value>
  329. </property>
  330. </activation>
  331. </profile>
  332. </profiles>
  333. <modules>
  334. <module>modules/swagger-annotations</module>
  335. <module>modules/swagger-models</module>
  336. <module>modules/swagger-mule</module>
  337. <module>modules/swagger-core</module>
  338. <module>modules/swagger-jaxrs</module>
  339. <module>modules/swagger-jersey2-jaxrs</module>
  340. <module>modules/swagger-jersey-jaxrs</module>
  341. <module>modules/swagger-hibernate-validations</module>
  342. <module>modules/swagger-servlet</module>
  343. <!--module>modules/swagger-utils</module-->
  344. <!--module>modules/swagger-oauth2-auth-server</module-->
  345. </modules>
  346. <reporting>
  347. <outputDirectory>target/site</outputDirectory>
  348. <plugins>
  349. <plugin>
  350. <groupId>org.apache.maven.plugins</groupId>
  351. <artifactId>maven-javadoc-plugin</artifactId>
  352. <version>2.9</version>
  353. <configuration>
  354. <aggregate>true</aggregate>
  355. <debug>true</debug>
  356. <links>
  357. <link>http://java.sun.com/javaee/5/docs/api</link>
  358. <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
  359. </links>
  360. <excludePackageNames/>
  361. </configuration>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.apache.maven.plugins</groupId>
  365. <artifactId>maven-jxr-plugin</artifactId>
  366. <version>2.3</version>
  367. <configuration>
  368. <aggregate>true</aggregate>
  369. </configuration>
  370. </plugin>
  371. <plugin>
  372. <groupId>org.apache.maven.plugins</groupId>
  373. <artifactId>maven-project-info-reports-plugin</artifactId>
  374. <version>2.6</version>
  375. <reportSets>
  376. <reportSet>
  377. <reports>
  378. <report>project-team</report>
  379. </reports>
  380. </reportSet>
  381. </reportSets>
  382. </plugin>
  383. </plugins>
  384. </reporting>
  385. <dependencyManagement>
  386. <dependencies>
  387. <dependency>
  388. <groupId>org.apache.maven</groupId>
  389. <artifactId>maven-plugin-tools-api</artifactId>
  390. <version>2.0</version>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.apache.felix</groupId>
  394. <artifactId>maven-bundle-plugin</artifactId>
  395. <version>${felix-version}</version>
  396. </dependency>
  397. <dependency>
  398. <groupId>org.slf4j</groupId>
  399. <artifactId>slf4j-ext</artifactId>
  400. <version>${slf4j-version}</version>
  401. <scope>compile</scope>
  402. </dependency>
  403. <dependency>
  404. <groupId>org.slf4j</groupId>
  405. <artifactId>slf4j-api</artifactId>
  406. <version>${slf4j-version}</version>
  407. <scope>compile</scope>
  408. </dependency>
  409. <dependency>
  410. <groupId>org.apache.commons</groupId>
  411. <artifactId>commons-lang3</artifactId>
  412. <version>${commons-lang-version}</version>
  413. <scope>compile</scope>
  414. </dependency>
  415. <dependency>
  416. <groupId>org.testng</groupId>
  417. <artifactId>testng</artifactId>
  418. <version>${testng-version}</version>
  419. <scope>test</scope>
  420. </dependency>
  421. <dependency>
  422. <groupId>com.jayway.restassured</groupId>
  423. <artifactId>rest-assured</artifactId>
  424. <version>${rest-assured-version}</version>
  425. <scope>test</scope>
  426. </dependency>
  427. <dependency>
  428. <groupId>org.mockito</groupId>
  429. <artifactId>mockito-all</artifactId>
  430. <version>${mockito-version}</version>
  431. <scope>test</scope>
  432. </dependency>
  433. <dependency>
  434. <groupId>javax.servlet</groupId>
  435. <artifactId>servlet-api</artifactId>
  436. <version>${servlet-api-version}</version>
  437. <scope>provided</scope>
  438. </dependency>
  439. <dependency>
  440. <groupId>org.slf4j</groupId>
  441. <artifactId>slf4j-log4j12</artifactId>
  442. <version>${slf4j-version}</version>
  443. <scope>provided</scope>
  444. </dependency>
  445. <dependency>
  446. <groupId>com.sun.jersey</groupId>
  447. <artifactId>jersey-client</artifactId>
  448. <version>${jersey-version}</version>
  449. </dependency>
  450. <dependency>
  451. <groupId>com.sun.jersey</groupId>
  452. <artifactId>jersey-core</artifactId>
  453. <version>${jersey-version}</version>
  454. </dependency>
  455. <dependency>
  456. <groupId>com.sun.jersey</groupId>
  457. <artifactId>jersey-json</artifactId>
  458. <version>${jersey-version}</version>
  459. </dependency>
  460. <dependency>
  461. <groupId>com.sun.jersey</groupId>
  462. <artifactId>jersey-servlet</artifactId>
  463. <version>${jersey-version}</version>
  464. </dependency>
  465. <dependency>
  466. <groupId>commons-io</groupId>
  467. <artifactId>commons-io</artifactId>
  468. <version>${commons-io-version}</version>
  469. <scope>test</scope>
  470. </dependency>
  471. <dependency>
  472. <groupId>org.reflections</groupId>
  473. <artifactId>reflections</artifactId>
  474. <version>${reflections-version}</version>
  475. </dependency>
  476. <dependency>
  477. <groupId>com.google.guava</groupId>
  478. <artifactId>guava</artifactId>
  479. <version>${guava-version}</version>
  480. </dependency>
  481. </dependencies>
  482. </dependencyManagement>
  483. <properties>
  484. <joda-version>1.2</joda-version>
  485. <joda-time-version>2.2</joda-time-version>
  486. <felix-version>2.3.7</felix-version>
  487. <servlet-api-version>2.5</servlet-api-version>
  488. <jersey-version>1.13</jersey-version>
  489. <jersey2-version>2.1</jersey2-version>
  490. <jackson-version>2.4.5</jackson-version>
  491. <jackson-guava-version>2.4.5</jackson-guava-version>
  492. <logback-version>1.0.1</logback-version>
  493. <reflections-version>0.9.10</reflections-version>
  494. <guava-version>18.0</guava-version>
  495. <testng-version>6.9.4</testng-version>
  496. <mockito-version>1.9.5</mockito-version>
  497. <rest-assured-version>2.8.0</rest-assured-version>
  498. <surefire-version>2.18.1</surefire-version>
  499. <maven-plugin-version>1.0.0</maven-plugin-version>
  500. <commons-lang-version>3.2.1</commons-lang-version>
  501. <slf4j-version>1.6.3</slf4j-version>
  502. <jetty-version>9.2.14.v20151106</jetty-version>
  503. <servlet-api-version>2.5</servlet-api-version>
  504. <coverage.complexity.minimum>0.90</coverage.complexity.minimum>
  505. <coverage.line.minimum>0.90</coverage.line.minimum>
  506. <coverage.missed.classes>0</coverage.missed.classes>
  507. <commons-io-version>2.4</commons-io-version>
  508. <enforcer-plugin-version>1.4</enforcer-plugin-version>
  509. <failsafe-plugin-version>2.19.1</failsafe-plugin-version>
  510. </properties>
  511. </project>