pom.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xml:space="preserve">
  3. <!-- Copyright 2018-2020 Steinar Bang -->
  4. <!-- -->
  5. <!-- Licensed under the Apache License, Version 2.0 (the "License"); -->
  6. <!-- you may not use this file except in compliance with the License. -->
  7. <!-- You may obtain a copy of the License at -->
  8. <!-- http://www.apache.org/licenses/LICENSE-2.0 -->
  9. <!-- Unless required by applicable law or agreed to in writing, -->
  10. <!-- software distributed under the License is distributed on an "AS IS" BASIS, -->
  11. <!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
  12. <!-- See the License for the specific language governing permissions and limitations -->
  13. <!-- under the License. -->
  14. <modelVersion>4.0.0</modelVersion>
  15. <groupId>no.priv.bang.handlereg</groupId>
  16. <artifactId>handlereg</artifactId>
  17. <version>1.0.0-SNAPSHOT</version>
  18. <packaging>pom</packaging>
  19. <name>Handleregistrering</name>
  20. <modules>
  21. <module>handlereg.db.liquibase</module>
  22. <module>handlereg.db.liquibase.test</module>
  23. <module>handlereg.db.liquibase.production</module>
  24. <module>handlereg.services</module>
  25. <module>handlereg.backend</module>
  26. <module>handlereg.backend.testdata</module>
  27. <module>handlereg.web.security</module>
  28. <module>handlereg.web.api</module>
  29. <module>handlereg.web.frontend</module>
  30. </modules>
  31. <properties>
  32. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  33. <maven.bundle.plugin.version>3.5.1</maven.bundle.plugin.version>
  34. <karaf.version>4.2.8</karaf.version>
  35. <junit.jupiter.version>5.5.2</junit.jupiter.version>
  36. <mockrunner.version>2.0.4</mockrunner.version>
  37. <liquibase.version>3.8.0</liquibase.version>
  38. <snakeyaml.version>1.17</snakeyaml.version>
  39. <derby.version>10.11.1.1</derby.version>
  40. <postgresql.version>42.2.17</postgresql.version>
  41. <dependency.osgi.version>6.0.0</dependency.osgi.version>
  42. <osgi.service.version>1.3.0</osgi.service.version>
  43. <osgi.log.version>1.3.0</osgi.log.version>
  44. <osgi.jdbc.version>1.0.0</osgi.jdbc.version>
  45. <osgi-service.version>1.5.0</osgi-service.version>
  46. <osgi-service-adaptors.version>1.0.1</osgi-service-adaptors.version>
  47. <bang-servlet.version>1.3.2</bang-servlet.version>
  48. <pax.web.version>7.2.14</pax.web.version>
  49. <pax.exam.version>4.10.0</pax.exam.version>
  50. <pax.jdbc.version>1.3.1</pax.jdbc.version>
  51. <authservice.version>1.11.15</authservice.version>
  52. <shiro.version>1.5.1</shiro.version>
  53. <beans.version>1.0.0</beans.version>
  54. <jackson.version>2.10.3</jackson.version>
  55. <jersey.version>2.30.1</jersey.version>
  56. <open-iconic.version>1.1.1</open-iconic.version>
  57. <sonar.cpd.exclusions>
  58. **/HandleregServiceProvider.java,
  59. **/HandleregTestDbLiquibaseRunner.java,
  60. **/HandleregProductionDbLiquibaseRunner.java,
  61. </sonar.cpd.exclusions>
  62. </properties>
  63. <dependencyManagement>
  64. <dependencies>
  65. <dependency>
  66. <groupId>org.junit.jupiter</groupId>
  67. <artifactId>junit-jupiter-api</artifactId>
  68. <version>${junit.jupiter.version}</version>
  69. <scope>test</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.junit.jupiter</groupId>
  73. <artifactId>junit-jupiter-engine</artifactId>
  74. <version>${junit.jupiter.version}</version>
  75. <scope>test</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.junit.vintage</groupId>
  79. <artifactId>junit-vintage-engine</artifactId>
  80. <version>${junit.jupiter.version}</version>
  81. <scope>test</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.assertj</groupId>
  85. <artifactId>assertj-core</artifactId>
  86. <version>3.9.0</version>
  87. <scope>test</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.mockito</groupId>
  91. <artifactId>mockito-core</artifactId>
  92. <version>1.10.19</version>
  93. <scope>test</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>com.mockrunner</groupId>
  97. <artifactId>mockrunner-servlet</artifactId>
  98. <version>${mockrunner.version}</version>
  99. <scope>test</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.osgi</groupId>
  103. <artifactId>org.osgi.core</artifactId>
  104. <version>${dependency.osgi.version}</version>
  105. <scope>provided</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.osgi</groupId>
  109. <artifactId>org.osgi.service.component.annotations</artifactId>
  110. <version>${osgi.service.version}</version>
  111. <scope>provided</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>org.osgi</groupId>
  115. <artifactId>org.osgi.service.log</artifactId>
  116. <version>${osgi.log.version}</version>
  117. <scope>provided</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  121. <artifactId>logservice</artifactId>
  122. <version>${osgi-service-adaptors.version}</version>
  123. <scope>provided</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>no.priv.bang.osgi.service.adapters</groupId>
  127. <artifactId>service-mocks</artifactId>
  128. <version>${osgi-service-adaptors.version}</version>
  129. <scope>test</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.osgi</groupId>
  133. <artifactId>org.osgi.service.jdbc</artifactId>
  134. <version>${osgi.jdbc.version}</version>
  135. <scope>provided</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>no.priv.bang.osgiservice</groupId>
  139. <artifactId>osgiservice.users</artifactId>
  140. <version>${osgi-service.version}</version>
  141. <scope>provided</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.ops4j.pax.web</groupId>
  145. <artifactId>pax-web-api</artifactId>
  146. <version>${pax.web.version}</version>
  147. <scope>provided</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.ops4j.pax.web</groupId>
  151. <artifactId>pax-web-runtime</artifactId>
  152. <version>${pax.web.version}</version>
  153. <scope>provided</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.ops4j.pax.web</groupId>
  157. <artifactId>pax-web-extender-whiteboard</artifactId>
  158. <version>${pax.web.version}</version>
  159. <scope>provided</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>javax.servlet</groupId>
  163. <artifactId>javax.servlet-api</artifactId>
  164. <version>3.1.0</version>
  165. <scope>provided</scope>
  166. </dependency>
  167. <dependency>
  168. <groupId>no.priv.bang.servlet</groupId>
  169. <artifactId>servlet.frontend</artifactId>
  170. <version>${bang-servlet.version}</version>
  171. <scope>provided</scope>
  172. </dependency>
  173. <dependency>
  174. <groupId>no.priv.bang.servlet</groupId>
  175. <artifactId>servlet.jersey</artifactId>
  176. <version>${bang-servlet.version}</version>
  177. <scope>provided</scope>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.apache.karaf.shell</groupId>
  181. <artifactId>org.apache.karaf.shell.console</artifactId>
  182. <version>${karaf.version}</version>
  183. <scope>provided</scope>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.ops4j.pax.exam</groupId>
  187. <artifactId>pax-exam-container-karaf</artifactId>
  188. <version>${pax.exam.version}</version>
  189. <scope>test</scope>
  190. </dependency>
  191. <dependency>
  192. <groupId>org.apache.karaf</groupId>
  193. <artifactId>apache-karaf-minimal</artifactId>
  194. <version>${karaf.version}</version>
  195. <type>zip</type>
  196. <scope>test</scope>
  197. <exclusions>
  198. <exclusion>
  199. <groupId>*</groupId>
  200. <artifactId>*</artifactId>
  201. </exclusion>
  202. </exclusions>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.apache.karaf.features</groupId>
  206. <artifactId>standard</artifactId>
  207. <version>${karaf.version}</version>
  208. <type>xml</type>
  209. <classifier>features</classifier>
  210. <scope>test</scope>
  211. </dependency>
  212. <dependency>
  213. <groupId>org.ops4j.pax.exam</groupId>
  214. <artifactId>pax-exam-junit4</artifactId>
  215. <version>${pax.exam.version}</version>
  216. <scope>test</scope>
  217. </dependency>
  218. <dependency>
  219. <groupId>org.ops4j.pax.exam</groupId>
  220. <artifactId>pax-exam-link-mvn</artifactId>
  221. <version>${pax.exam.version}</version>
  222. <scope>test</scope>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.ops4j.pax.url</groupId>
  226. <artifactId>pax-url-reference</artifactId>
  227. <version>${dependency.pax.url.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.ops4j.pax.jdbc</groupId>
  231. <artifactId>pax-jdbc</artifactId>
  232. <version>${pax.jdbc.version}</version>
  233. <scope>provided</scope>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.ops4j.pax.jdbc</groupId>
  237. <artifactId>pax-jdbc-config</artifactId>
  238. <version>${pax.jdbc.version}</version>
  239. <scope>provided</scope>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.ops4j.pax.jdbc</groupId>
  243. <artifactId>pax-jdbc-pool-common</artifactId>
  244. <version>${pax.jdbc.version}</version>
  245. <scope>provided</scope>
  246. </dependency>
  247. <dependency>
  248. <groupId>org.ops4j.pax.jdbc</groupId>
  249. <artifactId>pax-jdbc-derby</artifactId>
  250. <version>${pax.jdbc.version}</version>
  251. <scope>provided</scope>
  252. </dependency>
  253. <dependency>
  254. <groupId>org.apache.derby</groupId>
  255. <artifactId>derby</artifactId>
  256. <version>${derby.version}</version>
  257. <scope>provided</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>org.apache.shiro</groupId>
  261. <artifactId>shiro-core</artifactId>
  262. <version>${shiro.version}</version>
  263. <scope>provided</scope>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.shiro</groupId>
  267. <artifactId>shiro-web</artifactId>
  268. <version>${shiro.version}</version>
  269. <scope>provided</scope>
  270. </dependency>
  271. <dependency>
  272. <groupId>no.priv.bang.beans</groupId>
  273. <artifactId>beans.immutable</artifactId>
  274. <version>${beans.version}</version>
  275. <scope>provided</scope>
  276. </dependency>
  277. <dependency>
  278. <groupId>org.apache.commons</groupId>
  279. <artifactId>commons-lang3</artifactId>
  280. <version>3.9</version>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.fasterxml.jackson.datatype</groupId>
  284. <artifactId>jackson-datatype-jsr310</artifactId>
  285. <version>${jackson.version}</version>
  286. <scope>provided</scope>
  287. </dependency>
  288. <dependency>
  289. <groupId>org.glassfish.jersey.containers</groupId>
  290. <artifactId>jersey-container-servlet</artifactId>
  291. <version>${jersey.version}</version>
  292. <scope>provided</scope>
  293. </dependency>
  294. <dependency>
  295. <groupId>org.glassfish.jersey.inject</groupId>
  296. <artifactId>jersey-hk2</artifactId>
  297. <version>${jersey.version}</version>
  298. <scope>provided</scope>
  299. </dependency>
  300. <dependency>
  301. <groupId>org.glassfish.jersey.media</groupId>
  302. <artifactId>jersey-media-moxy</artifactId>
  303. <version>${jersey.version}</version>
  304. <scope>provided</scope>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.glassfish.jersey.media</groupId>
  308. <artifactId>jersey-media-json-jackson</artifactId>
  309. <version>${jersey.version}</version>
  310. <scope>provided</scope>
  311. </dependency>
  312. <dependency>
  313. <groupId>javax.xml.bind</groupId>
  314. <artifactId>jaxb-api</artifactId>
  315. <version>2.3.1</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>org.slf4j</groupId>
  319. <artifactId>slf4j-api</artifactId>
  320. <version>1.7.25</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.liquibase</groupId>
  324. <artifactId>liquibase-core</artifactId>
  325. <version>${liquibase.version}</version>
  326. <scope>provided</scope>
  327. </dependency>
  328. <dependency>
  329. <groupId>org.postgresql</groupId>
  330. <artifactId>postgresql</artifactId>
  331. <version>${postgresql.version}</version>
  332. <scope>provided</scope>
  333. </dependency>
  334. <dependency>
  335. <groupId>org.webjars.bower</groupId>
  336. <artifactId>open-iconic</artifactId>
  337. <version>${open-iconic.version}</version>
  338. </dependency>
  339. </dependencies>
  340. </dependencyManagement>
  341. <build>
  342. <pluginManagement>
  343. <plugins>
  344. <plugin>
  345. <groupId>org.apache.maven.plugins</groupId>
  346. <artifactId>maven-compiler-plugin</artifactId>
  347. <version>3.8.1</version>
  348. <configuration>
  349. <source>1.8</source>
  350. <target>1.8</target>
  351. </configuration>
  352. </plugin>
  353. <plugin>
  354. <groupId>org.apache.maven.plugins</groupId>
  355. <artifactId>maven-source-plugin</artifactId>
  356. <version>2.4</version>
  357. </plugin>
  358. <plugin>
  359. <groupId>org.apache.maven.plugins</groupId>
  360. <artifactId>maven-javadoc-plugin</artifactId>
  361. <version>2.10.2</version>
  362. </plugin>
  363. <plugin>
  364. <groupId>org.codehaus.mojo</groupId>
  365. <artifactId>cobertura-maven-plugin</artifactId>
  366. <version>2.7</version>
  367. </plugin>
  368. <plugin>
  369. <groupId>org.apache.felix</groupId>
  370. <artifactId>maven-bundle-plugin</artifactId>
  371. <version>${maven.bundle.plugin.version}</version>
  372. <configuration>
  373. <supportedProjectTypes>
  374. <supportedProjectType>jar</supportedProjectType>
  375. <supportedProjectType>bundle</supportedProjectType>
  376. <supportedProjectType>war</supportedProjectType>
  377. </supportedProjectTypes>
  378. <instructions>
  379. <!-- Enable processing of OSGI DS component annotations -->
  380. <_dsannotations>*</_dsannotations>
  381. <!-- Inherit service injections from base class -->
  382. <_dsannotations-options>inherit</_dsannotations-options>
  383. <!-- Enable processing of OSGI metatype annotations -->
  384. <_metatypeannotations>*</_metatypeannotations>
  385. </instructions>
  386. </configuration>
  387. <executions>
  388. <execution>
  389. <id>bundle</id>
  390. <goals>
  391. <goal>bundle</goal>
  392. </goals>
  393. </execution>
  394. </executions>
  395. </plugin>
  396. <plugin>
  397. <groupId>org.apache.maven.plugins</groupId>
  398. <artifactId>maven-clean-plugin</artifactId>
  399. <version>3.1.0</version>
  400. <configuration>
  401. <filesets>
  402. <fileset>
  403. <directory>.</directory>
  404. <includes>
  405. <include>**/*.log</include>
  406. </includes>
  407. <followSymlinks>false</followSymlinks>
  408. </fileset>
  409. </filesets>
  410. </configuration>
  411. </plugin>
  412. <plugin>
  413. <groupId>org.apache.maven.plugins</groupId>
  414. <artifactId>maven-surefire-plugin</artifactId>
  415. <version>2.22.2</version>
  416. <configuration>
  417. <useSystemClassLoader>false</useSystemClassLoader>
  418. </configuration>
  419. </plugin>
  420. <plugin>
  421. <groupId>org.eluder.coveralls</groupId>
  422. <artifactId>coveralls-maven-plugin</artifactId>
  423. <version>4.3.0</version>
  424. </plugin>
  425. <plugin>
  426. <groupId>org.apache.karaf.tooling</groupId>
  427. <artifactId>karaf-maven-plugin</artifactId>
  428. <version>${karaf.version}</version>
  429. <extensions>true</extensions>
  430. <configuration>
  431. <startLevel>80</startLevel>
  432. <includeTransitiveDependency>false</includeTransitiveDependency>
  433. <aggregateFeatures>false</aggregateFeatures>
  434. <includeProjectArtifact>true</includeProjectArtifact>
  435. <primaryFeatureName>${karaf-feature-name}</primaryFeatureName>
  436. </configuration>
  437. <executions>
  438. <execution>
  439. <id>generate-features-file</id>
  440. <phase>package</phase>
  441. <goals>
  442. <goal>features-generate-descriptor</goal>
  443. </goals>
  444. </execution>
  445. </executions>
  446. </plugin>
  447. <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
  448. <plugin>
  449. <groupId>org.eclipse.m2e</groupId>
  450. <artifactId>lifecycle-mapping</artifactId>
  451. <version>1.0.0</version>
  452. <configuration>
  453. <lifecycleMappingMetadata>
  454. <pluginExecutions>
  455. <pluginExecution>
  456. <pluginExecutionFilter>
  457. <groupId>ru.yaal.maven</groupId>
  458. <artifactId>write-text-files-maven-plugin</artifactId>
  459. <versionRange>[1.1,)</versionRange>
  460. <goals>
  461. <goal>
  462. write-text-files
  463. </goal>
  464. </goals>
  465. </pluginExecutionFilter>
  466. <action>
  467. <ignore></ignore>
  468. </action>
  469. </pluginExecution>
  470. </pluginExecutions>
  471. </lifecycleMappingMetadata>
  472. </configuration>
  473. </plugin>
  474. </plugins>
  475. </pluginManagement>
  476. <plugins>
  477. <plugin>
  478. <artifactId>maven-resources-plugin</artifactId>
  479. <version>3.1.0</version>
  480. <executions>
  481. <execution>
  482. <id>filter-resources</id>
  483. <phase>validate</phase>
  484. <goals>
  485. <goal>resources</goal>
  486. </goals>
  487. <configuration>
  488. <resources>
  489. <resource>
  490. <directory>src/main/filtered-resources</directory>
  491. <filtering>true</filtering>
  492. </resource>
  493. </resources>
  494. </configuration>
  495. </execution>
  496. </executions>
  497. </plugin>
  498. <plugin>
  499. <groupId>org.codehaus.mojo</groupId>
  500. <artifactId>build-helper-maven-plugin</artifactId>
  501. <version>3.0.0</version>
  502. <inherited>false</inherited>
  503. <executions>
  504. <execution>
  505. <id>attach-karaf-feature</id>
  506. <phase>package</phase>
  507. <goals>
  508. <goal>attach-artifact</goal>
  509. </goals>
  510. <configuration>
  511. <artifacts>
  512. <artifact>
  513. <file>target/classes/feature.xml</file>
  514. <type>xml</type>
  515. <classifier>features</classifier>
  516. </artifact>
  517. </artifacts>
  518. </configuration>
  519. </execution>
  520. </executions>
  521. </plugin>
  522. <plugin>
  523. <groupId>org.apache.maven.plugins</groupId>
  524. <artifactId>maven-source-plugin</artifactId>
  525. <executions>
  526. <execution>
  527. <id>attach-sources</id>
  528. <goals>
  529. <goal>jar</goal>
  530. </goals>
  531. </execution>
  532. </executions>
  533. </plugin>
  534. <plugin>
  535. <groupId>org.apache.maven.plugins</groupId>
  536. <artifactId>maven-javadoc-plugin</artifactId>
  537. <configuration>
  538. <source>8</source>
  539. <show>private</show>
  540. </configuration>
  541. <executions>
  542. <execution>
  543. <id>attach-javadocs</id>
  544. <goals>
  545. <goal>jar</goal>
  546. </goals>
  547. </execution>
  548. </executions>
  549. </plugin>
  550. <plugin>
  551. <groupId>org.codehaus.mojo</groupId>
  552. <artifactId>cobertura-maven-plugin</artifactId>
  553. <configuration>
  554. <outputDirectory>${basedir}/target</outputDirectory>
  555. <formats>
  556. <format>html</format>
  557. <format>xml</format>
  558. </formats>
  559. <aggregate>true</aggregate>
  560. </configuration>
  561. </plugin>
  562. <plugin>
  563. <groupId>org.eluder.coveralls</groupId>
  564. <artifactId>coveralls-maven-plugin</artifactId>
  565. <configuration>
  566. <coberturaReports>
  567. <coberturaReport>${basedir}/target/coverage.xml</coberturaReport>
  568. </coberturaReports>
  569. </configuration>
  570. </plugin>
  571. </plugins>
  572. <extensions>
  573. <extension>
  574. <groupId>org.apache.maven.wagon</groupId>
  575. <artifactId>wagon-ssh</artifactId>
  576. <version>3.2.0</version>
  577. </extension>
  578. </extensions>
  579. </build>
  580. <distributionManagement>
  581. <repository>
  582. <id>ssh-maven-travis</id>
  583. <url>sftp://maven.bang.priv.no/repository</url>
  584. </repository>
  585. <snapshotRepository>
  586. <id>ssh-maven-travis</id>
  587. <url>sftp://maven.bang.priv.no/repository</url>
  588. </snapshotRepository>
  589. </distributionManagement>
  590. <profiles>
  591. <profile>
  592. <id>release-sign-artifact</id>
  593. <build>
  594. <plugins>
  595. <plugin>
  596. <groupId>org.apache.maven.plugins</groupId>
  597. <artifactId>maven-gpg-plugin</artifactId>
  598. <version>1.6</version>
  599. <executions>
  600. <execution>
  601. <id>sign-artifacts</id>
  602. <phase>verify</phase>
  603. <goals>
  604. <goal>sign</goal>
  605. </goals>
  606. <configuration>
  607. <gpgArguments>
  608. <arg>--pinentry-mode</arg>
  609. <arg>loopback</arg>
  610. </gpgArguments>
  611. </configuration>
  612. </execution>
  613. </executions>
  614. </plugin>
  615. </plugins>
  616. </build>
  617. </profile>
  618. </profiles>
  619. </project>