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 35KB

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