swagger-ui-4.17.1.pom 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>org.sonatype.oss</groupId>
  6. <artifactId>oss-parent</artifactId>
  7. <version>9</version>
  8. </parent>
  9. <packaging>jar</packaging>
  10. <groupId>org.webjars</groupId>
  11. <artifactId>swagger-ui</artifactId>
  12. <version>4.17.1</version>
  13. <name>Swagger UI</name>
  14. <description>WebJar for Swagger UI</description>
  15. <url>http://webjars.org</url>
  16. <properties>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.build.outputTimestamp>1678121547</project.build.outputTimestamp>
  19. <upstream.url>https://github.com/swagger-api/swagger-ui/archive/v${version.unsnapshot}.zip</upstream.url>
  20. <destDir>${project.build.outputDirectory}/META-INF/resources/webjars/${project.artifactId}/${project.version}</destDir>
  21. <requirejs>
  22. {
  23. "paths": { "swagger-ui": "swagger-ui" }
  24. }
  25. </requirejs>
  26. </properties>
  27. <developers>
  28. <developer>
  29. <id>jamesward</id>
  30. <name>James Ward</name>
  31. <email>james@jamesward.com</email>
  32. </developer>
  33. </developers>
  34. <licenses>
  35. <license>
  36. <name>Apache 2.0</name>
  37. <url>https://github.com/swagger-api/swagger-ui</url>
  38. <distribution>repo</distribution>
  39. </license>
  40. </licenses>
  41. <scm>
  42. <url>http://github.com/webjars/swagger-ui</url>
  43. <connection>scm:git:https://github.com/webjars/swagger-ui.git</connection>
  44. <developerConnection>scm:git:https://github.com/webjars/swagger-ui.git</developerConnection>
  45. <tag>swagger-ui-4.17.1</tag>
  46. </scm>
  47. <build>
  48. <plugins>
  49. <plugin>
  50. <groupId>com.jamesward</groupId>
  51. <artifactId>unsnapshot-maven-plugin</artifactId>
  52. <version>0.2</version>
  53. <executions>
  54. <execution>
  55. <phase>initialize</phase>
  56. <goals>
  57. <goal>unsnapshot</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. <plugin>
  63. <artifactId>maven-jar-plugin</artifactId>
  64. <version>3.2.2</version>
  65. <configuration>
  66. <archive>
  67. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  68. </archive>
  69. </configuration>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.apache.felix</groupId>
  73. <artifactId>maven-bundle-plugin</artifactId>
  74. <version>5.1.4</version>
  75. <extensions>true</extensions>
  76. <executions>
  77. <execution>
  78. <id>bundle-manifest</id>
  79. <phase>process-classes</phase>
  80. <goals>
  81. <goal>manifest</goal>
  82. </goals>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-antrun-plugin</artifactId>
  88. <version>1.8</version>
  89. <executions>
  90. <execution>
  91. <phase>process-resources</phase>
  92. <goals><goal>run</goal></goals>
  93. <configuration>
  94. <target>
  95. <echo message="download archive" />
  96. <get src="${upstream.url}" dest="${project.build.directory}/${project.artifactId}.zip" />
  97. <echo message="unzip archive" />
  98. <unzip src="${project.build.directory}/${project.artifactId}.zip" dest="${project.build.directory}" />
  99. <echo message="moving resources" />
  100. <move todir="${destDir}">
  101. <fileset dir="${project.build.directory}/swagger-ui-${version.unsnapshot}/dist" />
  102. </move>
  103. </target>
  104. </configuration>
  105. </execution>
  106. </executions>
  107. </plugin>
  108. <plugin>
  109. <groupId>org.apache.maven.plugins</groupId>
  110. <artifactId>maven-release-plugin</artifactId>
  111. <version>3.0.0-M7</version>
  112. </plugin>
  113. <plugin>
  114. <groupId>com.googlecode.todomap</groupId>
  115. <artifactId>maven-jettygzip-plugin</artifactId>
  116. <version>0.0.4</version>
  117. <configuration>
  118. <webappDirectory>target/classes</webappDirectory>
  119. <outputDirectory>target/classes</outputDirectory>
  120. </configuration>
  121. <executions>
  122. <execution>
  123. <phase>prepare-package</phase>
  124. <goals>
  125. <goal>process</goal>
  126. </goals>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.sonatype.plugins</groupId>
  132. <artifactId>nexus-staging-maven-plugin</artifactId>
  133. <version>1.6.13</version>
  134. <extensions>true</extensions>
  135. <configuration>
  136. <serverId>sonatype-nexus-staging</serverId>
  137. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  138. <autoReleaseAfterClose>true</autoReleaseAfterClose>
  139. </configuration>
  140. </plugin>
  141. </plugins>
  142. </build>
  143. </project>