jakarta.servlet-api-5.0.0.pom 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 1997, 2020 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.6</version>
  21. <relativePath/>
  22. </parent>
  23. <groupId>jakarta.servlet</groupId>
  24. <artifactId>jakarta.servlet-api</artifactId>
  25. <version>5.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. <build>
  76. <resources>
  77. <resource>
  78. <directory>src/main/java</directory>
  79. <includes>
  80. <include>**/*.properties</include>
  81. <include>**/*.html</include>
  82. </includes>
  83. </resource>
  84. <resource>
  85. <directory>src/main/resources</directory>
  86. <excludes>
  87. <exclude>META-INF/README</exclude>
  88. </excludes>
  89. </resource>
  90. </resources>
  91. <pluginManagement>
  92. <plugins>
  93. <plugin>
  94. <groupId>net.revelc.code.formatter</groupId>
  95. <artifactId>formatter-maven-plugin</artifactId>
  96. <version>2.11.0</version>
  97. <configuration>
  98. <configFile>${project.basedir}/etc/config/ee4j-eclipse-formatting.xml</configFile>
  99. </configuration>
  100. </plugin>
  101. <plugin>
  102. <groupId>net.revelc.code</groupId>
  103. <artifactId>impsort-maven-plugin</artifactId>
  104. <version>1.4.1</version>
  105. </plugin>
  106. </plugins>
  107. </pluginManagement>
  108. <plugins>
  109. <!-- Sets minimal Maven version to 3.5.4 -->
  110. <plugin>
  111. <groupId>org.apache.maven.plugins</groupId>
  112. <artifactId>maven-enforcer-plugin</artifactId>
  113. <version>3.0.0-M3</version>
  114. <executions>
  115. <execution>
  116. <id>enforce-maven</id>
  117. <goals>
  118. <goal>enforce</goal>
  119. </goals>
  120. <configuration>
  121. <rules>
  122. <requireMavenVersion>
  123. <version>3.5.4</version>
  124. </requireMavenVersion>
  125. </rules>
  126. </configuration>
  127. </execution>
  128. </executions>
  129. </plugin>
  130. <!-- Restricts the Java version to 1.8 -->
  131. <plugin>
  132. <artifactId>maven-compiler-plugin</artifactId>
  133. <version>3.8.1</version>
  134. <configuration>
  135. <source>1.8</source>
  136. <target>1.8</target>
  137. <compilerArgument>-Xlint:all</compilerArgument>
  138. </configuration>
  139. </plugin>
  140. <!-- Checks copyright / license headers -->
  141. <plugin>
  142. <groupId>org.glassfish.copyright</groupId>
  143. <artifactId>glassfish-copyright-maven-plugin</artifactId>
  144. <version>2.3</version>
  145. <configuration>
  146. <excludeFile>etc/config/copyright-exclude</excludeFile>
  147. <!--svn|mercurial|git - defaults to svn-->
  148. <scm>git</scm>
  149. <!-- turn on/off debugging -->
  150. <debug>off</debug>
  151. <!-- skip files not under SCM-->
  152. <scmOnly>true</scmOnly>
  153. <!-- turn off warnings -->
  154. <warn>true</warn>
  155. <!-- for use with repair -->
  156. <update>false</update>
  157. <!-- check that year is correct -->
  158. <ignoreYear>false</ignoreYear>
  159. <templateFile>etc/config/copyright.txt</templateFile>
  160. </configuration>
  161. </plugin>
  162. <!--
  163. spec-version-maven-plugin would normally appear here.
  164. But somehow is missing for Servlet.
  165. -->
  166. <!-- Creates the OSGi MANIFEST.MF file -->
  167. <plugin>
  168. <groupId>org.apache.felix</groupId>
  169. <artifactId>maven-bundle-plugin</artifactId>
  170. <version>4.2.1</version>
  171. <configuration>
  172. <supportedProjectTypes>
  173. <supportedProjectType>jar</supportedProjectType>
  174. </supportedProjectTypes>
  175. <instructions>
  176. <Bundle-Version>5.0.0</Bundle-Version>
  177. <Bundle-SymbolicName>jakarta.servlet-api</Bundle-SymbolicName>
  178. <Bundle-Description>
  179. Jakarta Servlet 5.0
  180. </Bundle-Description>
  181. <Extension-Name>jakarta.servlet</Extension-Name>
  182. <Specification-Version>5.0</Specification-Version>
  183. <Specification-Vendor>Eclipse Foundation</Specification-Vendor>
  184. <Implementation-Version>${project.version}</Implementation-Version>
  185. <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
  186. <Implementation-Vendor-Id>org.eclipse</Implementation-Vendor-Id>
  187. <Export-Package>jakarta.servlet.*</Export-Package>
  188. </instructions>
  189. </configuration>
  190. <executions>
  191. <execution>
  192. <id>bundle-manifest</id>
  193. <phase>process-classes</phase>
  194. <goals>
  195. <goal>manifest</goal>
  196. </goals>
  197. </execution>
  198. </executions>
  199. </plugin>
  200. <!-- Adds the manifest file created by the org.apache.felix:maven-bundle-plugin -->
  201. <plugin>
  202. <groupId>org.apache.maven.plugins</groupId>
  203. <artifactId>maven-jar-plugin</artifactId>
  204. <version>3.2.0</version>
  205. <configuration>
  206. <archive>
  207. <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
  208. <manifestEntries>
  209. <Automatic-Module-Name>jakarta.servlet</Automatic-Module-Name>
  210. </manifestEntries>
  211. </archive>
  212. <excludes>
  213. <exclude>**/*.java</exclude>
  214. </excludes>
  215. </configuration>
  216. </plugin>
  217. <!-- Creates the source jar -->
  218. <plugin>
  219. <groupId>org.apache.maven.plugins</groupId>
  220. <artifactId>maven-source-plugin</artifactId>
  221. <version>3.0.1</version>
  222. <configuration>
  223. <includePom>true</includePom>
  224. </configuration>
  225. <executions>
  226. <execution>
  227. <id>attach-sources</id>
  228. <goals>
  229. <goal>jar-no-fork</goal>
  230. </goals>
  231. </execution>
  232. </executions>
  233. </plugin>
  234. <!--
  235. Create Javadoc for API jar
  236. -->
  237. <plugin>
  238. <groupId>org.apache.maven.plugins</groupId>
  239. <artifactId>maven-javadoc-plugin</artifactId>
  240. <version>3.2.0</version>
  241. <executions>
  242. <execution>
  243. <id>attach-api-javadocs</id>
  244. <goals>
  245. <goal>jar</goal>
  246. </goals>
  247. <configuration>
  248. <source>1.8</source>
  249. <additionalJOption>-Xdoclint:none</additionalJOption>
  250. <description>Jakarta Servlet API documentation</description>
  251. <doctitle>Jakarta Servlet API documentation</doctitle>
  252. <windowtitle>Jakarta Servlet API documentation</windowtitle>
  253. <header><![CDATA[<br>Jakarta Servlet API v${project.version}]]></header>
  254. <bottom><![CDATA[
  255. Comments to: <a href="mailto:servlet-dev@eclipse.org">servlet-dev@eclipse.org</a>.<br>
  256. Copyright &#169; 2019, 2020 Eclipse Foundation. All rights reserved.<br>
  257. Use is subject to <a href="{@docRoot}/doc-files/speclicense.html" target="_top">license terms</a>.]]>
  258. </bottom>
  259. <docfilessubdirs>true</docfilessubdirs>
  260. <groups>
  261. <group>
  262. <title>Jakarta Servlet API Documentation</title>
  263. <packages>
  264. jakarta.servlet.*
  265. </packages>
  266. </group>
  267. </groups>
  268. <tags>
  269. <tag>
  270. <name>implSpec</name>
  271. <placement>a</placement>
  272. <head>Implementation Requirements:</head>
  273. </tag>
  274. <tag>
  275. <name>param</name>
  276. </tag>
  277. <tag>
  278. <name>return</name>
  279. </tag>
  280. <tag>
  281. <name>throws</name>
  282. </tag>
  283. <tag>
  284. <name>since</name>
  285. </tag>
  286. <tag>
  287. <name>version</name>
  288. </tag>
  289. <tag>
  290. <name>serialData</name>
  291. </tag>
  292. <tag>
  293. <name>factory</name>
  294. </tag>
  295. <tag>
  296. <name>see</name>
  297. </tag>
  298. </tags>
  299. </configuration>
  300. </execution>
  301. </executions>
  302. </plugin>
  303. <plugin>
  304. <groupId>org.codehaus.mojo</groupId>
  305. <artifactId>build-helper-maven-plugin</artifactId>
  306. <version>3.1.0</version>
  307. <executions>
  308. <execution>
  309. <id>add-resource</id>
  310. <phase>generate-resources</phase>
  311. <goals>
  312. <goal>add-resource</goal>
  313. </goals>
  314. <configuration>
  315. <resources>
  316. <resource>
  317. <directory>${maven.multiModuleProjectDirectory}</directory>
  318. <targetPath>META-INF</targetPath>
  319. <includes>
  320. <include>LICENSE.md</include>
  321. <include>NOTICE.md</include>
  322. </includes>
  323. </resource>
  324. </resources>
  325. </configuration>
  326. </execution>
  327. </executions>
  328. </plugin>
  329. </plugins>
  330. </build>
  331. <profiles>
  332. <profile>
  333. <id>format</id>
  334. <activation>
  335. <activeByDefault>true</activeByDefault>
  336. <property>
  337. <name>!validate-format</name>
  338. </property>
  339. </activation>
  340. <build>
  341. <plugins>
  342. <plugin>
  343. <groupId>net.revelc.code.formatter</groupId>
  344. <artifactId>formatter-maven-plugin</artifactId>
  345. <executions>
  346. <execution>
  347. <phase>process-sources</phase>
  348. <goals>
  349. <goal>format</goal>
  350. </goals>
  351. </execution>
  352. </executions>
  353. </plugin>
  354. <plugin>
  355. <groupId>net.revelc.code</groupId>
  356. <artifactId>impsort-maven-plugin</artifactId>
  357. <configuration>
  358. <removeUnused>true</removeUnused>
  359. </configuration>
  360. <executions>
  361. <execution>
  362. <id>sort-imports</id>
  363. <goals>
  364. <goal>sort</goal>
  365. </goals>
  366. </execution>
  367. </executions>
  368. </plugin>
  369. </plugins>
  370. </build>
  371. </profile>
  372. <profile>
  373. <id>validate</id>
  374. <activation>
  375. <activeByDefault>true</activeByDefault>
  376. <property>
  377. <name>validate-format</name>
  378. </property>
  379. </activation>
  380. <build>
  381. <plugins>
  382. <plugin>
  383. <groupId>net.revelc.code.formatter</groupId>
  384. <artifactId>formatter-maven-plugin</artifactId>
  385. <executions>
  386. <execution>
  387. <phase>process-sources</phase>
  388. <goals>
  389. <goal>validate</goal>
  390. </goals>
  391. </execution>
  392. </executions>
  393. </plugin>
  394. <plugin>
  395. <groupId>net.revelc.code</groupId>
  396. <artifactId>impsort-maven-plugin</artifactId>
  397. <configuration>
  398. <removeUnused>true</removeUnused>
  399. </configuration>
  400. <executions>
  401. <execution>
  402. <id>check-imports</id>
  403. <goals>
  404. <goal>check</goal>
  405. </goals>
  406. </execution>
  407. </executions>
  408. </plugin>
  409. </plugins>
  410. </build>
  411. </profile>
  412. </profiles>
  413. </project>