pom.xml 23 KB

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