pom.xml 19 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>samples</module>
  14. <module>ntlm</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. <scm>
  33. <connection>scm:svn:https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk</connection>
  34. <developerConnection>scm:svn:https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/spring-security/trunk</developerConnection>
  35. <url>http://acegisecurity.svn.sourceforge.net/viewcvs.cgi/acegisecurity/spring-security/trunk/</url>
  36. </scm>
  37. <issueManagement>
  38. <system>jira</system>
  39. <url>http://opensource.atlassian.com/projects/spring/browse/SEC</url>
  40. </issueManagement>
  41. <distributionManagement>
  42. <repository>
  43. <id>sourceforge.net</id>
  44. <name>Acegi Releases Repository at Sourceforge</name>
  45. <url>
  46. scp://shell.sourceforge.net/home/groups/a/ac/acegisecurity/htdocs/repository/releases
  47. </url>
  48. </repository>
  49. <snapshotRepository>
  50. <id>sourceforge.net</id>
  51. <name>Acegi Snapshots Repository at Sourceforge</name>
  52. <url>
  53. scp://shell.sourceforge.net/home/groups/a/ac/acegisecurity/htdocs/repository/snapshots
  54. </url>
  55. </snapshotRepository>
  56. <site>
  57. <id>local</id>
  58. <name>Local Site Directory</name>
  59. <!--
  60. This variable is set by the build release script. You can also set it on the command line if
  61. you are running maven directly. e.g. mvn site -DsiteDirectory=file:///home/joe/mysite
  62. -->
  63. <url>${siteDirectory}</url>
  64. </site>
  65. </distributionManagement>
  66. <repositories>
  67. <repository>
  68. <id>sourceforge.net</id>
  69. <name>Acegi snapshot repository</name>
  70. <url>
  71. http://acegisecurity.sourceforge.net/repository/snapshots
  72. </url>
  73. <releases>
  74. <enabled>false</enabled>
  75. </releases>
  76. </repository>
  77. <repository>
  78. <id>spring-milestone</id>
  79. <name>Springframework Maven Milestone Repository</name>
  80. <url>http://s3.amazonaws.com/maven.springframework.org/milestone</url>
  81. </repository>
  82. </repositories>
  83. <mailingLists>
  84. <mailingList>
  85. <name>Acegi Developer List</name>
  86. <subscribe>
  87. https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
  88. </subscribe>
  89. <!--
  90. <unsubscribe>https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer</unsubscribe>
  91. <post>acegisecurity-developer@lists.sourceforge.net</post>
  92. -->
  93. <archive>
  94. http://sourceforge.net/mailarchive/forum.php?forum_id=40659
  95. </archive>
  96. <otherArchives>
  97. <otherArchive>
  98. http://news.gmane.org/gmane.comp.java.springframework.acegisecurity.devel/
  99. </otherArchive>
  100. <otherArchive>
  101. http://www.mail-archive.com/acegisecurity-developer@lists.sourceforge.net/
  102. </otherArchive>
  103. </otherArchives>
  104. </mailingList>
  105. </mailingLists>
  106. <developers>
  107. <developer>
  108. <name>Ben Alex</name>
  109. <id>benalex</id>
  110. <email>benalex at users.sourceforge.net</email>
  111. <organization>
  112. Acegi Technology Pty Limited (http://www.acegi.com.au)
  113. </organization>
  114. <timezone>+10</timezone>
  115. </developer>
  116. <developer>
  117. <name>Colin Sampaleanu</name>
  118. <id>colins</id>
  119. <email>colinml1 at exis.com</email>
  120. </developer>
  121. <developer>
  122. <name>Carlos Sanchez</name>
  123. <id>carlossg</id>
  124. <email>carlossg at users.sourceforge.net</email>
  125. <timezone>+1</timezone>
  126. </developer>
  127. <developer>
  128. <name>Luke Taylor</name>
  129. <id>luke_t</id>
  130. <email>luke_t at users.sourceforge.net</email>
  131. <organization>
  132. Monkey Machine Ltd. (http://monkeymachine.ltd.uk)
  133. </organization>
  134. <timezone>0</timezone>
  135. </developer>
  136. <developer>
  137. <name>Ray Krueger</name>
  138. <id>raykrueger</id>
  139. <email>raykrueger at users.sourceforge.net</email>
  140. </developer>
  141. <developer>
  142. <name>Robert Sanders</name>
  143. <id>robertsanders</id>
  144. <email>robertsanders at users.sourceforge.net</email>
  145. </developer>
  146. <developer>
  147. <name>Mark St.Godard</name>
  148. <id>markstg</id>
  149. <email>markstg at users.sourceforge.net</email>
  150. </developer>
  151. <developer>
  152. <name>John A. Lewis</name>
  153. <id>johnalewis</id>
  154. <email>johnalewis at users.sourceforge.net</email>
  155. </developer>
  156. </developers>
  157. <contributors>
  158. <contributor>
  159. <name>Alan Stewart</name>
  160. </contributor>
  161. <contributor>
  162. <name>Cameron Braid</name>
  163. </contributor>
  164. <contributor>
  165. <name>Patrick Burleson</name>
  166. </contributor>
  167. <contributor>
  168. <name>Francois Beausoleil</name>
  169. </contributor>
  170. <contributor>
  171. <name>Wesley Hall</name>
  172. </contributor>
  173. <contributor>
  174. <name>Scott Evans</name>
  175. </contributor>
  176. <contributor>
  177. <name>Travis Gregg</name>
  178. </contributor>
  179. <contributor>
  180. <name>Karel Miarka</name>
  181. </contributor>
  182. <contributor>
  183. <name>James Monaghan</name>
  184. </contributor>
  185. <contributor>
  186. <name>Andrew Petro</name>
  187. </contributor>
  188. <contributor>
  189. <name>Aaron Tang</name>
  190. </contributor>
  191. <contributor>
  192. <name>Orlando Garcia Carmona</name>
  193. </contributor>
  194. <contributor>
  195. <name>Joni Suominen</name>
  196. </contributor>
  197. <contributor>
  198. <name>Sergio Berna</name>
  199. </contributor>
  200. <contributor>
  201. <name>Paulo Neves</name>
  202. </contributor>
  203. <contributor>
  204. <name>Mike Perham</name>
  205. </contributor>
  206. <contributor>
  207. <name>Robin Bramley</name>
  208. </contributor>
  209. <contributor>
  210. <name>Robert Sanders</name>
  211. </contributor>
  212. <contributor>
  213. <name>Vishal Puri</name>
  214. </contributor>
  215. <contributor>
  216. <name>Martin Algesten</name>
  217. </contributor>
  218. </contributors>
  219. <dependencies>
  220. <dependency>
  221. <groupId>junit</groupId>
  222. <artifactId>junit</artifactId>
  223. <version>4.4</version>
  224. <scope>test</scope>
  225. </dependency>
  226. </dependencies>
  227. <build>
  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</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. <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-5</version>
  348. <configuration>
  349. <tagBase>
  350. https://acegisecurity.svn.sourceforge.net/svnroot/acegisecurity/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-5</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</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.1 reports 100% coverage for everything. Nice but not very practical -->
  469. <version>2.0</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>