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

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