Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pom.xml 35KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063
  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>3.0.0-SNAPSHOT</version>
  26. </parent>
  27. <artifactId>archiva-webapp</artifactId>
  28. <packaging>war</packaging>
  29. <name>Archiva Web :: Javascript Application</name>
  30. <properties>
  31. <archiva.devMode>true</archiva.devMode>
  32. <archiva.javascriptLog>true</archiva.javascriptLog>
  33. <archiva.logMissingI18n>true</archiva.logMissingI18n>
  34. <archivaAppServerBase>${project.build.directory}/appserver-base</archivaAppServerBase>
  35. <jettyDumpOnStart>false</jettyDumpOnStart>
  36. <archiva.baseRestUrl />
  37. <rest.admin.pwd />
  38. <archiva.groupIndexTtl>30</archiva.groupIndexTtl>
  39. <archiva.repositorySessionFactory.id>jcr</archiva.repositorySessionFactory.id>
  40. <cassandra.host>localhost</cassandra.host>
  41. <cassandra.port>9160</cassandra.port>
  42. </properties>
  43. <dependencies>
  44. <dependency>
  45. <groupId>org.apache.archiva</groupId>
  46. <artifactId>generic-metadata-support</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.apache.archiva</groupId>
  50. <artifactId>repository-statistics</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.archiva</groupId>
  54. <artifactId>problem-reports</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.archiva</groupId>
  58. <artifactId>audit</artifactId>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.apache.archiva</groupId>
  62. <artifactId>archiva-scheduler-repository</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.archiva</groupId>
  66. <artifactId>archiva-maven2-indexer</artifactId>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.apache.archiva</groupId>
  70. <artifactId>archiva-filelock</artifactId>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.apache.archiva</groupId>
  74. <artifactId>archiva-repository-admin-api</artifactId>
  75. </dependency>
  76. <dependency>
  77. <groupId>com.lmax</groupId>
  78. <artifactId>disruptor</artifactId>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.eclipse.sisu</groupId>
  82. <artifactId>org.eclipse.sisu.plexus</artifactId>
  83. <exclusions>
  84. <exclusion>
  85. <groupId>org.sonatype.sisu</groupId>
  86. <artifactId>sisu-guice</artifactId>
  87. </exclusion>
  88. </exclusions>
  89. </dependency>
  90. <dependency>
  91. <groupId>com.google.inject</groupId>
  92. <artifactId>guice</artifactId>
  93. <classifier>no_aop</classifier>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.google.guava</groupId>
  97. <artifactId>guava</artifactId>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.archiva</groupId>
  101. <artifactId>archiva-repository-admin-default</artifactId>
  102. </dependency>
  103. <dependency>
  104. <groupId>org.apache.archiva</groupId>
  105. <artifactId>metadata-repository-api</artifactId>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.apache.archiva</groupId>
  109. <artifactId>metadata-store-jcr</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.archiva</groupId>
  113. <artifactId>metadata-store-file</artifactId>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.archiva</groupId>
  117. <artifactId>metadata-store-cassandra</artifactId>
  118. </dependency>
  119. <dependency>
  120. <groupId>commons-configuration</groupId>
  121. <artifactId>commons-configuration</artifactId>
  122. <exclusions>
  123. <exclusion>
  124. <groupId>commons-beanutils</groupId>
  125. <artifactId>commons-beanutils-core</artifactId>
  126. </exclusion>
  127. <exclusion>
  128. <groupId>commons-logging</groupId>
  129. <artifactId>commons-logging</artifactId>
  130. </exclusion>
  131. </exclusions>
  132. </dependency>
  133. <dependency>
  134. <groupId>commons-digester</groupId>
  135. <artifactId>commons-digester</artifactId>
  136. <exclusions>
  137. <exclusion>
  138. <groupId>commons-logging</groupId>
  139. <artifactId>commons-logging</artifactId>
  140. </exclusion>
  141. </exclusions>
  142. </dependency>
  143. <dependency>
  144. <groupId>commons-beanutils</groupId>
  145. <artifactId>commons-beanutils</artifactId>
  146. <exclusions>
  147. <exclusion>
  148. <groupId>commons-logging</groupId>
  149. <artifactId>commons-logging</artifactId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153. <dependency>
  154. <groupId>commons-io</groupId>
  155. <artifactId>commons-io</artifactId>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.velocity</groupId>
  159. <artifactId>velocity</artifactId>
  160. </dependency>
  161. <dependency>
  162. <groupId>org.apache.velocity</groupId>
  163. <artifactId>velocity-tools</artifactId>
  164. <scope>runtime</scope>
  165. </dependency>
  166. <dependency>
  167. <groupId>org.apache.archiva</groupId>
  168. <!-- FIXME: temporary coupling to plugin, should be runtime -->
  169. <artifactId>maven2-repository</artifactId>
  170. <exclusions>
  171. <exclusion>
  172. <groupId>commons-logging</groupId>
  173. <artifactId>commons-logging-api</artifactId>
  174. </exclusion>
  175. <exclusion>
  176. <groupId>log4j</groupId>
  177. <artifactId>log4j</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.codehaus.plexus</groupId>
  183. <artifactId>plexus-utils</artifactId>
  184. </dependency>
  185. <!-- normally not needed as we are 1.6 required
  186. but due to http://jira.codehaus.org/browse/MODELLO-266
  187. and we use stax reader produced by modello
  188. ibm jdk stax impl won't work with
  189. -->
  190. <dependency>
  191. <groupId>org.codehaus.woodstox</groupId>
  192. <artifactId>woodstox-core-asl</artifactId>
  193. </dependency>
  194. <!-- to help was8 to find dom parser impl -->
  195. <dependency>
  196. <groupId>xerces</groupId>
  197. <artifactId>xercesImpl</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.apache.ant</groupId>
  201. <artifactId>ant</artifactId>
  202. </dependency>
  203. <dependency>
  204. <groupId>org.apache.maven.indexer</groupId>
  205. <artifactId>indexer-core</artifactId>
  206. <classifier>shaded-lucene</classifier>
  207. <exclusions>
  208. <exclusion>
  209. <groupId>org.codehaus.plexus</groupId>
  210. <artifactId>plexus-container-default</artifactId>
  211. </exclusion>
  212. <exclusion>
  213. <groupId>classworlds</groupId>
  214. <artifactId>classworlds</artifactId>
  215. </exclusion>
  216. <exclusion>
  217. <groupId>commons-logging</groupId>
  218. <artifactId>commons-logging</artifactId>
  219. </exclusion>
  220. <exclusion>
  221. <groupId>velocity</groupId>
  222. <artifactId>velocity-dep</artifactId>
  223. </exclusion>
  224. <exclusion>
  225. <groupId>org.apache.maven</groupId>
  226. <artifactId>maven-plugin-registry</artifactId>
  227. </exclusion>
  228. <exclusion>
  229. <groupId>org.apache.maven</groupId>
  230. <artifactId>maven-settings</artifactId>
  231. </exclusion>
  232. <exclusion>
  233. <groupId>com.google.code.atinject</groupId>
  234. <artifactId>atinject</artifactId>
  235. </exclusion>
  236. </exclusions>
  237. </dependency>
  238. <dependency>
  239. <groupId>org.apache.archiva</groupId>
  240. <artifactId>archiva-proxy</artifactId>
  241. <exclusions>
  242. <exclusion>
  243. <groupId>commons-logging</groupId>
  244. <artifactId>commons-logging-api</artifactId>
  245. </exclusion>
  246. </exclusions>
  247. </dependency>
  248. <dependency>
  249. <groupId>org.apache.maven.wagon</groupId>
  250. <artifactId>wagon-http</artifactId>
  251. <scope>runtime</scope>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.apache.maven.wagon</groupId>
  255. <artifactId>wagon-http-lightweight</artifactId>
  256. <scope>runtime</scope>
  257. </dependency>
  258. <dependency>
  259. <groupId>org.apache.maven.wagon</groupId>
  260. <artifactId>wagon-file</artifactId>
  261. <scope>runtime</scope>
  262. </dependency>
  263. <dependency>
  264. <groupId>org.sonatype.aether</groupId>
  265. <artifactId>aether-api</artifactId>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.sonatype.aether</groupId>
  269. <artifactId>aether-impl</artifactId>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.sonatype.aether</groupId>
  273. <artifactId>aether-util</artifactId>
  274. </dependency>
  275. <dependency>
  276. <groupId>org.sonatype.aether</groupId>
  277. <artifactId>aether-connector-file</artifactId>
  278. </dependency>
  279. <dependency>
  280. <groupId>org.apache.httpcomponents</groupId>
  281. <artifactId>httpclient</artifactId>
  282. <exclusions>
  283. <exclusion>
  284. <groupId>commons-logging</groupId>
  285. <artifactId>commons-logging</artifactId>
  286. </exclusion>
  287. </exclusions>
  288. </dependency>
  289. <dependency>
  290. <groupId>org.apache.httpcomponents</groupId>
  291. <artifactId>httpcore</artifactId>
  292. <exclusions>
  293. <exclusion>
  294. <groupId>commons-logging</groupId>
  295. <artifactId>commons-logging</artifactId>
  296. </exclusion>
  297. </exclusions>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.apache.archiva</groupId>
  301. <artifactId>archiva-repository-layer</artifactId>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.apache.archiva</groupId>
  305. <artifactId>archiva-xml-tools</artifactId>
  306. <exclusions>
  307. <exclusion>
  308. <groupId>xerces</groupId>
  309. <artifactId>xercesImpl</artifactId>
  310. </exclusion>
  311. </exclusions>
  312. </dependency>
  313. <dependency>
  314. <groupId>org.apache.archiva</groupId>
  315. <artifactId>archiva-security</artifactId>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.apache.archiva</groupId>
  319. <artifactId>archiva-core-consumers</artifactId>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.apache.archiva</groupId>
  323. <artifactId>archiva-configuration</artifactId>
  324. </dependency>
  325. <dependency>
  326. <groupId>org.apache.archiva</groupId>
  327. <artifactId>archiva-metadata-consumer</artifactId>
  328. <scope>runtime</scope>
  329. </dependency>
  330. <dependency>
  331. <groupId>org.apache.archiva</groupId>
  332. <artifactId>archiva-lucene-consumers</artifactId>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.apache.lucene</groupId>
  336. <artifactId>lucene-core</artifactId>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.apache.lucene</groupId>
  340. <artifactId>lucene-queries</artifactId>
  341. </dependency>
  342. <dependency>
  343. <groupId>org.apache.lucene</groupId>
  344. <artifactId>lucene-memory</artifactId>
  345. </dependency>
  346. <dependency>
  347. <groupId>org.apache.lucene</groupId>
  348. <artifactId>lucene-highlighter</artifactId>
  349. </dependency>
  350. <dependency>
  351. <groupId>org.apache.archiva</groupId>
  352. <artifactId>stage-repository-merge</artifactId>
  353. </dependency>
  354. <dependency>
  355. <groupId>org.apache.archiva</groupId>
  356. <artifactId>archiva-signature-consumers</artifactId>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.apache.archiva</groupId>
  360. <artifactId>archiva-rss</artifactId>
  361. </dependency>
  362. <dependency>
  363. <groupId>org.apache.archiva</groupId>
  364. <artifactId>archiva-rest-services</artifactId>
  365. <exclusions>
  366. <exclusion>
  367. <groupId>org.eclipse.jetty</groupId>
  368. <artifactId>jetty-server</artifactId>
  369. </exclusion>
  370. <exclusion>
  371. <groupId>org.eclipse.jetty</groupId>
  372. <artifactId>jetty-continuation</artifactId>
  373. </exclusion>
  374. <exclusion>
  375. <groupId>org.eclipse.jetty</groupId>
  376. <artifactId>jetty-http</artifactId>
  377. </exclusion>
  378. <exclusion>
  379. <groupId>org.eclipse.jetty</groupId>
  380. <artifactId>jetty-io</artifactId>
  381. </exclusion>
  382. <exclusion>
  383. <groupId>org.eclipse.jetty</groupId>
  384. <artifactId>jetty-util</artifactId>
  385. </exclusion>
  386. <exclusion>
  387. <groupId>org.eclipse.jetty</groupId>
  388. <artifactId>jetty-security</artifactId>
  389. </exclusion>
  390. <exclusion>
  391. <groupId>commons-logging</groupId>
  392. <artifactId>commons-logging</artifactId>
  393. </exclusion>
  394. <exclusion>
  395. <groupId>org.apache.geronimo.specs</groupId>
  396. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  397. </exclusion>
  398. <exclusion>
  399. <groupId>org.apache.geronimo.specs</groupId>
  400. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  401. </exclusion>
  402. <exclusion>
  403. <groupId>org.apache.geronimo.specs</groupId>
  404. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  405. </exclusion>
  406. </exclusions>
  407. </dependency>
  408. <dependency>
  409. <groupId>org.apache.archiva.redback.components.registry</groupId>
  410. <artifactId>spring-registry-api</artifactId>
  411. </dependency>
  412. <dependency>
  413. <groupId>org.apache.archiva.redback.components.registry</groupId>
  414. <artifactId>spring-registry-commons</artifactId>
  415. <exclusions>
  416. <exclusion>
  417. <groupId>ant</groupId>
  418. <artifactId>ant-optional</artifactId>
  419. </exclusion>
  420. <exclusion>
  421. <groupId>jdom</groupId>
  422. <artifactId>jdom</artifactId>
  423. </exclusion>
  424. <exclusion>
  425. <groupId>commons-logging</groupId>
  426. <artifactId>commons-logging-api</artifactId>
  427. </exclusion>
  428. <exclusion>
  429. <groupId>commons-logging</groupId>
  430. <artifactId>commons-logging</artifactId>
  431. </exclusion>
  432. </exclusions>
  433. </dependency>
  434. <dependency>
  435. <groupId>org.apache.archiva</groupId>
  436. <artifactId>archiva-rest-api</artifactId>
  437. <exclusions>
  438. <exclusion>
  439. <groupId>org.eclipse.jetty</groupId>
  440. <artifactId>jetty-server</artifactId>
  441. </exclusion>
  442. <exclusion>
  443. <groupId>org.eclipse.jetty</groupId>
  444. <artifactId>jetty-continuation</artifactId>
  445. </exclusion>
  446. <exclusion>
  447. <groupId>org.eclipse.jetty</groupId>
  448. <artifactId>jetty-http</artifactId>
  449. </exclusion>
  450. <exclusion>
  451. <groupId>org.eclipse.jetty</groupId>
  452. <artifactId>jetty-io</artifactId>
  453. </exclusion>
  454. <exclusion>
  455. <groupId>org.eclipse.jetty</groupId>
  456. <artifactId>jetty-util</artifactId>
  457. </exclusion>
  458. <exclusion>
  459. <groupId>org.eclipse.jetty</groupId>
  460. <artifactId>jetty-security</artifactId>
  461. </exclusion>
  462. <exclusion>
  463. <groupId>commons-logging</groupId>
  464. <artifactId>commons-logging</artifactId>
  465. </exclusion>
  466. <exclusion>
  467. <groupId>org.apache.geronimo.specs</groupId>
  468. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  469. </exclusion>
  470. <exclusion>
  471. <groupId>org.apache.geronimo.specs</groupId>
  472. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  473. </exclusion>
  474. <exclusion>
  475. <groupId>org.apache.geronimo.specs</groupId>
  476. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  477. </exclusion>
  478. </exclusions>
  479. </dependency>
  480. <dependency>
  481. <groupId>org.apache.archiva</groupId>
  482. <artifactId>archiva-web-common</artifactId>
  483. <exclusions>
  484. <exclusion>
  485. <groupId>javax.servlet</groupId>
  486. <artifactId>servlet-api</artifactId>
  487. </exclusion>
  488. </exclusions>
  489. </dependency>
  490. <dependency>
  491. <groupId>org.apache.archiva</groupId>
  492. <artifactId>archiva-webdav</artifactId>
  493. <exclusions>
  494. <exclusion>
  495. <groupId>javax.servlet</groupId>
  496. <artifactId>servlet-api</artifactId>
  497. </exclusion>
  498. <exclusion>
  499. <groupId>org.slf4j</groupId>
  500. <artifactId>jcl-over-slf4j</artifactId>
  501. </exclusion>
  502. </exclusions>
  503. </dependency>
  504. <dependency>
  505. <groupId>cglib</groupId>
  506. <artifactId>cglib</artifactId>
  507. </dependency>
  508. <dependency>
  509. <groupId>jpox</groupId>
  510. <artifactId>jpox</artifactId>
  511. <exclusions>
  512. <exclusion>
  513. <groupId>javax.transaction</groupId>
  514. <artifactId>jta</artifactId>
  515. </exclusion>
  516. <exclusion>
  517. <groupId>log4j</groupId>
  518. <artifactId>log4j</artifactId>
  519. </exclusion>
  520. </exclusions>
  521. </dependency>
  522. <dependency>
  523. <groupId>jpox</groupId>
  524. <artifactId>jpox-ehcache</artifactId>
  525. <exclusions>
  526. <exclusion>
  527. <groupId>commons-logging</groupId>
  528. <artifactId>commons-logging</artifactId>
  529. </exclusion>
  530. <exclusion>
  531. <groupId>ehcache</groupId>
  532. <artifactId>ehcache</artifactId>
  533. </exclusion>
  534. <exclusion>
  535. <groupId>log4j</groupId>
  536. <artifactId>log4j</artifactId>
  537. </exclusion>
  538. </exclusions>
  539. </dependency>
  540. <dependency>
  541. <groupId>org.apache.archiva.redback.components.cache</groupId>
  542. <artifactId>spring-cache-ehcache</artifactId>
  543. <exclusions>
  544. <exclusion>
  545. <groupId>commons-logging</groupId>
  546. <artifactId>commons-logging</artifactId>
  547. </exclusion>
  548. </exclusions>
  549. </dependency>
  550. <dependency>
  551. <groupId>net.sf.ehcache</groupId>
  552. <artifactId>ehcache</artifactId>
  553. <exclusions>
  554. <exclusion>
  555. <groupId>commons-logging</groupId>
  556. <artifactId>commons-logging</artifactId>
  557. </exclusion>
  558. </exclusions>
  559. </dependency>
  560. <dependency>
  561. <groupId>org.apache.archiva.redback.components</groupId>
  562. <artifactId>spring-quartz</artifactId>
  563. </dependency>
  564. <dependency>
  565. <groupId>org.quartz-scheduler</groupId>
  566. <artifactId>quartz</artifactId>
  567. <exclusions>
  568. <exclusion>
  569. <groupId>c3p0</groupId>
  570. <artifactId>c3p0</artifactId>
  571. </exclusion>
  572. <exclusion>
  573. <groupId>javax.transaction</groupId>
  574. <artifactId>jta</artifactId>
  575. </exclusion>
  576. </exclusions>
  577. </dependency>
  578. <dependency>
  579. <groupId>org.apache.archiva.redback</groupId>
  580. <artifactId>redback-rbac-ldap</artifactId>
  581. </dependency>
  582. <dependency>
  583. <groupId>org.apache.archiva.redback</groupId>
  584. <artifactId>redback-rest-services</artifactId>
  585. <exclusions>
  586. <exclusion>
  587. <groupId>javax.servlet</groupId>
  588. <artifactId>javax.servlet-api</artifactId>
  589. </exclusion>
  590. </exclusions>
  591. </dependency>
  592. <dependency>
  593. <groupId>org.apache.archiva.redback</groupId>
  594. <artifactId>redback-common-integrations</artifactId>
  595. <exclusions>
  596. <exclusion>
  597. <groupId>stax</groupId>
  598. <artifactId>stax-api</artifactId>
  599. </exclusion>
  600. </exclusions>
  601. </dependency>
  602. <dependency>
  603. <groupId>org.apache.archiva.redback</groupId>
  604. <artifactId>redback-integrations-security</artifactId>
  605. </dependency>
  606. <dependency>
  607. <groupId>commons-logging</groupId>
  608. <artifactId>commons-logging</artifactId>
  609. <scope>runtime</scope>
  610. </dependency>
  611. <dependency>
  612. <groupId>org.apache.logging.log4j</groupId>
  613. <artifactId>log4j-1.2-api</artifactId>
  614. <scope>runtime</scope>
  615. </dependency>
  616. <dependency>
  617. <groupId>org.apache.logging.log4j</groupId>
  618. <artifactId>log4j-slf4j-impl</artifactId>
  619. <scope>runtime</scope>
  620. </dependency>
  621. <dependency>
  622. <groupId>org.apache.logging.log4j</groupId>
  623. <artifactId>log4j-jcl</artifactId>
  624. <scope>runtime</scope>
  625. </dependency>
  626. <dependency>
  627. <groupId>org.apache.cxf</groupId>
  628. <artifactId>cxf-rt-frontend-jaxrs</artifactId>
  629. </dependency>
  630. <dependency>
  631. <groupId>org.apache.cxf</groupId>
  632. <artifactId>cxf-rt-rs-extension-providers</artifactId>
  633. </dependency>
  634. <dependency>
  635. <groupId>org.springframework</groupId>
  636. <artifactId>spring-core</artifactId>
  637. </dependency>
  638. <dependency>
  639. <groupId>org.springframework</groupId>
  640. <artifactId>spring-web</artifactId>
  641. </dependency>
  642. <dependency>
  643. <groupId>org.jsoup</groupId>
  644. <artifactId>jsoup</artifactId>
  645. </dependency>
  646. <!-- we need to force xalan version for IBM servers.. MRM-1803 -->
  647. <dependency>
  648. <groupId>xalan</groupId>
  649. <artifactId>xalan</artifactId>
  650. </dependency>
  651. <dependency>
  652. <groupId>org.apache.archiva</groupId>
  653. <artifactId>archiva-test-mocks</artifactId>
  654. <scope>test</scope>
  655. </dependency>
  656. <dependency>
  657. <groupId>org.apache.archiva.redback</groupId>
  658. <artifactId>redback-rest-services</artifactId>
  659. <classifier>tests</classifier>
  660. <scope>test</scope>
  661. <exclusions>
  662. <exclusion>
  663. <groupId>javax.servlet</groupId>
  664. <artifactId>javax.servlet-api</artifactId>
  665. </exclusion>
  666. </exclusions>
  667. </dependency>
  668. <dependency>
  669. <groupId>javax.mail</groupId>
  670. <artifactId>mail</artifactId>
  671. <scope>test</scope>
  672. </dependency>
  673. <dependency>
  674. <groupId>org.apache.archiva</groupId>
  675. <artifactId>archiva-test-utils</artifactId>
  676. <version>${project.version}</version>
  677. <scope>test</scope>
  678. <exclusions>
  679. <exclusion>
  680. <groupId>org.slf4j</groupId>
  681. <artifactId>slf4j-simple</artifactId>
  682. </exclusion>
  683. <exclusion>
  684. <groupId>org.springframework</groupId>
  685. <artifactId>spring-test</artifactId>
  686. </exclusion>
  687. </exclusions>
  688. </dependency>
  689. <dependency>
  690. <groupId>org.springframework</groupId>
  691. <artifactId>spring-test</artifactId>
  692. <scope>test</scope>
  693. </dependency>
  694. <dependency>
  695. <groupId>org.springframework</groupId>
  696. <artifactId>spring-orm</artifactId>
  697. <version>${spring.version}</version>
  698. </dependency>
  699. <dependency>
  700. <groupId>org.springframework</groupId>
  701. <artifactId>spring-context</artifactId>
  702. <version>${spring.version}</version>
  703. </dependency>
  704. <dependency>
  705. <groupId>org.codehaus.plexus</groupId>
  706. <artifactId>plexus-slf4j-logging</artifactId>
  707. </dependency>
  708. </dependencies>
  709. <build>
  710. <resources>
  711. <resource>
  712. <directory>src/main/resources</directory>
  713. </resource>
  714. </resources>
  715. <pluginManagement>
  716. <plugins>
  717. <plugin>
  718. <groupId>org.apache.rat</groupId>
  719. <artifactId>apache-rat-plugin</artifactId>
  720. <configuration>
  721. <excludes>
  722. <exclude>nbactions.xml</exclude>
  723. <exclude>src/main/webapp/css/*.css</exclude>
  724. <exclude>src/main/webapp/js/*.js</exclude>
  725. <exclude>src/site/resources/css/*.css</exclude>
  726. <exclude>src/site/resources/js/*.js</exclude>
  727. <exclude>src/test/repositories/test-repo/**</exclude>
  728. <exclude>src/main/resources/META-INF/services/*</exclude>
  729. <exclude>src/main/resources/META-INF/cxf/*</exclude>
  730. </excludes>
  731. </configuration>
  732. </plugin>
  733. </plugins>
  734. </pluginManagement>
  735. <plugins>
  736. <!-- commented as not needed now
  737. <plugin>
  738. <groupId>com.samaxes.maven</groupId>
  739. <artifactId>maven-minify-plugin</artifactId>
  740. <version>1.3.5</version>
  741. <executions>
  742. <execution>
  743. <id>startup-minify</id>
  744. <phase>generate-resources</phase>
  745. <configuration>
  746. <webappSourceDir>${basedir}/src/main/webapp</webappSourceDir>
  747. <cssSourceDir>css</cssSourceDir>
  748. <cssSourceFiles>
  749. <cssSourceFile>jquery-ui-1.8.16.custom.css</cssSourceFile>
  750. <cssSourceFile>jquery.ui.1.8.16.ie.css</cssSourceFile>
  751. <cssSourceFile>bootstrap.2.0.2.css</cssSourceFile>
  752. <cssSourceFile>archiva.css</cssSourceFile>
  753. </cssSourceFiles>
  754. <cssFinalFile>apache-archiva-${project.version}.css</cssFinalFile>
  755. <jsSourceDir>js</jsSourceDir>
  756. <jsSourceFiles>
  757. <jsSourceFile>jquery-1.7.2.js</jsSourceFile>
  758. <jsSourceFile>lab.js</jsSourceFile>
  759. <jsSourceFile>require.1.0.1.js</jsSourceFile>
  760. </jsSourceFiles>
  761. <jsFinalFile>apache-archiva-startup-${project.version}.js</jsFinalFile>
  762. </configuration>
  763. <goals>
  764. <goal>minify</goal>
  765. </goals>
  766. </execution>
  767. <execution>
  768. <id>main-minify</id>
  769. <phase>generate-resources</phase>
  770. <configuration>
  771. <webappSourceDir>${basedir}/src/main/webapp</webappSourceDir>
  772. <jsSourceDir>js</jsSourceDir>
  773. <jsSourceFiles>
  774. <jsSourceFile>jquery.tmpl.js</jsSourceFile>
  775. <jsSourceFile>archiva/utils.js</jsSourceFile>
  776. <jsSourceFile>jquery.i18n.properties-1.0.9.js</jsSourceFile>
  777. <jsSourceFile>archiva/i18nload.js</jsSourceFile>
  778. <jsSourceFile>jquery.cookie.1.0.0.js</jsSourceFile>
  779. <jsSourceFile>knockout-debug.js</jsSourceFile>
  780. <jsSourceFile>jquery-ui-1.8.16.custom.min.js</jsSourceFile>
  781. <jsSourceFile>jquery.validate.js</jsSourceFile>
  782. <jsSourceFile>jquery.json-2.3.min.js</jsSourceFile>
  783. <jsSourceFile>archiva/main-tmpl.js</jsSourceFile>
  784. <jsSourceFile>archiva/repositories.js</jsSourceFile>
  785. <jsSourceFile>archiva/network-proxies.js</jsSourceFile>
  786. <jsSourceFile>archiva/proxy-connectors.js</jsSourceFile>
  787. <jsSourceFile>redback/operation.js</jsSourceFile>
  788. <jsSourceFile>redback/redback-tmpl.js</jsSourceFile>
  789. <jsSourceFile>bootstrap.2.0.2.js</jsSourceFile>
  790. <jsSourceFile>knockout.simpleGrid.js</jsSourceFile>
  791. <jsSourceFile>redback/user.js</jsSourceFile>
  792. <jsSourceFile>redback/users.js</jsSourceFile>
  793. <jsSourceFile>redback/redback.js</jsSourceFile>
  794. <jsSourceFile>redback/register.js</jsSourceFile>
  795. <jsSourceFile>redback/permission.js</jsSourceFile>
  796. <jsSourceFile>redback/resource.js</jsSourceFile>
  797. <jsSourceFile>redback/roles.js</jsSourceFile>
  798. <jsSourceFile>archiva/main.js</jsSourceFile>
  799. </jsSourceFiles>
  800. <jsFinalFile>apache-archiva-main-${project.version}.js</jsFinalFile>
  801. </configuration>
  802. <goals>
  803. <goal>minify</goal>
  804. </goals>
  805. </execution>
  806. </executions>
  807. </plugin>
  808. -->
  809. <plugin>
  810. <groupId>org.eclipse.jetty</groupId>
  811. <artifactId>jetty-maven-plugin</artifactId>
  812. <configuration>
  813. <dumpOnStart>${jettyDumpOnStart}</dumpOnStart>
  814. <scanIntervalSeconds>10</scanIntervalSeconds>
  815. <webApp>
  816. <contextPath>/archiva</contextPath>
  817. </webApp>
  818. <jettyXml>${basedir}/src/test/jetty-env.xml</jettyXml>
  819. <systemProperties>
  820. <systemProperty>
  821. <name>plexus.home</name>
  822. <value>${archivaAppServerBase}</value>
  823. </systemProperty>
  824. <systemProperty>
  825. <name>appserver.base</name>
  826. <value>${archivaAppServerBase}</value>
  827. </systemProperty>
  828. <systemProperty>
  829. <name>appserver.home</name>
  830. <value>${archivaAppServerBase}</value>
  831. </systemProperty>
  832. <systemProperty>
  833. <name>derby.system.home</name>
  834. <value>${archivaAppServerBase}/database</value>
  835. </systemProperty>
  836. <systemProperty>
  837. <name>java.io.tmpdir</name>
  838. <value>${project.build.directory}</value>
  839. </systemProperty>
  840. <systemProperty>
  841. <name>archiva.user.configFileName</name>
  842. <value>${archivaAppServerBase}/conf/archiva.xml</value>
  843. </systemProperty>
  844. <systemProperty>
  845. <name>archiva.devMode</name>
  846. <value>${archiva.devMode}</value>
  847. </systemProperty>
  848. <systemProperty>
  849. <name>archiva.javascriptLog</name>
  850. <value>${archiva.javascriptLog}</value>
  851. </systemProperty>
  852. <systemProperty>
  853. <name>archiva.logMissingI18n</name>
  854. <value>${archiva.logMissingI18n}</value>
  855. </systemProperty>
  856. <systemProperty>
  857. <name>cassandra.host</name>
  858. <value>${cassandra.host}</value>
  859. </systemProperty>
  860. <systemProperty>
  861. <name>cassandra.port</name>
  862. <value>${cassandra.port}</value>
  863. </systemProperty>
  864. <systemProperty>
  865. <name>archiva.repositorySessionFactory.id</name>
  866. <value>${archiva.repositorySessionFactory.id}</value>
  867. </systemProperty>
  868. <systemProperty>
  869. <name>log4j.configurationFile</name>
  870. <value>${basedir}/src/test/log4j2-test.xml</value>
  871. </systemProperty>
  872. <systemProperty>
  873. <name>AsyncLoggerConfig.WaitStrategy</name>
  874. <value>Block</value>
  875. </systemProperty>
  876. <systemProperty>
  877. <name>AsyncLogger.WaitStrategy</name>
  878. <value>Block</value>
  879. </systemProperty>
  880. <systemProperty>
  881. <name>openjpa.Log</name>
  882. <value>${openjpa.Log}</value>
  883. </systemProperty>
  884. </systemProperties>
  885. </configuration>
  886. <dependencies>
  887. <dependency>
  888. <groupId>org.apache.derby</groupId>
  889. <artifactId>derby</artifactId>
  890. <version>${derbyVersion}</version>
  891. </dependency>
  892. <dependency>
  893. <groupId>javax.mail</groupId>
  894. <artifactId>mail</artifactId>
  895. <version>${javaxMailVersion}</version>
  896. </dependency>
  897. <dependency>
  898. <groupId>org.apache.openjpa</groupId>
  899. <artifactId>openjpa</artifactId>
  900. <version>${openjpaVersion}</version>
  901. </dependency>
  902. <dependency>
  903. <groupId>org.apache.geronimo.specs</groupId>
  904. <artifactId>geronimo-jpa_2.0_spec</artifactId>
  905. <version>1.1</version>
  906. </dependency>
  907. <dependency>
  908. <groupId>org.apache.geronimo.specs</groupId>
  909. <artifactId>geronimo-jta_1.1_spec</artifactId>
  910. <version>1.1.1</version>
  911. </dependency>
  912. <dependency>
  913. <groupId>net.sourceforge.serp</groupId>
  914. <artifactId>serp</artifactId>
  915. <version>1.15.1</version>
  916. </dependency>
  917. <dependency>
  918. <groupId>org.eclipse.jetty</groupId>
  919. <artifactId>jetty-io</artifactId>
  920. <version>${jettyVersion}</version>
  921. </dependency>
  922. <dependency>
  923. <groupId>org.eclipse.jetty</groupId>
  924. <artifactId>jetty-util</artifactId>
  925. <version>${jettyVersion}</version>
  926. </dependency>
  927. <dependency>
  928. <groupId>org.eclipse.jetty</groupId>
  929. <artifactId>jetty-client</artifactId>
  930. <version>${jettyVersion}</version>
  931. </dependency>
  932. <dependency>
  933. <groupId>org.eclipse.jetty.websocket</groupId>
  934. <artifactId>websocket-client</artifactId>
  935. <version>${jettyVersion}</version>
  936. </dependency>
  937. </dependencies>
  938. </plugin>
  939. <plugin>
  940. <groupId>org.apache.maven.plugins</groupId>
  941. <artifactId>maven-antrun-plugin</artifactId>
  942. <executions>
  943. <execution>
  944. <phase>generate-resources</phase>
  945. <goals>
  946. <goal>run</goal>
  947. </goals>
  948. <configuration>
  949. <target>
  950. <mkdir dir="${project.build.directory}/appserver-base/conf" />
  951. </target>
  952. </configuration>
  953. </execution>
  954. </executions>
  955. </plugin>
  956. <plugin>
  957. <groupId>org.apache.maven.plugins</groupId>
  958. <artifactId>maven-surefire-plugin</artifactId>
  959. <configuration>
  960. <systemPropertyVariables>
  961. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  962. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  963. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  964. <archiva.baseRestUrl>${archiva.baseRestUrl}</archiva.baseRestUrl>
  965. <rest.admin.pwd>${rest.admin.pwd}</rest.admin.pwd>
  966. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  967. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  968. </systemPropertyVariables>
  969. </configuration>
  970. </plugin>
  971. <plugin>
  972. <groupId>org.apache.maven.plugins</groupId>
  973. <artifactId>maven-war-plugin</artifactId>
  974. <configuration>
  975. <archive>
  976. <manifest>
  977. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  978. <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
  979. </manifest>
  980. </archive>
  981. <webResources>
  982. <webResource>
  983. <directory>.</directory>
  984. <includes>
  985. <include>LICENSE</include>
  986. </includes>
  987. </webResource>
  988. <webResource>
  989. <directory>${project.build.directory}/maven-shared-archive-resources/META-INF/</directory>
  990. <includes>
  991. <include>NOTICE</include>
  992. </includes>
  993. </webResource>
  994. </webResources>
  995. </configuration>
  996. </plugin>
  997. </plugins>
  998. </build>
  999. <profiles>
  1000. <profile>
  1001. <id>cassandra</id>
  1002. <properties>
  1003. <archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id>
  1004. </properties>
  1005. </profile>
  1006. </profiles>
  1007. </project>