jakarta.servlet-api-6.0.0.pom 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 1997, 2022 Oracle and/or its affiliates and others.
  4. All rights reserved.
  5. This program and the accompanying materials are made available under the
  6. terms of the Eclipse Public License v. 2.0, which is available at
  7. http://www.eclipse.org/legal/epl-2.0.
  8. This Source Code may also be made available under the following Secondary
  9. Licenses when the conditions for such availability set forth in the
  10. Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
  11. version 2 with the GNU Classpath Exception, which is available at
  12. https://www.gnu.org/software/classpath/license.html.
  13. SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
  14. -->
  15. <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/xsd/maven-4.0.0.xsd">
  16. <modelVersion>4.0.0</modelVersion>
  17. <parent>
  18. <groupId>org.eclipse.ee4j</groupId>
  19. <artifactId>project</artifactId>
  20. <version>1.0.7</version>
  21. <relativePath/>
  22. </parent>
  23. <groupId>jakarta.servlet</groupId>
  24. <artifactId>jakarta.servlet-api</artifactId>
  25. <version>6.0.0</version>
  26. <name>Jakarta Servlet</name>
  27. <url>https://projects.eclipse.org/projects/ee4j.servlet</url>
  28. <licenses>
  29. <license>
  30. <name>EPL 2.0</name>
  31. <url>http://www.eclipse.org/legal/epl-2.0</url>
  32. <distribution>repo</distribution>
  33. </license>
  34. <license>
  35. <name>GPL2 w/ CPE</name>
  36. <url>https://www.gnu.org/software/classpath/license.html</url>
  37. <distribution>repo</distribution>
  38. </license>
  39. </licenses>
  40. <developers>
  41. <developer>
  42. <id>yaminikb</id>
  43. <name>Yamini K B</name>
  44. <organization>Oracle Corporation</organization>
  45. <organizationUrl>http://www.oracle.com/</organizationUrl>
  46. </developer>
  47. </developers>
  48. <contributors>
  49. <contributor>
  50. <name>Ed Burns</name>
  51. </contributor>
  52. <contributor>
  53. <name>Shing Wai Chan</name>
  54. </contributor>
  55. </contributors>
  56. <mailingLists>
  57. <mailingList>
  58. <name>Servlet mailing list</name>
  59. <post>servlet-dev@eclipse.org</post>
  60. <subscribe>https://dev.eclipse.org/mailman/listinfo/servlet-dev</subscribe>
  61. <unsubscribe>https://dev.eclipse.org/mailman/listinfo/servlet-dev</unsubscribe>
  62. <archive>https://dev.eclipse.org/mhonarc/lists/servlet-dev</archive>
  63. </mailingList>
  64. </mailingLists>
  65. <scm>
  66. <connection>scm:git:https://github.com/eclipse-ee4j/servlet-api.git</connection>
  67. <developerConnection>scm:git:git@github.com:eclipse-ee4j/servlet-api.git</developerConnection>
  68. <url>https://github.com/eclipse-ee4j/servlet-api</url>
  69. <tag>HEAD</tag>
  70. </scm>
  71. <issueManagement>
  72. <system>github</system>
  73. <url>https://github.com/eclipse-ee4j/servlet-api/issues</url>
  74. </issueManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.junit.jupiter</groupId>
  78. <artifactId>junit-jupiter-engine</artifactId>
  79. <version>5.8.1</version>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.junit.jupiter</groupId>
  84. <artifactId>junit-jupiter-params</artifactId>
  85. <version>5.8.1</version>
  86. <scope>test</scope>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.hamcrest</groupId>
  90. <artifactId>hamcrest</artifactId>
  91. <version>2.2</version>
  92. <scope>test</scope>
  93. </dependency>
  94. </dependencies>
  95. <build>
  96. <resources>
  97. <resource>
  98. <directory>src/main/java</directory>
  99. <includes>
  100. <include>**/*.properties</include>
  101. <include>**/*.html</include>
  102. </includes>
  103. </resource>
  104. <resource>
  105. <directory>src/main/resources</directory>
  106. </resource>
  107. </resources>
  108. <pluginManagement>
  109. <plugins>
  110. <plugin>
  111. <groupId>net.revelc.code.formatter</groupId>
  112. <artifactId>formatter-maven-plugin</artifactId>
  113. <version>2.11.0</version>
  114. <configuration>
  115. <configFile>${project.basedir}/etc/config/ee4j-eclipse-formatting.xml</configFile>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>net.revelc.code</groupId>
  120. <artifactId>impsort-maven-plugin</artifactId>
  121. <version>1.4.1</version>
  122. </plugin>
  123. </plugins>
  124. </pluginManagement>
  125. <plugins>
  126. <!-- Sets minimal Maven version to 3.5.4 -->
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-enforcer-plugin</artifactId>
  130. <version>3.0.0</version>
  131. <executions>
  132. <execution>
  133. <id>enforce-maven</id>
  134. <goals>
  135. <goal>enforce</goal>
  136. </goals>
  137. <configuration>
  138. <rules>
  139. <requireMavenVersion>
  140. <version>3.5.4</version>
  141. </requireMavenVersion>
  142. </rules>
  143. </configuration>
  144. </execution>
  145. </executions>
  146. </plugin>
  147. <!-- Restricts the Java version to 11 -->
  148. <plugin>
  149. <artifactId>maven-compiler-plugin</artifactId>
  150. <version>3.8.1</version>
  151. <configuration>
  152. <source>11</source>
  153. <target>11</target>
  154. <compilerArgument>-Xlint:all</compilerArgument>
  155. </configuration>
  156. </plugin>
  157. <!-- Execute unit tests -->
  158. <plugin>
  159. <groupId>org.apache.maven.plugins</groupId>
  160. <artifactId>maven-surefire-plugin</artifactId>
  161. <version>3.0.0-M5</version>
  162. </plugin>
  163. <!-- Checks copyright / license headers -->
  164. <plugin>
  165. <groupId>org.glassfish.copyright</groupId>
  166. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  167. <version>2.4</version>
  168. <configuration>
  169. <excludeFile>etc/config/copyright-exclude</excludeFile>
  170. <!--svn|mercurial|git - defaults to svn-->
  171. <scm>git</scm>
  172. <!-- turn on/off debugging -->
  173. <debug>off</debug>
  174. <!-- skip files not under SCM-->
  175. <scmOnly>true</scmOnly>
  176. <!-- turn off warnings -->
  177. <warn>true</warn>
  178. <!-- for use with repair -->
  179. <update>false</update>
  180. <!-- check that year is correct -->
  181. <ignoreYear>false</ignoreYear>
  182. <templateFile>etc/config/copyright-eclipse.txt</templateFile>
  183. <alternateTemplateFile>etc/config/copyright-oracle.txt</alternateTemplateFile>
  184. </configuration>
  185. </plugin>
  186. <!--
  187. spec-version-maven-plugin would normally appear here.
  188. But somehow is missing for Servlet.
  189. -->
  190. <!-- Creates the OSGi MANIFEST.MF file -->
  191. <plugin>
  192. <groupId>org.apache.felix</groupId>
  193. <artifactId>maven-bundle-plugin</artifactId>
  194. <version>5.1.2</version>
  195. <configuration>
  196. <supportedProjectTypes>
  197. <supportedProjectType>jar</supportedProjectType>
  198. </supportedProjectTypes>
  199. <instructions>
  200. <Bundle-Version>6.0.0</Bundle-Version>
  201. <Bundle-SymbolicName>jakarta.servlet-api</Bundle-SymbolicName>
  202. <Bundle-Description>
  203. Jakarta Servlet 6.0
  204. </Bundle-Description>
  205. <Extension-Name>jakarta.servlet</Extension-Name>
  206. <Specification-Version>6.0</Specification-Version>
  207. <Specification-Vendor>Eclipse Foundation</Specification-Vendor>
  208. <Implementation-Version>${project.version}</Implementation-Version>
  209. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  210. <Implementation-Vendor-Id>org.eclipse</Implementation-Vendor-Id>
  211. <Export-Package>jakarta.servlet.*</Export-Package>
  212. </instructions>
  213. </configuration>
  214. <executions>
  215. <execution>
  216. <id>bundle-manifest</id>
  217. <phase>process-classes</phase>
  218. <goals>
  219. <goal>manifest</goal>
  220. </goals>
  221. </execution>
  222. </executions>
  223. </plugin>
  224. <!-- Adds the manifest file created by the org.apache.felix:maven-bundle-plugin -->
  225. <plugin>
  226. <groupId>org.apache.maven.plugins</groupId>
  227. <artifactId>maven-jar-plugin</artifactId>
  228. <version>3.2.0</version>
  229. <configuration>
  230. <archive>
  231. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  232. </archive>
  233. <excludes>
  234. <exclude>**/*.java</exclude>
  235. </excludes>
  236. </configuration>
  237. </plugin>
  238. <!-- Creates the source jar -->
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-source-plugin</artifactId>
  242. <version>3.0.1</version>
  243. <configuration>
  244. <includePom>true</includePom>
  245. </configuration>
  246. <executions>
  247. <execution>
  248. <id>attach-sources</id>
  249. <goals>
  250. <goal>jar-no-fork</goal>
  251. </goals>
  252. </execution>
  253. </executions>
  254. </plugin>
  255. <!--
  256. Create Javadoc for API jar
  257. -->
  258. <plugin>
  259. <groupId>org.apache.maven.plugins</groupId>
  260. <artifactId>maven-javadoc-plugin</artifactId>
  261. <version>3.3.0</version>
  262. <executions>
  263. <execution>
  264. <id>attach-api-javadocs</id>
  265. <goals>
  266. <goal>jar</goal>
  267. </goals>
  268. <configuration>
  269. <quiet>true</quiet>
  270. <source>11</source>
  271. <additionalJOption>-Xdoclint:none</additionalJOption>
  272. <description>Jakarta Servlet API documentation</description>
  273. <doctitle>Jakarta Servlet API documentation</doctitle>
  274. <windowtitle>Jakarta Servlet API documentation</windowtitle>
  275. <header><![CDATA[<br>Jakarta Servlet API v${project.version}]]></header>
  276. <bottom><![CDATA[
  277. Comments to: <a href="mailto:servlet-dev@eclipse.org">servlet-dev@eclipse.org</a>.<br>
  278. Copyright &#169; 2019, 2022 Eclipse Foundation. All rights reserved.<br>
  279. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  280. </bottom>
  281. <docfilessubdirs>true</docfilessubdirs>
  282. <groups>
  283. <group>
  284. <title>Jakarta Servlet API Documentation</title>
  285. <packages>
  286. jakarta.servlet.*
  287. </packages>
  288. </group>
  289. </groups>
  290. <tags>
  291. <tag>
  292. <name>implSpec</name>
  293. <placement>a</placement>
  294. <head>Implementation Requirements:</head>
  295. </tag>
  296. <tag>
  297. <name>param</name>
  298. </tag>
  299. <tag>
  300. <name>return</name>
  301. </tag>
  302. <tag>
  303. <name>throws</name>
  304. </tag>
  305. <tag>
  306. <name>since</name>
  307. </tag>
  308. <tag>
  309. <name>version</name>
  310. </tag>
  311. <tag>
  312. <name>serialData</name>
  313. </tag>
  314. <tag>
  315. <name>factory</name>
  316. </tag>
  317. <tag>
  318. <name>see</name>
  319. </tag>
  320. </tags>
  321. </configuration>
  322. </execution>
  323. </executions>
  324. </plugin>
  325. <plugin>
  326. <groupId>org.codehaus.mojo</groupId>
  327. <artifactId>build-helper-maven-plugin</artifactId>
  328. <version>3.1.0</version>
  329. <executions>
  330. <execution>
  331. <id>add-resource</id>
  332. <phase>generate-resources</phase>
  333. <goals>
  334. <goal>add-resource</goal>
  335. </goals>
  336. <configuration>
  337. <resources>
  338. <resource>
  339. <directory>${maven.multiModuleProjectDirectory}</directory>
  340. <targetPath>META-INF</targetPath>
  341. <includes>
  342. <include>LICENSE.md</include>
  343. <include>NOTICE.md</include>
  344. </includes>
  345. </resource>
  346. </resources>
  347. </configuration>
  348. </execution>
  349. </executions>
  350. </plugin>
  351. </plugins>
  352. </build>
  353. <profiles>
  354. <profile>
  355. <id>format</id>
  356. <activation>
  357. <activeByDefault>true</activeByDefault>
  358. <property>
  359. <name>!validate-format</name>
  360. </property>
  361. </activation>
  362. <build>
  363. <plugins>
  364. <plugin>
  365. <groupId>net.revelc.code.formatter</groupId>
  366. <artifactId>formatter-maven-plugin</artifactId>
  367. <executions>
  368. <execution>
  369. <phase>process-sources</phase>
  370. <goals>
  371. <goal>format</goal>
  372. </goals>
  373. </execution>
  374. </executions>
  375. </plugin>
  376. <plugin>
  377. <groupId>net.revelc.code</groupId>
  378. <artifactId>impsort-maven-plugin</artifactId>
  379. <configuration>
  380. <removeUnused>true</removeUnused>
  381. </configuration>
  382. <executions>
  383. <execution>
  384. <id>sort-imports</id>
  385. <goals>
  386. <goal>sort</goal>
  387. </goals>
  388. </execution>
  389. </executions>
  390. </plugin>
  391. </plugins>
  392. </build>
  393. </profile>
  394. <profile>
  395. <id>validate</id>
  396. <activation>
  397. <activeByDefault>true</activeByDefault>
  398. <property>
  399. <name>validate-format</name>
  400. </property>
  401. </activation>
  402. <build>
  403. <plugins>
  404. <plugin>
  405. <groupId>net.revelc.code.formatter</groupId>
  406. <artifactId>formatter-maven-plugin</artifactId>
  407. <executions>
  408. <execution>
  409. <phase>process-sources</phase>
  410. <goals>
  411. <goal>validate</goal>
  412. </goals>
  413. </execution>
  414. </executions>
  415. </plugin>
  416. <plugin>
  417. <groupId>net.revelc.code</groupId>
  418. <artifactId>impsort-maven-plugin</artifactId>
  419. <configuration>
  420. <removeUnused>true</removeUnused>
  421. </configuration>
  422. <executions>
  423. <execution>
  424. <id>check-imports</id>
  425. <goals>
  426. <goal>check</goal>
  427. </goals>
  428. </execution>
  429. </executions>
  430. </plugin>
  431. </plugins>
  432. </build>
  433. </profile>
  434. </profiles>
  435. </project>