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

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