pom.xml 23 KB

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