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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  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/xsd/maven-4.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-web-common</artifactId>
  28. <packaging>jar</packaging>
  29. <name>Archiva Web :: Web Common</name>
  30. <properties>
  31. <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-ui</enunciate.docsDir>
  32. <site.staging.base>${project.parent.parent.basedir}</site.staging.base>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.apache.archiva</groupId>
  37. <artifactId>metadata-repository-api</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.archiva</groupId>
  41. <artifactId>archiva-configuration</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.apache.archiva</groupId>
  45. <artifactId>archiva-security-common</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.archiva</groupId>
  49. <artifactId>archiva-rss</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.archiva</groupId>
  53. <artifactId>archiva-security</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.archiva.redback</groupId>
  57. <artifactId>redback-common-integrations</artifactId>
  58. <exclusions>
  59. <exclusion>
  60. <groupId>stax</groupId>
  61. <artifactId>stax-api</artifactId>
  62. </exclusion>
  63. </exclusions>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.apache.archiva</groupId>
  67. <artifactId>archiva-plexus-bridge</artifactId>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.archiva</groupId>
  71. <artifactId>archiva-scheduler-repository</artifactId>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.apache.archiva.redback</groupId>
  75. <artifactId>redback-rbac-model</artifactId>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.apache.archiva.redback</groupId>
  79. <artifactId>redback-rbac-role-manager</artifactId>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.archiva.redback</groupId>
  83. <artifactId>redback-system</artifactId>
  84. </dependency>
  85. <dependency>
  86. <groupId>org.apache.archiva</groupId>
  87. <artifactId>archiva-repository-layer</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.archiva</groupId>
  91. <artifactId>archiva-rest-api</artifactId>
  92. <exclusions>
  93. <exclusion>
  94. <groupId>org.eclipse.jetty</groupId>
  95. <artifactId>jetty-server</artifactId>
  96. </exclusion>
  97. <exclusion>
  98. <groupId>org.eclipse.jetty</groupId>
  99. <artifactId>jetty-continuation</artifactId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>org.eclipse.jetty</groupId>
  103. <artifactId>jetty-http</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>org.eclipse.jetty</groupId>
  107. <artifactId>jetty-io</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>org.eclipse.jetty</groupId>
  111. <artifactId>jetty-util</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>org.eclipse.jetty</groupId>
  115. <artifactId>jetty-security</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>commons-logging</groupId>
  119. <artifactId>commons-logging</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>org.apache.geronimo.specs</groupId>
  123. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  124. </exclusion>
  125. <exclusion>
  126. <groupId>org.apache.geronimo.specs</groupId>
  127. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  128. </exclusion>
  129. <exclusion>
  130. <groupId>org.apache.geronimo.specs</groupId>
  131. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  132. </exclusion>
  133. </exclusions>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.apache.archiva</groupId>
  137. <artifactId>archiva-rest-services</artifactId>
  138. <exclusions>
  139. <exclusion>
  140. <groupId>org.eclipse.jetty</groupId>
  141. <artifactId>jetty-server</artifactId>
  142. </exclusion>
  143. <exclusion>
  144. <groupId>org.eclipse.jetty</groupId>
  145. <artifactId>jetty-continuation</artifactId>
  146. </exclusion>
  147. <exclusion>
  148. <groupId>org.eclipse.jetty</groupId>
  149. <artifactId>jetty-http</artifactId>
  150. </exclusion>
  151. <exclusion>
  152. <groupId>org.eclipse.jetty</groupId>
  153. <artifactId>jetty-io</artifactId>
  154. </exclusion>
  155. <exclusion>
  156. <groupId>org.eclipse.jetty</groupId>
  157. <artifactId>jetty-util</artifactId>
  158. </exclusion>
  159. <exclusion>
  160. <groupId>org.eclipse.jetty</groupId>
  161. <artifactId>jetty-security</artifactId>
  162. </exclusion>
  163. <exclusion>
  164. <groupId>commons-logging</groupId>
  165. <artifactId>commons-logging</artifactId>
  166. </exclusion>
  167. <exclusion>
  168. <groupId>org.apache.geronimo.specs</groupId>
  169. <artifactId>geronimo-servlet_3.0_spec</artifactId>
  170. </exclusion>
  171. <exclusion>
  172. <groupId>org.apache.geronimo.specs</groupId>
  173. <artifactId>geronimo-javamail_1.4_spec</artifactId>
  174. </exclusion>
  175. <exclusion>
  176. <groupId>org.apache.geronimo.specs</groupId>
  177. <artifactId>geronimo-servlet_2.5_spec</artifactId>
  178. </exclusion>
  179. </exclusions>
  180. </dependency>
  181. <dependency>
  182. <groupId>org.apache.archiva</groupId>
  183. <artifactId>audit</artifactId>
  184. </dependency>
  185. <dependency>
  186. <groupId>javax.ws.rs</groupId>
  187. <artifactId>javax.ws.rs-api</artifactId>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.apache.archiva.redback.components</groupId>
  191. <artifactId>spring-taskqueue</artifactId>
  192. </dependency>
  193. <dependency>
  194. <groupId>org.apache.archiva.redback.components</groupId>
  195. <artifactId>spring-quartz</artifactId>
  196. </dependency>
  197. <dependency>
  198. <groupId>org.quartz-scheduler</groupId>
  199. <artifactId>quartz</artifactId>
  200. <exclusions>
  201. <exclusion>
  202. <groupId>c3p0</groupId>
  203. <artifactId>c3p0</artifactId>
  204. </exclusion>
  205. <exclusion>
  206. <groupId>javax.transaction</groupId>
  207. <artifactId>jta</artifactId>
  208. </exclusion>
  209. </exclusions>
  210. </dependency>
  211. <dependency>
  212. <groupId>org.springframework</groupId>
  213. <artifactId>spring-core</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>org.springframework</groupId>
  217. <artifactId>spring-beans</artifactId>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.springframework</groupId>
  221. <artifactId>spring-context-support</artifactId>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.jsoup</groupId>
  225. <artifactId>jsoup</artifactId>
  226. </dependency>
  227. <dependency>
  228. <groupId>javax.servlet</groupId>
  229. <artifactId>javax.servlet-api</artifactId>
  230. </dependency>
  231. <dependency>
  232. <groupId>org.springframework</groupId>
  233. <artifactId>spring-web</artifactId>
  234. </dependency>
  235. <dependency>
  236. <groupId>javax.mail</groupId>
  237. <artifactId>mail</artifactId>
  238. <scope>provided</scope>
  239. </dependency>
  240. <dependency>
  241. <groupId>junit</groupId>
  242. <artifactId>junit</artifactId>
  243. <scope>test</scope>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.apache.logging.log4j</groupId>
  247. <artifactId>log4j-1.2-api</artifactId>
  248. <scope>test</scope>
  249. </dependency>
  250. <dependency>
  251. <groupId>org.apache.logging.log4j</groupId>
  252. <artifactId>log4j-slf4j-impl</artifactId>
  253. <scope>test</scope>
  254. </dependency>
  255. <dependency>
  256. <groupId>org.apache.archiva</groupId>
  257. <artifactId>archiva-test-utils</artifactId>
  258. <version>${project.version}</version>
  259. <scope>test</scope>
  260. <exclusions>
  261. <exclusion>
  262. <groupId>org.slf4j</groupId>
  263. <artifactId>slf4j-simple</artifactId>
  264. </exclusion>
  265. </exclusions>
  266. </dependency>
  267. <dependency>
  268. <groupId>org.slf4j</groupId>
  269. <artifactId>jul-to-slf4j</artifactId>
  270. <scope>test</scope>
  271. </dependency>
  272. <dependency>
  273. <groupId>org.apache.maven.wagon</groupId>
  274. <artifactId>wagon-http</artifactId>
  275. <scope>test</scope>
  276. <exclusions>
  277. <exclusion>
  278. <groupId>commons-logging</groupId>
  279. <artifactId>commons-logging</artifactId>
  280. </exclusion>
  281. </exclusions>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.apache.maven.wagon</groupId>
  285. <artifactId>wagon-http-lightweight</artifactId>
  286. <scope>test</scope>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.apache.cxf</groupId>
  290. <artifactId>cxf-rt-rs-client</artifactId>
  291. <scope>test</scope>
  292. </dependency>
  293. <dependency>
  294. <groupId>org.eclipse.jetty</groupId>
  295. <artifactId>jetty-server</artifactId>
  296. <scope>test</scope>
  297. </dependency>
  298. <dependency>
  299. <groupId>org.eclipse.jetty</groupId>
  300. <artifactId>jetty-plus</artifactId>
  301. <scope>test</scope>
  302. </dependency>
  303. <!-- override transitive from cxf -->
  304. <dependency>
  305. <groupId>org.eclipse.jetty</groupId>
  306. <artifactId>jetty-util</artifactId>
  307. <version>${jetty.version}</version>
  308. <scope>test</scope>
  309. </dependency>
  310. <dependency>
  311. <groupId>org.eclipse.jetty</groupId>
  312. <artifactId>jetty-io</artifactId>
  313. <version>${jetty.version}</version>
  314. <scope>test</scope>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.eclipse.jetty</groupId>
  318. <artifactId>jetty-security</artifactId>
  319. <version>${jetty.version}</version>
  320. <scope>test</scope>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.apache.commons</groupId>
  324. <artifactId>commons-compress</artifactId>
  325. <scope>test</scope>
  326. </dependency>
  327. <dependency>
  328. <groupId>org.apache.archiva.redback</groupId>
  329. <artifactId>redback-rest-services</artifactId>
  330. <classifier>tests</classifier>
  331. <scope>test</scope>
  332. </dependency>
  333. <dependency>
  334. <groupId>org.apache.archiva.redback</groupId>
  335. <artifactId>redback-keys-jpa</artifactId>
  336. <scope>test</scope>
  337. </dependency>
  338. <dependency>
  339. <groupId>org.apache.archiva.redback</groupId>
  340. <artifactId>redback-rest-services</artifactId>
  341. <scope>test</scope>
  342. </dependency>
  343. <dependency>
  344. <groupId>org.apache.archiva</groupId>
  345. <artifactId>archiva-webdav</artifactId>
  346. <scope>test</scope>
  347. </dependency>
  348. <dependency>
  349. <groupId>org.apache.archiva</groupId>
  350. <artifactId>archiva-repository-admin-default</artifactId>
  351. <scope>test</scope>
  352. </dependency>
  353. <dependency>
  354. <groupId>org.apache.archiva</groupId>
  355. <artifactId>metadata-store-jcr</artifactId>
  356. <scope>test</scope>
  357. </dependency>
  358. <dependency>
  359. <groupId>org.assertj</groupId>
  360. <artifactId>assertj-core</artifactId>
  361. <scope>test</scope>
  362. </dependency>
  363. <dependency>
  364. <groupId>xerces</groupId>
  365. <artifactId>xercesImpl</artifactId>
  366. <scope>test</scope>
  367. </dependency>
  368. <dependency>
  369. <groupId>org.hsqldb</groupId>
  370. <artifactId>hsqldb</artifactId>
  371. <scope>test</scope>
  372. </dependency>
  373. <!-- Needed for JDK >= 9 -->
  374. <dependency>
  375. <groupId>javax.annotation</groupId>
  376. <artifactId>javax.annotation-api</artifactId>
  377. <scope>test</scope>
  378. </dependency>
  379. <dependency>
  380. <groupId>javax.xml.bind</groupId>
  381. <artifactId>jaxb-api</artifactId>
  382. <scope>test</scope>
  383. </dependency>
  384. <dependency>
  385. <groupId>org.glassfish.jaxb</groupId>
  386. <artifactId>jaxb-runtime</artifactId>
  387. <scope>test</scope>
  388. </dependency>
  389. <dependency>
  390. <groupId>org.ow2.asm</groupId>
  391. <artifactId>asm</artifactId>
  392. <scope>test</scope>
  393. </dependency>
  394. </dependencies>
  395. <build>
  396. <resources>
  397. <resource>
  398. <directory>src/main/resources</directory>
  399. </resource>
  400. <resource>
  401. <directory>src/main/filtered-resources</directory>
  402. <filtering>true</filtering>
  403. </resource>
  404. </resources>
  405. <pluginManagement>
  406. <plugins>
  407. <plugin>
  408. <groupId>org.apache.rat</groupId>
  409. <artifactId>apache-rat-plugin</artifactId>
  410. <configuration>
  411. <excludes>
  412. <exclude>src/test/repositories/test-repo/**</exclude>
  413. <exclude>src/test/repositories/snapshot-repo/**</exclude>
  414. </excludes>
  415. </configuration>
  416. </plugin>
  417. </plugins>
  418. </pluginManagement>
  419. <plugins>
  420. <plugin>
  421. <groupId>org.apache.maven.plugins</groupId>
  422. <artifactId>maven-jar-plugin</artifactId>
  423. <executions>
  424. <execution>
  425. <goals>
  426. <goal>test-jar</goal>
  427. </goals>
  428. </execution>
  429. </executions>
  430. </plugin>
  431. <plugin>
  432. <groupId>org.apache.maven.plugins</groupId>
  433. <artifactId>maven-surefire-plugin</artifactId>
  434. <configuration>
  435. <reuseForks>false</reuseForks>
  436. <!--
  437. <argLine>-Xms1024m -Xmx2048m -server -XX:MaxPermSize=256m @{jacocoproperty}</argLine>
  438. -->
  439. <argLine>-Xms1024m -Xmx2048m -server -XX:MaxPermSize=256m</argLine>
  440. <systemPropertyVariables>
  441. <appserver.base>${project.build.directory}/appserver-base</appserver.base>
  442. <plexus.home>${project.build.directory}/appserver-base</plexus.home>
  443. <derby.system.home>${project.build.directory}/appserver-base</derby.system.home>
  444. <archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
  445. <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
  446. <redback.jdbc.url>${redbackTestJdbcUrl}</redback.jdbc.url>
  447. <redback.jdbc.driver.name>${redbackTestJdbcDriver}</redback.jdbc.driver.name>
  448. <basedir>${basedir}</basedir>
  449. <expectedVersion>${project.version}</expectedVersion>
  450. <archiva.logMissingI18n>true</archiva.logMissingI18n>
  451. <java.awt.headless>true</java.awt.headless>
  452. <archiva.repositorySessionFactory.id>test</archiva.repositorySessionFactory.id>
  453. <openjpa.Log>${openjpa.Log}</openjpa.Log>
  454. </systemPropertyVariables>
  455. </configuration>
  456. </plugin>
  457. <!-- Conflicts with the client libraries. Found no other exclude entry that worked -->
  458. <plugin>
  459. <groupId>org.jacoco</groupId>
  460. <artifactId>jacoco-maven-plugin</artifactId>
  461. <version>${jacoco.plugin.version}</version>
  462. <configuration>
  463. <excludes>
  464. <exclude>**/*org/apache/archiva/web/model/*</exclude>
  465. <exclude>**/archiva-web-common-json-client.jar*</exclude>
  466. </excludes>
  467. </configuration>
  468. </plugin>
  469. </plugins>
  470. </build>
  471. </project>