pom.xml 23 KB

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