jakarta.servlet-api-4.0.4.pom 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
  4. This program and the accompanying materials are made available under the
  5. terms of the Eclipse Public License v. 2.0, which is available at
  6. http://www.eclipse.org/legal/epl-2.0.
  7. This Source Code may also be made available under the following Secondary
  8. Licenses when the conditions for such availability set forth in the
  9. Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
  10. version 2 with the GNU Classpath Exception, which is available at
  11. https://www.gnu.org/software/classpath/license.html.
  12. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
  13. -->
  14. <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"> <modelVersion>4.0.0</modelVersion>
  15. <parent>
  16. <groupId>org.eclipse.ee4j</groupId>
  17. <artifactId>project</artifactId>
  18. <version>1.0.6</version>
  19. </parent>
  20. <groupId>jakarta.servlet</groupId>
  21. <artifactId>jakarta.servlet-api</artifactId>
  22. <version>4.0.4</version>
  23. <name>Jakarta Servlet</name>
  24. <url>https://projects.eclipse.org/projects/ee4j.servlet</url>
  25. <properties>
  26. <spec.version>4.0</spec.version>
  27. <extension.name>javax.servlet</extension.name>
  28. <bundle.symbolicName>jakarta.servlet-api</bundle.symbolicName>
  29. <bundle.version>4.0.0</bundle.version>
  30. <window.title>Jakarta Servlet 4.0</window.title>
  31. <doc.title>Jakarta Servlet 4.0 Specification</doc.title>
  32. <vendor.name>Eclipse Foundation</vendor.name>
  33. <implementation.vendor.id>org.eclipse</implementation.vendor.id>
  34. <findbugs.version>3.0.4</findbugs.version>
  35. <findbugs.exclude>exclude.xml</findbugs.exclude>
  36. <findbugs.threshold>Low</findbugs.threshold>
  37. <copyright-plugin.version>1.49</copyright-plugin.version>
  38. </properties>
  39. <developers>
  40. <developer>
  41. <id>yaminikb</id>
  42. <name>Yamini K B</name>
  43. <organization>Oracle Corporation</organization>
  44. <organizationUrl>http://www.oracle.com/</organizationUrl>
  45. </developer>
  46. </developers>
  47. <contributors>
  48. <contributor>
  49. <name>Ed Burns</name>
  50. </contributor>
  51. <contributor>
  52. <name>Shing Wai Chan</name>
  53. </contributor>
  54. </contributors>
  55. <licenses>
  56. <license>
  57. <name>EPL 2.0</name>
  58. <url>http://www.eclipse.org/legal/epl-2.0</url>
  59. <distribution>repo</distribution>
  60. </license>
  61. <license>
  62. <name>GPL2 w/ CPE</name>
  63. <url>https://www.gnu.org/software/classpath/license.html</url>
  64. <distribution>repo</distribution>
  65. </license>
  66. </licenses>
  67. <issueManagement>
  68. <system>github</system>
  69. <url>https://github.com/eclipse-ee4j/servlet-api/issues</url>
  70. </issueManagement>
  71. <mailingLists>
  72. <mailingList>
  73. <name>Servlet mailing list</name>
  74. <post>servlet-dev@eclipse.org</post>
  75. <subscribe>https://dev.eclipse.org/mailman/listinfo/servlet-dev</subscribe>
  76. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/servlet-dev</unsubscribe>
  77. <archive>https://dev.eclipse.org/mhonarc/lists/servlet-dev</archive>
  78. </mailingList>
  79. </mailingLists>
  80. <scm>
  81. <connection>scm:git:https://github.com/eclipse-ee4j/servlet-api.git</connection>
  82. <developerConnection>scm:git:git@github.com:eclipse-ee4j/servlet-api.git</developerConnection>
  83. <url>https://github.com/eclipse-ee4j/servlet-api</url>
  84. <tag>HEAD</tag>
  85. </scm>
  86. <build>
  87. <resources>
  88. <resource>
  89. <directory>src/main/java</directory>
  90. <includes>
  91. <include>**/*.properties</include>
  92. <include>**/*.html</include>
  93. </includes>
  94. </resource>
  95. <resource>
  96. <directory>src/main/resources</directory>
  97. <excludes>
  98. <exclude>META-INF/README</exclude>
  99. </excludes>
  100. </resource>
  101. </resources>
  102. <pluginManagement>
  103. <plugins>
  104. <plugin>
  105. <groupId>org.sonatype.plugins</groupId>
  106. <artifactId>nexus-staging-maven-plugin</artifactId>
  107. <extensions>true</extensions>
  108. <configuration>
  109. <serverId>ossrh</serverId>
  110. <nexusUrl>https://jakarta.oss.sonatype.org/</nexusUrl>
  111. </configuration>
  112. </plugin>
  113. </plugins>
  114. </pluginManagement>
  115. <plugins>
  116. <plugin>
  117. <artifactId>maven-compiler-plugin</artifactId>
  118. <version>3.1</version>
  119. <configuration>
  120. <source>1.8</source>
  121. <target>1.8</target>
  122. <compilerArgument>-Xlint:all</compilerArgument>
  123. </configuration>
  124. </plugin>
  125. <!--
  126. spec-version-maven-plugin would normally appear here.
  127. But somehow is missing for Servlet.
  128. -->
  129. <!-- Creates the OSGi MANIFEST.MF file -->
  130. <plugin>
  131. <groupId>org.apache.felix</groupId>
  132. <artifactId>maven-bundle-plugin</artifactId>
  133. <version>4.0.0</version>
  134. <configuration>
  135. <supportedProjectTypes>
  136. <supportedProjectType>jar</supportedProjectType>
  137. </supportedProjectTypes>
  138. <instructions>
  139. <Bundle-Version>${bundle.version}</Bundle-Version>
  140. <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
  141. <Bundle-Description>
  142. Jakarta Servlet ${spec.version}
  143. </Bundle-Description>
  144. <Extension-Name>${extension.name}</Extension-Name>
  145. <Specification-Version>${spec.version}</Specification-Version>
  146. <Specification-Vendor>${vendor.name}</Specification-Vendor>
  147. <Implementation-Version>${project.version}</Implementation-Version>
  148. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  149. <Implementation-Vendor-Id>${implementation.vendor.id}</Implementation-Vendor-Id>
  150. <Export-Package>javax.servlet.*</Export-Package>
  151. </instructions>
  152. </configuration>
  153. <executions>
  154. <execution>
  155. <id>bundle-manifest</id>
  156. <phase>process-classes</phase>
  157. <goals>
  158. <goal>manifest</goal>
  159. </goals>
  160. </execution>
  161. </executions>
  162. </plugin>
  163. <!-- Adds the manifest file created by the org.apache.felix:maven-bundle-plugin -->
  164. <plugin>
  165. <groupId>org.apache.maven.plugins</groupId>
  166. <artifactId>maven-jar-plugin</artifactId>
  167. <version>2.4</version>
  168. <configuration>
  169. <archive>
  170. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  171. <manifestEntries>
  172. <Automatic-Module-Name>java.servlet</Automatic-Module-Name>
  173. </manifestEntries>
  174. </archive>
  175. <excludes>
  176. <exclude>**/*.java</exclude>
  177. </excludes>
  178. </configuration>
  179. </plugin>
  180. <!-- Creates the source jar -->
  181. <plugin>
  182. <groupId>org.apache.maven.plugins</groupId>
  183. <artifactId>maven-source-plugin</artifactId>
  184. <version>2.1</version>
  185. <configuration>
  186. <includePom>true</includePom>
  187. </configuration>
  188. <executions>
  189. <execution>
  190. <id>attach-sources</id>
  191. <goals>
  192. <goal>jar-no-fork</goal>
  193. </goals>
  194. </execution>
  195. </executions>
  196. </plugin>
  197. <!--
  198. Create Javadoc for API jar
  199. -->
  200. <plugin>
  201. <groupId>org.apache.maven.plugins</groupId>
  202. <artifactId>maven-javadoc-plugin</artifactId>
  203. <version>3.1.1</version>
  204. <executions>
  205. <execution>
  206. <id>attach-api-javadocs</id>
  207. <goals>
  208. <goal>jar</goal>
  209. </goals>
  210. <configuration>
  211. <source>1.8</source>
  212. <additionalJOption>-Xdoclint:none</additionalJOption>
  213. <description>Jakarta Servlet API documentation</description>
  214. <doctitle>Jakarta Servlet API documentation</doctitle>
  215. <windowtitle>Jakarta Servlet API documentation</windowtitle>
  216. <header><![CDATA[<br>Jakarta Servlet API v${project.version}]]></header>
  217. <bottom><![CDATA[
  218. Comments to: <a href="mailto:servlet-dev@eclipse.org">servlet-dev@eclipse.org</a>.<br>
  219. Copyright &#169; 2019 Eclipse Foundation. All rights reserved.<br>
  220. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  221. </bottom>
  222. <docfilessubdirs>true</docfilessubdirs>
  223. <groups>
  224. <group>
  225. <title>Jakarta Servlet API Documentation</title>
  226. <packages>
  227. javax.servlet.*
  228. </packages>
  229. </group>
  230. </groups>
  231. <tags>
  232. <tag>
  233. <name>implSpec</name>
  234. <placement>a</placement>
  235. <head>Implementation Requirements:</head>
  236. </tag>
  237. <tag>
  238. <name>param</name>
  239. </tag>
  240. <tag>
  241. <name>return</name>
  242. </tag>
  243. <tag>
  244. <name>throws</name>
  245. </tag>
  246. <tag>
  247. <name>since</name>
  248. </tag>
  249. <tag>
  250. <name>version</name>
  251. </tag>
  252. <tag>
  253. <name>serialData</name>
  254. </tag>
  255. <tag>
  256. <name>factory</name>
  257. </tag>
  258. <tag>
  259. <name>see</name>
  260. </tag>
  261. </tags>
  262. </configuration>
  263. </execution>
  264. </executions>
  265. </plugin>
  266. <plugin>
  267. <groupId>org.codehaus.mojo</groupId>
  268. <artifactId>findbugs-maven-plugin</artifactId>
  269. <version>${findbugs.version}</version>
  270. <configuration>
  271. <threshold>${findbugs.threshold}</threshold>
  272. <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
  273. <findbugsXmlOutput>true</findbugsXmlOutput>
  274. <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
  275. </configuration>
  276. </plugin>
  277. <plugin>
  278. <groupId>org.apache.maven.plugins</groupId>
  279. <artifactId>maven-release-plugin</artifactId>
  280. <version>2.5.3</version>
  281. <configuration>
  282. <mavenExecutorId>forked-path</mavenExecutorId>
  283. <useReleaseProfile>false</useReleaseProfile>
  284. <tagNameFormat>@{project.version}</tagNameFormat>
  285. <arguments>${release.arguments}</arguments>
  286. </configuration>
  287. <dependencies>
  288. <dependency>
  289. <groupId>org.apache.maven.scm</groupId>
  290. <artifactId>maven-scm-provider-gitexe</artifactId>
  291. <version>1.8.1</version>
  292. </dependency>
  293. </dependencies>
  294. </plugin>
  295. <plugin>
  296. <groupId>org.codehaus.mojo</groupId>
  297. <artifactId>build-helper-maven-plugin</artifactId>
  298. <version>3.0.0</version>
  299. <executions>
  300. <execution>
  301. <id>add-resource</id>
  302. <phase>generate-resources</phase>
  303. <goals>
  304. <goal>add-resource</goal>
  305. </goals>
  306. <configuration>
  307. <resources>
  308. <resource>
  309. <directory>.</directory>
  310. <targetPath>META-INF</targetPath>
  311. <includes>
  312. <include>LICENSE.md</include>
  313. <include>NOTICE.md</include>
  314. </includes>
  315. </resource>
  316. </resources>
  317. </configuration>
  318. </execution>
  319. </executions>
  320. </plugin>
  321. </plugins>
  322. </build>
  323. <reporting>
  324. <plugins>
  325. <plugin>
  326. <groupId>org.codehaus.mojo</groupId>
  327. <artifactId>findbugs-maven-plugin</artifactId>
  328. <version>${findbugs.version}</version>
  329. <configuration>
  330. <threshold>${findbugs.threshold}</threshold>
  331. <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </reporting>
  336. <profiles>
  337. <profile>
  338. <id>oss-release</id>
  339. <build>
  340. <plugins>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-gpg-plugin</artifactId>
  344. <version>1.6</version>
  345. </plugin>
  346. <plugin>
  347. <groupId>org.apache.maven.plugins</groupId>
  348. <artifactId>maven-deploy-plugin</artifactId>
  349. <configuration>
  350. <!-- To prefer nexus-staging-maven-plugin -->
  351. <skip>true</skip>
  352. </configuration>
  353. </plugin>
  354. <plugin>
  355. <groupId>org.sonatype.plugins</groupId>
  356. <artifactId>nexus-staging-maven-plugin</artifactId>
  357. <extensions>true</extensions>
  358. <executions>
  359. <execution>
  360. <id>default-deploy</id>
  361. <phase>deploy</phase>
  362. <goals>
  363. <goal>deploy</goal>
  364. </goals>
  365. </execution>
  366. </executions>
  367. <configuration>
  368. <serverId>ossrh</serverId>
  369. <nexusUrl>https://jakarta.oss.sonatype.org/</nexusUrl>
  370. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  371. </configuration>
  372. </plugin>
  373. </plugins>
  374. </build>
  375. </profile>
  376. </profiles>
  377. </project>