You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing,
  14. ~ software distributed under the License is distributed on an
  15. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  16. ~ KIND, either express or implied. See the License for the
  17. ~ specific language governing permissions and limitations
  18. ~ under the License.
  19. -->
  20. <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">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.archiva</groupId>
  24. <artifactId>archiva-web</artifactId>
  25. <version>2.2.9-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-webapp</artifactId>
  28. <packaging>war</packaging>
  29. <name>Archiva Web :: Javascript Application</name>
  30. <properties>
  31. <tomcatContextXml>${basedir}/src/test/tomcat/tomcat-context-archiva.xml</tomcatContextXml>
  32. <tomcatRunPort>9091</tomcatRunPort>
  33. <tomcatRunPath>/archiva</tomcatRunPath>
  34. <archiva.devMode>true</archiva.devMode>
  35. <archiva.javascriptLog>true</archiva.javascriptLog>
  36. <archiva.logMissingI18n>true</archiva.logMissingI18n>
  37. <archivaAppServerBase>${project.build.directory}/appserver-base</archivaAppServerBase>
  38. <archiva.baseRestUrl />
  39. <rest.admin.pwd />
  40. <test.useTomcat>false</test.useTomcat>
  41. <archiva.groupIndexTtl>30</archiva.groupIndexTtl>
  42. <archiva.sirona.configuration />
  43. <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id>
  44. <cassandra.host>localhost</cassandra.host>
  45. <cassandra.port>9160</cassandra.port>
  46. </properties>
  47. <dependencies>
  48. <dependency>
  49. <groupId>org.apache.archiva</groupId>
  50. <artifactId>generic-metadata-support</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.archiva</groupId>
  54. <artifactId>repository-statistics</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.archiva</groupId>
  58. <artifactId>problem-reports</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.archiva</groupId>
  62. <artifactId>audit</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.archiva</groupId>
  66. <artifactId>archiva-scheduler-repository</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.archiva</groupId>
  70. <artifactId>archiva-indexer</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>archiva-filelock</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.archiva</groupId>
  78. <artifactId>archiva-repository-admin-api</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>com.lmax</groupId>
  82. <artifactId>disruptor</artifactId>
  83. </dependency>
  84. <dependency>
  85. <groupId>org.eclipse.sisu</groupId>
  86. <artifactId>org.eclipse.sisu.plexus</artifactId>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>org.sonatype.sisu</groupId>
  90. <artifactId>sisu-guice</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.google.inject</groupId>
  96. <artifactId>guice</artifactId>
  97. <classifier>no_aop</classifier>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.google.guava</groupId>
  101. <artifactId>guava</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.archiva</groupId>
  105. <artifactId>archiva-repository-admin-default</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.archiva</groupId>
  109. <artifactId>metadata-repository-api</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.archiva</groupId>
  113. <artifactId>metadata-store-jcr</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.archiva</groupId>
  117. <artifactId>metadata-store-file</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.apache.archiva</groupId>
  121. <artifactId>metadata-store-cassandra</artifactId>
  122. </dependency>
  123. <dependency>
  124. <groupId>org.apache.jackrabbit</groupId>
  125. <artifactId>jackrabbit-jcr-commons</artifactId>
  126. </dependency>
  127. <dependency>
  128. <groupId>org.apache.jackrabbit</groupId>
  129. <artifactId>jackrabbit-core</artifactId>
  130. <exclusions>
  131. <exclusion>
  132. <groupId>commons-logging</groupId>
  133. <artifactId>commons-logging</artifactId>
  134. </exclusion>
  135. <exclusion>
  136. <groupId>org.slf4j</groupId>
  137. <artifactId>jcl-over-slf4j</artifactId>
  138. </exclusion>
  139. <exclusion>
  140. <groupId>commons-dbcp</groupId>
  141. <artifactId>commons-dbcp</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>commons-configuration</groupId>
  147. <artifactId>commons-configuration</artifactId>
  148. <exclusions>
  149. <exclusion>
  150. <groupId>commons-beanutils</groupId>
  151. <artifactId>commons-beanutils-core</artifactId>
  152. </exclusion>
  153. <exclusion>
  154. <groupId>commons-logging</groupId>
  155. <artifactId>commons-logging</artifactId>
  156. </exclusion>
  157. </exclusions>
  158. </dependency>
  159. <dependency>
  160. <groupId>commons-digester</groupId>
  161. <artifactId>commons-digester</artifactId>
  162. <exclusions>
  163. <exclusion>
  164. <groupId>commons-logging</groupId>
  165. <artifactId>commons-logging</artifactId>
  166. </exclusion>
  167. </exclusions>
  168. </dependency>
  169. <dependency>
  170. <groupId>commons-beanutils</groupId>
  171. <artifactId>commons-beanutils</artifactId>
  172. <exclusions>
  173. <exclusion>
  174. <groupId>commons-logging</groupId>
  175. <artifactId>commons-logging</artifactId>
  176. </exclusion>
  177. </exclusions>
  178. </dependency>
  179. <dependency>
  180. <groupId>commons-io</groupId>
  181. <artifactId>commons-io</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>org.apache.velocity</groupId>
  185. <artifactId>velocity</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>org.apache.velocity</groupId>
  189. <artifactId>velocity-tools</artifactId>
  190. <version>1.3</version>
  191. <scope>runtime</scope>
  192. <exclusions>
  193. <exclusion>
  194. <groupId>commons-logging</groupId>
  195. <artifactId>commons-logging</artifactId>
  196. </exclusion>
  197. <exclusion>
  198. <groupId>velocity</groupId>
  199. <artifactId>velocity-dep</artifactId>
  200. </exclusion>
  201. <exclusion>
  202. <groupId>velocity</groupId>
  203. <artifactId>velocity</artifactId>
  204. </exclusion>
  205. <exclusion>
  206. <groupId>struts</groupId>
  207. <artifactId>struts</artifactId>
  208. </exclusion>
  209. <exclusion>
  210. <groupId>javax.servlet</groupId>
  211. <artifactId>servlet-api</artifactId>
  212. </exclusion>
  213. </exclusions>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.apache.archiva</groupId>
  217. <!-- FIXME: temporary coupling to plugin, should be runtime -->
  218. <artifactId>maven2-repository</artifactId>
  219. <exclusions>
  220. <exclusion>
  221. <groupId>commons-logging</groupId>
  222. <artifactId>commons-logging-api</artifactId>
  223. </exclusion>
  224. <exclusion>
  225. <groupId>log4j</groupId>
  226. <artifactId>log4j</artifactId>
  227. </exclusion>
  228. </exclusions>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.codehaus.plexus</groupId>
  232. <artifactId>plexus-slf4j-logging</artifactId>
  233. <scope>runtime</scope>
  234. <exclusions>
  235. <exclusion>
  236. <groupId>org.codehaus.plexus</groupId>
  237. <artifactId>plexus-component-api</artifactId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.codehaus.plexus</groupId>
  243. <artifactId>plexus-utils</artifactId>
  244. </dependency>
  245. <!-- normally not needed as we are 1.6 required
  246. but due to http://jira.codehaus.org/browse/MODELLO-266
  247. and we use stax reader produced by modello
  248. ibm jdk stax impl won't work with
  249. -->
  250. <dependency>
  251. <groupId>org.codehaus.woodstox</groupId>
  252. <artifactId>woodstox-core-asl</artifactId>
  253. </dependency>
  254. <!-- to help was8 to find dom parser impl -->
  255. <dependency>
  256. <groupId>xerces</groupId>
  257. <artifactId>xercesImpl</artifactId>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.ant</groupId>
  261. <artifactId>ant</artifactId>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.apache.maven.indexer</groupId>
  265. <artifactId>indexer-core</artifactId>
  266. <exclusions>
  267. <exclusion>
  268. <groupId>org.codehaus.plexus</groupId>
  269. <artifactId>plexus-container-default</artifactId>
  270. </exclusion>
  271. <exclusion>
  272. <groupId>classworlds</groupId>
  273. <artifactId>classworlds</artifactId>
  274. </exclusion>
  275. <exclusion>
  276. <groupId>commons-logging</groupId>
  277. <artifactId>commons-logging</artifactId>
  278. </exclusion>
  279. <exclusion>
  280. <groupId>velocity</groupId>
  281. <artifactId>velocity-dep</artifactId>
  282. </exclusion>
  283. <exclusion>
  284. <groupId>org.apache.maven</groupId>
  285. <artifactId>maven-plugin-registry</artifactId>
  286. </exclusion>
  287. <exclusion>
  288. <groupId>org.apache.maven</groupId>
  289. <artifactId>maven-settings</artifactId>
  290. </exclusion>
  291. <exclusion>
  292. <groupId>com.google.code.atinject</groupId>
  293. <artifactId>atinject</artifactId>
  294. </exclusion>
  295. </exclusions>
  296. </dependency>
  297. <dependency>
  298. <groupId>org.apache.archiva</groupId>
  299. <artifactId>archiva-proxy</artifactId>
  300. <exclusions>
  301. <exclusion>
  302. <groupId>commons-logging</groupId>
  303. <artifactId>commons-logging-api</artifactId>
  304. </exclusion>
  305. </exclusions>
  306. </dependency>
  307. <dependency>
  308. <groupId>org.apache.maven.wagon</groupId>
  309. <artifactId>wagon-http</artifactId>
  310. <scope>runtime</scope>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.apache.maven.wagon</groupId>
  314. <artifactId>wagon-http-lightweight</artifactId>
  315. <scope>runtime</scope>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.apache.maven.wagon</groupId>
  319. <artifactId>wagon-file</artifactId>
  320. <scope>runtime</scope>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.sonatype.aether</groupId>
  324. <artifactId>aether-api</artifactId>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.sonatype.aether</groupId>
  328. <artifactId>aether-impl</artifactId>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.sonatype.aether</groupId>
  332. <artifactId>aether-util</artifactId>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.sonatype.aether</groupId>
  336. <artifactId>aether-connector-file</artifactId>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.apache.httpcomponents</groupId>
  340. <artifactId>httpclient</artifactId>
  341. <exclusions>
  342. <exclusion>
  343. <groupId>commons-logging</groupId>
  344. <artifactId>commons-logging</artifactId>
  345. </exclusion>
  346. </exclusions>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.apache.httpcomponents</groupId>
  350. <artifactId>httpcore</artifactId>
  351. <exclusions>
  352. <exclusion>
  353. <groupId>commons-logging</groupId>
  354. <artifactId>commons-logging</artifactId>
  355. </exclusion>
  356. </exclusions>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.apache.archiva</groupId>
  360. <artifactId>archiva-repository-layer</artifactId>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.apache.archiva</groupId>
  364. <artifactId>archiva-xml-tools</artifactId>
  365. <exclusions>
  366. <exclusion>
  367. <groupId>xerces</groupId>
  368. <artifactId>xercesImpl</artifactId>
  369. </exclusion>
  370. </exclusions>
  371. </dependency>
  372. <dependency>
  373. <groupId>org.apache.archiva</groupId>
  374. <artifactId>archiva-security</artifactId>
  375. </dependency>
  376. <dependency>
  377. <groupId>org.apache.archiva</groupId>
  378. <artifactId>archiva-core-consumers</artifactId>
  379. </dependency>
  380. <dependency>
  381. <groupId>org.apache.archiva</groupId>
  382. <artifactId>archiva-configuration</artifactId>
  383. <!-- TODO uncomment when repository admin will be finished
  384. <scope>runtime</scope>
  385. -->
  386. </dependency>
  387. <dependency>
  388. <groupId>org.apache.archiva</groupId>
  389. <artifactId>archiva-metadata-consumer</artifactId>
  390. <scope>runtime</scope>
  391. </dependency>
  392. <dependency>
  393. <groupId>org.apache.archiva</groupId>
  394. <artifactId>archiva-lucene-consumers</artifactId>
  395. </dependency>
  396. <dependency>
  397. <groupId>org.apache.lucene</groupId>
  398. <artifactId>lucene-core</artifactId>
  399. </dependency>
  400. <dependency>
  401. <groupId>org.apache.lucene</groupId>
  402. <artifactId>lucene-queries</artifactId>
  403. </dependency>
  404. <dependency>
  405. <groupId>org.apache.lucene</groupId>
  406. <artifactId>lucene-memory</artifactId>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.apache.lucene</groupId>
  410. <artifactId>lucene-highlighter</artifactId>
  411. </dependency>
  412. <dependency>
  413. <groupId>org.apache.archiva</groupId>
  414. <artifactId>stage-repository-merge</artifactId>
  415. </dependency>
  416. <dependency>
  417. <groupId>org.apache.archiva</groupId>
  418. <artifactId>archiva-signature-consumers</artifactId>
  419. </dependency>
  420. <dependency>
  421. <groupId>org.apache.archiva</groupId>
  422. <artifactId>archiva-rss</artifactId>
  423. </dependency>
  424. <dependency>
  425. <groupId>org.apache.archiva</groupId>
  426. <artifactId>archiva-rest-services</artifactId>
  427. <exclusions>
  428. <exclusion>
  429. <groupId>org.eclipse.jetty</groupId>
  430. <artifactId>jetty-server</artifactId>
  431. </exclusion>
  432. <exclusion>
  433. <groupId>org.eclipse.jetty</groupId>
  434. <artifactId>jetty-continuation</artifactId>
  435. </exclusion>
  436. <exclusion>
  437. <groupId>org.eclipse.jetty</groupId>
  438. <artifactId>jetty-http</artifactId>
  439. </exclusion>
  440. <exclusion>
  441. <groupId>org.eclipse.jetty</groupId>
  442. <artifactId>jetty-io</artifactId>
  443. </exclusion>
  444. <exclusion>
  445. <groupId>org.eclipse.jetty</groupId>
  446. <artifactId>jetty-util</artifactId>
  447. </exclusion>
  448. <exclusion>
  449. <groupId>org.eclipse.jetty</groupId>
  450. <artifactId>jetty-security</artifactId>
  451. </exclusion>
  452. <exclusion>
  453. <groupId>commons-logging</groupId>
  454. <artifactId>commons-logging</artifactId>
  455. </exclusion>
  456. <exclusion>
  457. <groupId>org.apache.geronimo.specs</groupId>
  458. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  459. </exclusion>
  460. <exclusion>
  461. <groupId>org.apache.geronimo.specs</groupId>
  462. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  463. </exclusion>
  464. <exclusion>
  465. <groupId>org.apache.geronimo.specs</groupId>
  466. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  467. </exclusion>
  468. </exclusions>
  469. </dependency>
  470. <dependency>
  471. <groupId>org.apache.archiva.redback.components.registry</groupId>
  472. <artifactId>spring-registry-api</artifactId>
  473. </dependency>
  474. <dependency>
  475. <groupId>org.apache.archiva.redback.components.registry</groupId>
  476. <artifactId>spring-registry-commons</artifactId>
  477. <exclusions>
  478. <exclusion>
  479. <groupId>ant</groupId>
  480. <artifactId>ant-optional</artifactId>
  481. </exclusion>
  482. <exclusion>
  483. <groupId>jdom</groupId>
  484. <artifactId>jdom</artifactId>
  485. </exclusion>
  486. <exclusion>
  487. <groupId>commons-logging</groupId>
  488. <artifactId>commons-logging-api</artifactId>
  489. </exclusion>
  490. <exclusion>
  491. <groupId>commons-logging</groupId>
  492. <artifactId>commons-logging</artifactId>
  493. </exclusion>
  494. </exclusions>
  495. </dependency>
  496. <dependency>
  497. <groupId>org.apache.archiva</groupId>
  498. <artifactId>archiva-rest-api</artifactId>
  499. <exclusions>
  500. <exclusion>
  501. <groupId>org.eclipse.jetty</groupId>
  502. <artifactId>jetty-server</artifactId>
  503. </exclusion>
  504. <exclusion>
  505. <groupId>org.eclipse.jetty</groupId>
  506. <artifactId>jetty-continuation</artifactId>
  507. </exclusion>
  508. <exclusion>
  509. <groupId>org.eclipse.jetty</groupId>
  510. <artifactId>jetty-http</artifactId>
  511. </exclusion>
  512. <exclusion>
  513. <groupId>org.eclipse.jetty</groupId>
  514. <artifactId>jetty-io</artifactId>
  515. </exclusion>
  516. <exclusion>
  517. <groupId>org.eclipse.jetty</groupId>
  518. <artifactId>jetty-util</artifactId>
  519. </exclusion>
  520. <exclusion>
  521. <groupId>org.eclipse.jetty</groupId>
  522. <artifactId>jetty-security</artifactId>
  523. </exclusion>
  524. <exclusion>
  525. <groupId>commons-logging</groupId>
  526. <artifactId>commons-logging</artifactId>
  527. </exclusion>
  528. <exclusion>
  529. <groupId>org.apache.geronimo.specs</groupId>
  530. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  531. </exclusion>
  532. <exclusion>
  533. <groupId>org.apache.geronimo.specs</groupId>
  534. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  535. </exclusion>
  536. <exclusion>
  537. <groupId>org.apache.geronimo.specs</groupId>
  538. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  539. </exclusion>
  540. </exclusions>
  541. </dependency>
  542. <dependency>
  543. <groupId>org.apache.archiva</groupId>
  544. <artifactId>archiva-web-common</artifactId>
  545. <exclusions>
  546. <exclusion>
  547. <groupId>javax.servlet</groupId>
  548. <artifactId>servlet-api</artifactId>
  549. </exclusion>
  550. </exclusions>
  551. </dependency>
  552. <dependency>
  553. <groupId>org.apache.archiva</groupId>
  554. <artifactId>archiva-webdav</artifactId>
  555. <exclusions>
  556. <exclusion>
  557. <groupId>javax.servlet</groupId>
  558. <artifactId>servlet-api</artifactId>
  559. </exclusion>
  560. <exclusion>
  561. <groupId>org.slf4j</groupId>
  562. <artifactId>jcl-over-slf4j</artifactId>
  563. </exclusion>
  564. </exclusions>
  565. </dependency>
  566. <dependency>
  567. <groupId>cglib</groupId>
  568. <artifactId>cglib</artifactId>
  569. </dependency>
  570. <dependency>
  571. <groupId>jpox</groupId>
  572. <artifactId>jpox</artifactId>
  573. <exclusions>
  574. <exclusion>
  575. <groupId>javax.transaction</groupId>
  576. <artifactId>jta</artifactId>
  577. </exclusion>
  578. <exclusion>
  579. <groupId>log4j</groupId>
  580. <artifactId>log4j</artifactId>
  581. </exclusion>
  582. </exclusions>
  583. </dependency>
  584. <dependency>
  585. <groupId>jpox</groupId>
  586. <artifactId>jpox-ehcache</artifactId>
  587. <exclusions>
  588. <exclusion>
  589. <groupId>commons-logging</groupId>
  590. <artifactId>commons-logging</artifactId>
  591. </exclusion>
  592. <exclusion>
  593. <groupId>ehcache</groupId>
  594. <artifactId>ehcache</artifactId>
  595. </exclusion>
  596. <exclusion>
  597. <groupId>log4j</groupId>
  598. <artifactId>log4j</artifactId>
  599. </exclusion>
  600. </exclusions>
  601. </dependency>
  602. <dependency>
  603. <groupId>org.apache.archiva.redback.components.cache</groupId>
  604. <artifactId>spring-cache-ehcache</artifactId>
  605. <exclusions>
  606. <exclusion>
  607. <groupId>commons-logging</groupId>
  608. <artifactId>commons-logging</artifactId>
  609. </exclusion>
  610. </exclusions>
  611. </dependency>
  612. <dependency>
  613. <groupId>net.sf.ehcache</groupId>
  614. <artifactId>ehcache</artifactId>
  615. <exclusions>
  616. <exclusion>
  617. <groupId>commons-logging</groupId>
  618. <artifactId>commons-logging</artifactId>
  619. </exclusion>
  620. </exclusions>
  621. </dependency>
  622. <dependency>
  623. <groupId>org.apache.archiva.redback.components</groupId>
  624. <artifactId>spring-quartz</artifactId>
  625. </dependency>
  626. <dependency>
  627. <groupId>org.quartz-scheduler</groupId>
  628. <artifactId>quartz</artifactId>
  629. <exclusions>
  630. <exclusion>
  631. <groupId>c3p0</groupId>
  632. <artifactId>c3p0</artifactId>
  633. </exclusion>
  634. <exclusion>
  635. <groupId>javax.transaction</groupId>
  636. <artifactId>jta</artifactId>
  637. </exclusion>
  638. </exclusions>
  639. </dependency>
  640. <dependency>
  641. <groupId>org.apache.archiva.redback</groupId>
  642. <artifactId>redback-rbac-ldap</artifactId>
  643. </dependency>
  644. <dependency>
  645. <groupId>org.apache.archiva.redback</groupId>
  646. <artifactId>redback-rest-services</artifactId>
  647. </dependency>
  648. <dependency>
  649. <groupId>org.apache.archiva.redback</groupId>
  650. <artifactId>redback-common-integrations</artifactId>
  651. <exclusions>
  652. <exclusion>
  653. <groupId>stax</groupId>
  654. <artifactId>stax-api</artifactId>
  655. </exclusion>
  656. </exclusions>
  657. </dependency>
  658. <dependency>
  659. <groupId>org.apache.archiva.redback</groupId>
  660. <artifactId>redback-integrations-security</artifactId>
  661. </dependency>
  662. <dependency>
  663. <groupId>org.slf4j</groupId>
  664. <artifactId>jcl-over-slf4j</artifactId>
  665. <scope>provided</scope>
  666. </dependency>
  667. <dependency>
  668. <groupId>org.slf4j</groupId>
  669. <artifactId>slf4j-ext</artifactId>
  670. </dependency>
  671. <dependency>
  672. <groupId>commons-logging</groupId>
  673. <artifactId>commons-logging</artifactId>
  674. <scope>runtime</scope>
  675. </dependency>
  676. <dependency>
  677. <groupId>org.apache.logging.log4j</groupId>
  678. <artifactId>log4j-1.2-api</artifactId>
  679. <scope>runtime</scope>
  680. </dependency>
  681. <dependency>
  682. <groupId>org.apache.logging.log4j</groupId>
  683. <artifactId>log4j-slf4j-impl</artifactId>
  684. <scope>runtime</scope>
  685. </dependency>
  686. <dependency>
  687. <groupId>org.apache.logging.log4j</groupId>
  688. <artifactId>log4j-jcl</artifactId>
  689. <scope>runtime</scope>
  690. </dependency>
  691. <dependency>
  692. <groupId>org.apache.cxf</groupId>
  693. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  694. </dependency>
  695. <dependency>
  696. <groupId>org.apache.cxf</groupId>
  697. <artifactId>cxf-rt-rs-extension-providers</artifactId>
  698. </dependency>
  699. <dependency>
  700. <groupId>org.springframework</groupId>
  701. <artifactId>spring-core</artifactId>
  702. </dependency>
  703. <dependency>
  704. <groupId>org.springframework</groupId>
  705. <artifactId>spring-web</artifactId>
  706. </dependency>
  707. <dependency>
  708. <groupId>org.jsoup</groupId>
  709. <artifactId>jsoup</artifactId>
  710. </dependency>
  711. <!-- we need to force xalan version for IBM servers.. MRM-1803 -->
  712. <dependency>
  713. <groupId>xalan</groupId>
  714. <artifactId>xalan</artifactId>
  715. </dependency>
  716. <dependency>
  717. <groupId>org.apache.archiva</groupId>
  718. <artifactId>archiva-test-mocks</artifactId>
  719. <scope>test</scope>
  720. </dependency>
  721. <dependency>
  722. <groupId>org.apache.archiva.redback</groupId>
  723. <artifactId>redback-rest-services</artifactId>
  724. <classifier>tests</classifier>
  725. <scope>test</scope>
  726. </dependency>
  727. <dependency>
  728. <groupId>javax.mail</groupId>
  729. <artifactId>mail</artifactId>
  730. <scope>test</scope>
  731. </dependency>
  732. <dependency>
  733. <groupId>org.apache.archiva</groupId>
  734. <artifactId>archiva-test-utils</artifactId>
  735. <version>${project.version}</version>
  736. <scope>test</scope>
  737. <exclusions>
  738. <exclusion>
  739. <groupId>org.slf4j</groupId>
  740. <artifactId>slf4j-simple</artifactId>
  741. </exclusion>
  742. <exclusion>
  743. <groupId>org.springframework</groupId>
  744. <artifactId>spring-test</artifactId>
  745. </exclusion>
  746. </exclusions>
  747. </dependency>
  748. <dependency>
  749. <groupId>org.springframework</groupId>
  750. <artifactId>spring-test</artifactId>
  751. <scope>test</scope>
  752. </dependency>
  753. </dependencies>
  754. <build>
  755. <resources>
  756. <resource>
  757. <directory>src/main/resources</directory>
  758. </resource>
  759. </resources>
  760. <pluginManagement>
  761. <plugins>
  762. <plugin>
  763. <groupId>org.apache.rat</groupId>
  764. <artifactId>apache-rat-plugin</artifactId>
  765. <configuration>
  766. <excludes>
  767. <exclude>nbactions.xml</exclude>
  768. <exclude>src/main/webapp/css/*.css</exclude>
  769. <exclude>src/main/webapp/js/*.js</exclude>
  770. <exclude>src/site/resources/css/*.css</exclude>
  771. <exclude>src/site/resources/js/*.js</exclude>
  772. <exclude>src/test/repositories/test-repo/**</exclude>
  773. <exclude>src/main/resources/META-INF/services/*</exclude>
  774. <exclude>src/main/resources/META-INF/cxf/*</exclude>
  775. </excludes>
  776. </configuration>
  777. </plugin>
  778. </plugins>
  779. </pluginManagement>
  780. <plugins>
  781. <plugin>
  782. <groupId>org.apache.tomcat.maven</groupId>
  783. <artifactId>tomcat7-maven-plugin</artifactId>
  784. <configuration>
  785. <port>${tomcatRunPort}</port>
  786. <path>${tomcatRunPath}</path>
  787. <contextFile>${tomcatContextXml}</contextFile>
  788. <useTestClasspath>false</useTestClasspath>
  789. <systemProperties>
  790. <plexus.home>${archivaAppServerBase}</plexus.home>
  791. <appserver.base>${archivaAppServerBase}</appserver.base>
  792. <appserver.home>${archivaAppServerBase}</appserver.home>
  793. <derby.system.home>${archivaAppServerBase}/logs</derby.system.home>
  794. <!-- remove admin auto creation that must be tested too -->
  795. <!--redback.admin.creation.file>${basedir}/target/auto-admin-creation.properties</redback.admin.creation.file-->
  796. <java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
  797. <archiva.user.configFileName>${archivaAppServerBase}/conf/archiva.xml</archiva.user.configFileName>
  798. <archiva.devMode>${archiva.devMode}</archiva.devMode>
  799. <archiva.javascriptLog>${archiva.javascriptLog}</archiva.javascriptLog>
  800. <archiva.logMissingI18n>${archiva.logMissingI18n}</archiva.logMissingI18n>
  801. <cassandra.host>${cassandra.host}</cassandra.host>
  802. <cassandra.port>${cassandra.port}</cassandra.port>
  803. <archiva.repositorySessionFactory.id>${archiva.repositorySessionFactory.id}</archiva.repositorySessionFactory.id>
  804. <org.apache.sirona.configuration.sirona.properties>${archiva.sirona.configuration}</org.apache.sirona.configuration.sirona.properties>
  805. <AsyncLoggerConfig.WaitStrategy>Block</AsyncLoggerConfig.WaitStrategy>
  806. <AsyncLogger.WaitStrategy>Block</AsyncLogger.WaitStrategy>
  807. </systemProperties>
  808. <additionalClasspathDirs>
  809. <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir>
  810. </additionalClasspathDirs>
  811. </configuration>
  812. <dependencies>
  813. <dependency>
  814. <groupId>org.apache.derby</groupId>
  815. <artifactId>derby</artifactId>
  816. <version>${derbyVersion}</version>
  817. </dependency>
  818. <dependency>
  819. <groupId>javax.mail</groupId>
  820. <artifactId>mail</artifactId>
  821. <version>${javaxMailVersion}</version>
  822. </dependency>
  823. </dependencies>
  824. </plugin>
  825. <plugin>
  826. <groupId>org.apache.maven.plugins</groupId>
  827. <artifactId>maven-antrun-plugin</artifactId>
  828. <executions>
  829. <execution>
  830. <phase>generate-resources</phase>
  831. <goals>
  832. <goal>run</goal>
  833. </goals>
  834. <configuration>
  835. <target>
  836. <mkdir dir="${project.build.directory}/appserver-base/conf" />
  837. </target>
  838. </configuration>
  839. </execution>
  840. </executions>
  841. </plugin>
  842. <plugin>
  843. <groupId>org.apache.maven.plugins</groupId>
  844. <artifactId>maven-surefire-plugin</artifactId>
  845. <configuration>
  846. <systemPropertyVariables>
  847. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  848. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  849. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  850. <archiva.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl>
  851. <rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd>
  852. <test.useTomcat>${test.useTomcat}</test.useTomcat>
  853. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  854. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  855. </systemPropertyVariables>
  856. </configuration>
  857. </plugin>
  858. <plugin>
  859. <groupId>org.apache.maven.plugins</groupId>
  860. <artifactId>maven-war-plugin</artifactId>
  861. <configuration>
  862. <archive>
  863. <manifest>
  864. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  865. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  866. </manifest>
  867. </archive>
  868. <webResources>
  869. <webResource>
  870. <directory>.</directory>
  871. <includes>
  872. <include>LICENSE</include>
  873. </includes>
  874. </webResource>
  875. <webResource>
  876. <directory>${project.build.directory}/maven-shared-archive-resources/META-INF/</directory>
  877. <includes>
  878. <include>NOTICE</include>
  879. </includes>
  880. </webResource>
  881. </webResources>
  882. </configuration>
  883. </plugin>
  884. </plugins>
  885. </build>
  886. <profiles>
  887. <profile>
  888. <id>cassandra</id>
  889. <properties>
  890. <archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id>
  891. </properties>
  892. </profile>
  893. </profiles>
  894. </project>