pom.xml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  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. <groupId>org.springframework.security</groupId>
  5. <artifactId>spring-security-parent</artifactId>
  6. <version>2.0-SNAPSHOT</version>
  7. <name>Spring Security</name>
  8. <packaging>pom</packaging>
  9. <modules>
  10. <module>core</module>
  11. <module>core-tiger</module>
  12. <module>adapters</module>
  13. <module>portlet</module>
  14. <module>ntlm</module>
  15. <module>openid</module>
  16. <module>samples</module>
  17. <module>cas</module>
  18. <module>captcha</module>
  19. <module>acl</module>
  20. <module>taglibs</module>
  21. </modules>
  22. <description>Spring Security</description>
  23. <organization>
  24. <name>SpringSource, Inc</name>
  25. <url>http://sourceforge.net/projects/acegisecurity</url>
  26. <!--<logo>http://sourceforge.net/sflogo.php?group_id=104215&amp;type=5</logo>-->
  27. </organization>
  28. <inceptionYear>2004</inceptionYear>
  29. <!--<logo>http://acegisecurity.org/logo.gif</logo>-->
  30. <url>http://acegisecurity.org/</url>
  31. <licenses>
  32. <license>
  33. <name>The Apache Software License, Version 2.0</name>
  34. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  35. <distribution>repo</distribution>
  36. </license>
  37. </licenses>
  38. <!-- Note when doing releases: tagBase is set in release plugin configuration below -->
  39. <scm>
  40. <connection>scm:svn:https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk</connection>
  41. <developerConnection>scm:svn:https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk</developerConnection>
  42. <url>http://acegisecurity.svn.sourceforge.net/viewcvs.cgi/acegisecurity/spring-security/trunk/</url>
  43. </scm>
  44. <issueManagement>
  45. <system>jira</system>
  46. <url>http://opensource.atlassian.com/projects/spring/browse/SEC</url>
  47. </issueManagement>
  48. <distributionManagement>
  49. <repository>
  50. <id>spring-milestone</id>
  51. <name>Spring Milestone Repository</name>
  52. <url>s3://maven.springframework.org/milestone</url>
  53. </repository>
  54. <snapshotRepository>
  55. <id>spring-snapshot</id>
  56. <name>Spring Snapshot Repository</name>
  57. <url>s3://maven.springframework.org/snapshot</url>
  58. </snapshotRepository>
  59. <site>
  60. <id>local</id>
  61. <name>Local Site Directory</name>
  62. <!--
  63. This variable is set by the build release script. You can also set it on the command line if
  64. you are running maven directly. e.g. mvn site -DsiteDirectory=file:///home/joe/mysite
  65. -->
  66. <url>${siteDirectory}</url>
  67. </site>
  68. </distributionManagement>
  69. <repositories>
  70. <repository>
  71. <id>spring-release</id>
  72. <name>Spring Portfolio Release Repository</name>
  73. <url>http://s3.amazonaws.com/maven.springframework.org/release</url>
  74. </repository>
  75. <repository>
  76. <id>spring-external</id>
  77. <name>Spring Portfolio Release Repository</name>
  78. <url>http://s3.amazonaws.com/maven.springframework.org/external</url>
  79. </repository>
  80. </repositories>
  81. <mailingLists>
  82. <mailingList>
  83. <name>Acegi Developer List</name>
  84. <subscribe>
  85. https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
  86. </subscribe>
  87. <!--
  88. <unsubscribe>https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer</unsubscribe>
  89. <post>acegisecurity-developer@lists.sourceforge.net</post>
  90. -->
  91. <archive>
  92. http://sourceforge.net/mailarchive/forum.php?forum_id=40659
  93. </archive>
  94. <otherArchives>
  95. <otherArchive>
  96. http://news.gmane.org/gmane.comp.java.springframework.acegisecurity.devel/
  97. </otherArchive>
  98. <otherArchive>
  99. http://www.mail-archive.com/acegisecurity-developer@lists.sourceforge.net/
  100. </otherArchive>
  101. </otherArchives>
  102. </mailingList>
  103. </mailingLists>
  104. <developers>
  105. <developer>
  106. <name>Ben Alex</name>
  107. <id>benalex</id>
  108. <email>benalex at users.sourceforge.net</email>
  109. <organization>
  110. Acegi Technology Pty Limited (http://www.acegi.com.au)
  111. </organization>
  112. <timezone>+10</timezone>
  113. </developer>
  114. <developer>
  115. <name>Colin Sampaleanu</name>
  116. <id>colins</id>
  117. <email>colinml1 at exis.com</email>
  118. </developer>
  119. <developer>
  120. <name>Carlos Sanchez</name>
  121. <id>carlossg</id>
  122. <email>carlossg at users.sourceforge.net</email>
  123. <timezone>+1</timezone>
  124. </developer>
  125. <developer>
  126. <name>Luke Taylor</name>
  127. <id>luke_t</id>
  128. <email>luke_t at users.sourceforge.net</email>
  129. <organization>
  130. Monkey Machine Ltd. (http://monkeymachine.ltd.uk)
  131. </organization>
  132. <timezone>0</timezone>
  133. </developer>
  134. <developer>
  135. <name>Ray Krueger</name>
  136. <id>raykrueger</id>
  137. <email>raykrueger at users.sourceforge.net</email>
  138. </developer>
  139. <developer>
  140. <name>Robert Sanders</name>
  141. <id>robertsanders</id>
  142. <email>robertsanders at users.sourceforge.net</email>
  143. </developer>
  144. <developer>
  145. <name>Mark St.Godard</name>
  146. <id>markstg</id>
  147. <email>markstg at users.sourceforge.net</email>
  148. </developer>
  149. <developer>
  150. <name>John A. Lewis</name>
  151. <id>johnalewis</id>
  152. <email>johnalewis at users.sourceforge.net</email>
  153. </developer>
  154. </developers>
  155. <contributors>
  156. <contributor>
  157. <name>Alan Stewart</name>
  158. </contributor>
  159. <contributor>
  160. <name>Cameron Braid</name>
  161. </contributor>
  162. <contributor>
  163. <name>Patrick Burleson</name>
  164. </contributor>
  165. <contributor>
  166. <name>Francois Beausoleil</name>
  167. </contributor>
  168. <contributor>
  169. <name>Wesley Hall</name>
  170. </contributor>
  171. <contributor>
  172. <name>Scott Evans</name>
  173. </contributor>
  174. <contributor>
  175. <name>Travis Gregg</name>
  176. </contributor>
  177. <contributor>
  178. <name>Karel Miarka</name>
  179. </contributor>
  180. <contributor>
  181. <name>James Monaghan</name>
  182. </contributor>
  183. <contributor>
  184. <name>Andrew Petro</name>
  185. </contributor>
  186. <contributor>
  187. <name>Aaron Tang</name>
  188. </contributor>
  189. <contributor>
  190. <name>Orlando Garcia Carmona</name>
  191. </contributor>
  192. <contributor>
  193. <name>Joni Suominen</name>
  194. </contributor>
  195. <contributor>
  196. <name>Sergio Berna</name>
  197. </contributor>
  198. <contributor>
  199. <name>Paulo Neves</name>
  200. </contributor>
  201. <contributor>
  202. <name>Mike Perham</name>
  203. </contributor>
  204. <contributor>
  205. <name>Robin Bramley</name>
  206. </contributor>
  207. <contributor>
  208. <name>Robert Sanders</name>
  209. </contributor>
  210. <contributor>
  211. <name>Vishal Puri</name>
  212. </contributor>
  213. <contributor>
  214. <name>Martin Algesten</name>
  215. </contributor>
  216. </contributors>
  217. <dependencies>
  218. <dependency>
  219. <groupId>junit</groupId>
  220. <artifactId>junit</artifactId>
  221. <version>4.4</version>
  222. <scope>test</scope>
  223. </dependency>
  224. </dependencies>
  225. <build>
  226. <extensions>
  227. <extension>
  228. <groupId>org.springframework.aws</groupId>
  229. <artifactId>spring-aws-maven</artifactId>
  230. <version>1.2.2</version>
  231. </extension>
  232. </extensions>
  233. <plugins>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-help-plugin</artifactId>
  237. <version>2.0.1</version>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-clean-plugin</artifactId>
  242. <version>2.1.1</version>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-resources-plugin</artifactId>
  247. <version>2.2</version>
  248. </plugin>
  249. <plugin>
  250. <groupId>org.apache.maven.plugins</groupId>
  251. <artifactId>maven-surefire-plugin</artifactId>
  252. <version>2.3.1</version>
  253. <configuration>
  254. <includes>
  255. <include>**/*Tests.class</include>
  256. </includes>
  257. <excludes>
  258. <exclude>**/Abstract*</exclude>
  259. </excludes>
  260. <forkMode>once</forkMode>
  261. <systemProperties>
  262. <!-- The working directory for the embedded apache Ldap test server -->
  263. <property>
  264. <name>apacheDSWorkDir</name>
  265. <value>
  266. ${basedir}/target/apacheds-work
  267. </value>
  268. </property>
  269. </systemProperties>
  270. </configuration>
  271. </plugin>
  272. <plugin>
  273. <groupId>org.apache.maven.plugins</groupId>
  274. <artifactId>maven-compiler-plugin</artifactId>
  275. <version>2.0.2</version>
  276. <executions>
  277. <execution>
  278. <id>java-1.4-compile</id>
  279. <phase>compile</phase>
  280. <goals>
  281. <goal>compile</goal>
  282. </goals>
  283. <configuration>
  284. <source>1.4</source>
  285. <target>1.4</target>
  286. </configuration>
  287. </execution>
  288. <execution>
  289. <id>java-1.5-compile</id>
  290. <phase>process-test-sources</phase>
  291. <goals>
  292. <goal>testCompile</goal>
  293. </goals>
  294. <configuration>
  295. <source>1.5</source>
  296. <target>1.5</target>
  297. </configuration>
  298. </execution>
  299. </executions>
  300. </plugin>
  301. <plugin>
  302. <groupId>org.apache.maven.plugins</groupId>
  303. <artifactId>maven-jar-plugin</artifactId>
  304. <version>2.1</version>
  305. <executions>
  306. <execution>
  307. <goals>
  308. <goal>test-jar</goal>
  309. </goals>
  310. <phase>package</phase>
  311. </execution>
  312. </executions>
  313. </plugin>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-source-plugin</artifactId>
  317. <version>2.0.3</version>
  318. <configuration>
  319. <attach>true</attach>
  320. </configuration>
  321. <executions>
  322. <execution>
  323. <goals>
  324. <goal>jar</goal>
  325. </goals>
  326. </execution>
  327. </executions>
  328. </plugin>
  329. <!-- Other -->
  330. <plugin>
  331. <groupId>org.apache.maven.plugins</groupId>
  332. <artifactId>maven-war-plugin</artifactId>
  333. <version>2.0.2</version>
  334. </plugin>
  335. <plugin>
  336. <groupId>org.apache.maven.plugins</groupId>
  337. <artifactId>maven-assembly-plugin</artifactId>
  338. <version>2.1</version>
  339. </plugin>
  340. <plugin>
  341. <groupId>org.apache.maven.plugins</groupId>
  342. <artifactId>maven-install-plugin</artifactId>
  343. <version>2.2</version>
  344. </plugin>
  345. <plugin>
  346. <groupId>org.apache.maven.plugins</groupId>
  347. <artifactId>maven-deploy-plugin</artifactId>
  348. <version>2.3</version>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-release-plugin</artifactId>
  353. <version>2.0-beta-7</version>
  354. <configuration>
  355. <tagBase>
  356. https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/tags
  357. </tagBase>
  358. </configuration>
  359. </plugin>
  360. <!-- IDE -->
  361. <plugin>
  362. <groupId>org.apache.maven.plugins</groupId>
  363. <artifactId>maven-eclipse-plugin</artifactId>
  364. <version>2.3</version>
  365. <configuration>
  366. <downloadSources>true</downloadSources>
  367. <wtpversion>1.0</wtpversion>
  368. </configuration>
  369. </plugin>
  370. <plugin>
  371. <groupId>org.apache.maven.plugins</groupId>
  372. <artifactId>maven-idea-plugin</artifactId>
  373. <version>2.0</version>
  374. <configuration>
  375. <downloadSources>true</downloadSources>
  376. <!--<downloadJavadocs>true</downloadJavadocs>-->
  377. <dependenciesAsLibraries>
  378. true
  379. </dependenciesAsLibraries>
  380. </configuration>
  381. </plugin>
  382. <!-- Site -->
  383. <plugin>
  384. <groupId>org.apache.maven.plugins</groupId>
  385. <artifactId>maven-site-plugin</artifactId>
  386. <version>2.0-beta-6</version>
  387. </plugin>
  388. <plugin>
  389. <groupId>com.agilejava.docbkx</groupId>
  390. <artifactId>docbkx-maven-plugin</artifactId>
  391. <version>2.0.6</version>
  392. <executions>
  393. <execution>
  394. <id>build-singlehtml-doc</id>
  395. <phase>pre-site</phase>
  396. <goals>
  397. <goal>generate-html</goal>
  398. </goals>
  399. <configuration>
  400. <sourceDirectory>${docbook.source}</sourceDirectory>
  401. <targetDirectory>${docbook.target}</targetDirectory>
  402. <inputs>springsecurity.xml</inputs>
  403. <chunkedOutput>false</chunkedOutput>
  404. <!--
  405. <htmlStylesheet>css/spring-security-docbook.css</htmlStylesheet>
  406. <htmlCustomization>
  407. ${docbook.source}/resources/xsl/spring-security-docbook-html.xsl
  408. </htmlCustomization>
  409. -->
  410. <postProcess>
  411. <copy todir="${docbook.target}/images">
  412. <fileset dir="${docbook.source}/images">
  413. <include name="*.png" />
  414. <include name="*.gif" />
  415. <include name="*.jpg" />
  416. </fileset>
  417. </copy>
  418. </postProcess>
  419. </configuration>
  420. </execution>
  421. <execution>
  422. <id>build-pdf-doc</id>
  423. <phase>pre-site</phase>
  424. <goals>
  425. <goal>generate-pdf</goal>
  426. </goals>
  427. <configuration>
  428. <sourceDirectory>${docbook.source}</sourceDirectory>
  429. <targetDirectory>${docbook.target}</targetDirectory>
  430. <inputs>springsecurity.xml</inputs>
  431. <imgSrcPath>${docbook.source}/</imgSrcPath>
  432. <admonGraphicsPath>${docbook.source}/resources/images/admons/</admonGraphicsPath>
  433. <foCustomization>${docbook.source}/resources/xsl/spring-security-docbook-fopdf.xsl
  434. </foCustomization>
  435. </configuration>
  436. </execution>
  437. </executions>
  438. <dependencies>
  439. <dependency>
  440. <groupId>org.docbook</groupId>
  441. <artifactId>docbook-xml</artifactId>
  442. <version>4.4</version>
  443. <scope>runtime</scope>
  444. </dependency>
  445. </dependencies>
  446. </plugin>
  447. </plugins>
  448. </build>
  449. <reporting>
  450. <plugins>
  451. <plugin>
  452. <groupId>org.apache.maven.plugins</groupId>
  453. <artifactId>maven-surefire-report-plugin</artifactId>
  454. <version>2.3.1</version>
  455. </plugin>
  456. <plugin>
  457. <groupId>org.apache.maven.plugins</groupId>
  458. <artifactId>maven-jxr-plugin</artifactId>
  459. </plugin>
  460. <!--
  461. <plugin>
  462. <groupId>org.apache.maven.plugins</groupId>
  463. <artifactId>maven-checkstyle-plugin</artifactId>
  464. <configuration>
  465. <configLocation>
  466. acegi_checkstyle.xml
  467. </configLocation>
  468. </configuration>
  469. </plugin>
  470. -->
  471. <plugin>
  472. <groupId>org.codehaus.mojo</groupId>
  473. <artifactId>cobertura-maven-plugin</artifactId>
  474. <version>2.2</version>
  475. </plugin>
  476. <plugin>
  477. <groupId>org.apache.maven.plugins</groupId>
  478. <artifactId>maven-javadoc-plugin</artifactId>
  479. <configuration>
  480. <links>
  481. <link>
  482. http://java.sun.com/j2se/1.5.0/docs/api
  483. </link>
  484. <link>
  485. http://www.springframework.org/docs/api/
  486. </link>
  487. <link>
  488. http://commons.apache.org/dbcp/apidocs/
  489. </link>
  490. <link>
  491. http://commons.apache.org/httpclient/apidocs/
  492. </link>
  493. <link>
  494. http://commons.apache.org/pool/apidocs/
  495. </link>
  496. <link>
  497. http://commons.apache.org/lang/api/
  498. </link>
  499. <link>
  500. http://commons.apache.org/codec/apidocs/
  501. </link>
  502. <link>
  503. http://commons.apache.org/collections/apidocs/
  504. </link>
  505. <link>
  506. http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/
  507. </link>
  508. <link>
  509. http://developer.ja-sig.org/projects/cas/cas-server-core/cas-server/cas-server-core/apidocs/
  510. </link>
  511. <link>
  512. http://tomcat.apache.org/tomcat-5.0-doc/servletapi/
  513. </link>
  514. </links>
  515. </configuration>
  516. </plugin>
  517. <plugin>
  518. <groupId>org.codehaus.mojo</groupId>
  519. <artifactId>taglist-maven-plugin</artifactId>
  520. </plugin>
  521. <plugin>
  522. <groupId>org.apache.maven.plugins</groupId>
  523. <artifactId>maven-project-info-reports-plugin</artifactId>
  524. <version>2.0.1</version>
  525. <reportSets>
  526. <reportSet>
  527. <reports>
  528. <report>dependencies</report>
  529. <report>project-team</report>
  530. <report>mailing-list</report>
  531. <report>issue-tracking</report>
  532. <report>license</report>
  533. </reports>
  534. </reportSet>
  535. </reportSets>
  536. </plugin>
  537. </plugins>
  538. </reporting>
  539. <dependencyManagement>
  540. <dependencies>
  541. <dependency>
  542. <groupId>org.springframework</groupId>
  543. <artifactId>spring-core</artifactId>
  544. <version>${spring.version}</version>
  545. </dependency>
  546. <dependency>
  547. <groupId>org.springframework</groupId>
  548. <artifactId>spring-mock</artifactId>
  549. <version>${spring.version}</version>
  550. </dependency>
  551. <dependency>
  552. <groupId>org.springframework</groupId>
  553. <artifactId>spring-remoting</artifactId>
  554. <version>${spring.version}</version>
  555. </dependency>
  556. <dependency>
  557. <groupId>org.springframework</groupId>
  558. <artifactId>spring-web</artifactId>
  559. <version>${spring.version}</version>
  560. </dependency>
  561. <dependency>
  562. <groupId>org.springframework</groupId>
  563. <artifactId>spring-jdbc</artifactId>
  564. <version>${spring.version}</version>
  565. </dependency>
  566. <dependency>
  567. <groupId>org.springframework</groupId>
  568. <artifactId>spring-dao</artifactId>
  569. <version>${spring.version}</version>
  570. </dependency>
  571. <dependency>
  572. <groupId>org.springframework</groupId>
  573. <artifactId>spring-support</artifactId>
  574. <version>${spring.version}</version>
  575. </dependency>
  576. <dependency>
  577. <groupId>org.springframework</groupId>
  578. <artifactId>spring-aop</artifactId>
  579. <version>${spring.version}</version>
  580. </dependency>
  581. <dependency>
  582. <groupId>org.springframework</groupId>
  583. <artifactId>spring-context</artifactId>
  584. <version>${spring.version}</version>
  585. </dependency>
  586. <dependency>
  587. <groupId>log4j</groupId>
  588. <artifactId>log4j</artifactId>
  589. <version>1.2.13</version>
  590. <optional>true</optional>
  591. <scope>runtime</scope>
  592. </dependency>
  593. </dependencies>
  594. </dependencyManagement>
  595. <properties>
  596. <spring.version>2.0.6</spring.version>
  597. <felix.version>1.4.0</felix.version>
  598. <docbook.source>${basedir}/src/docbkx</docbook.source>
  599. <docbook.target>${basedir}/target/site/guide</docbook.target>
  600. </properties>
  601. </project>