pom.xml 24 KB

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