pom.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.baidu.disconf</groupId>
  6. <artifactId>disconf-base</artifactId>
  7. <version>2.6.36</version>
  8. <packaging>pom</packaging>
  9. <modules>
  10. <module>disconf-client</module>
  11. <module>disconf-core</module>
  12. <module>disconf-web</module>
  13. </modules>
  14. <inceptionYear>2015</inceptionYear>
  15. <licenses>
  16. <license>
  17. <name>Apache 2</name>
  18. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  19. <distribution>repo</distribution>
  20. <comments>A business-friendly OSS license</comments>
  21. </license>
  22. </licenses>
  23. <properties>
  24. <!-- 模块版本号 -->
  25. <disconf-core.version>2.6.36</disconf-core.version>
  26. <disconf-client.version>2.6.36</disconf-client.version>
  27. <disconf-client-spring.version>2.6.36</disconf-client-spring.version>
  28. <!-- Spring項目配置 -->
  29. <encoding>UTF-8</encoding>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  32. <!-- JAVA环境 -->
  33. <java.version>1.7</java.version>
  34. <source.version>1.7</source.version>
  35. <target.version>1.7</target.version>
  36. <spring.version>4.3.26.RELEASE</spring.version>
  37. <spring.amqp.version>1.4.5.RELEASE</spring.amqp.version>
  38. <junit.version>4.13.1</junit.version>
  39. <jsp.version>2.0</jsp.version>
  40. <servlet.version>2.5</servlet.version>
  41. <cglib.version>2.2.2</cglib.version>
  42. <!-- resource path -->
  43. <project.build.online.sourceDir>${project.basedir}/src/main/online-resources</project.build.online.sourceDir>
  44. <project.build.offline.sourceDir>${project.basedir}/src/main/resources</project.build.offline.sourceDir>
  45. </properties>
  46. <dependencyManagement>
  47. <dependencies>
  48. <!-- common dependencies -->
  49. <dependency>
  50. <groupId>org.aopalliance</groupId>
  51. <artifactId>com.springsource.org.aopalliance</artifactId>
  52. <version>2.5.6</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>javax.mail</groupId>
  56. <artifactId>mail</artifactId>
  57. <version>1.4.7</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>redis.clients</groupId>
  61. <artifactId>jedis</artifactId>
  62. <version>2.1.0</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>cglib</groupId>
  66. <artifactId>cglib</artifactId>
  67. <version>2.2.2</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>c3p0</groupId>
  71. <artifactId>c3p0</artifactId>
  72. <version>0.9.1.2</version>
  73. </dependency>
  74. <dependency>
  75. <groupId>com.google.code.gson</groupId>
  76. <artifactId>gson</artifactId>
  77. <version>2.2.4</version>
  78. </dependency>
  79. <dependency>
  80. <groupId>commons-beanutils</groupId>
  81. <artifactId>commons-beanutils</artifactId>
  82. <version>1.9.4</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>commons-collections</groupId>
  86. <artifactId>commons-collections</artifactId>
  87. <version>3.2.2</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>commons-dbcp</groupId>
  91. <artifactId>commons-dbcp</artifactId>
  92. <version>1.2.1</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>commons-digester</groupId>
  96. <artifactId>commons-digester</artifactId>
  97. <version>1.6</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>commons-fileupload</groupId>
  101. <artifactId>commons-fileupload</artifactId>
  102. <version>1.3.3</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>commons-io</groupId>
  106. <artifactId>commons-io</artifactId>
  107. <version>2.7</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>org.apache.commons</groupId>
  111. <artifactId>commons-lang3</artifactId>
  112. <version>3.4</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>javax.servlet</groupId>
  116. <artifactId>servlet-api</artifactId>
  117. <version>${servlet.version}</version>
  118. <scope>provided</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>javax.servlet.jsp</groupId>
  122. <artifactId>jsp-api</artifactId>
  123. <version>${jsp.version}</version>
  124. <scope>provided</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>org.apache.zookeeper</groupId>
  128. <artifactId>zookeeper</artifactId>
  129. <version>3.4.14</version>
  130. <exclusions>
  131. <exclusion>
  132. <groupId>com.sun.jmx</groupId>
  133. <artifactId>jmxri</artifactId>
  134. </exclusion>
  135. <exclusion>
  136. <groupId>com.sun.jdmk</groupId>
  137. <artifactId>jmxtools</artifactId>
  138. </exclusion>
  139. <exclusion>
  140. <groupId>javax.jms</groupId>
  141. <artifactId>jms</artifactId>
  142. </exclusion>
  143. </exclusions>
  144. </dependency>
  145. <dependency>
  146. <groupId>commons-logging</groupId>
  147. <artifactId>commons-logging</artifactId>
  148. <version>1.0.4</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>commons-logging</groupId>
  152. <artifactId>commons-logging-api</artifactId>
  153. <version>1.0.4</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>commons-net</groupId>
  157. <artifactId>commons-net</artifactId>
  158. <version>1.4.1</version>
  159. </dependency>
  160. <dependency>
  161. <groupId>commons-pool</groupId>
  162. <artifactId>commons-pool</artifactId>
  163. <version>1.4</version>
  164. </dependency>
  165. <dependency>
  166. <groupId>net.sf.ehcache</groupId>
  167. <artifactId>ehcache</artifactId>
  168. <version>2.7.4</version>
  169. </dependency>
  170. <dependency>
  171. <groupId>javax.annotation</groupId>
  172. <artifactId>javax.annotation</artifactId>
  173. <version>1.0.0.v20100513-0750</version>
  174. </dependency>
  175. <dependency>
  176. <groupId>javax.xml</groupId>
  177. <artifactId>javax.xml</artifactId>
  178. <version>1.3.4.v201005080400</version>
  179. </dependency>
  180. <dependency>
  181. <groupId>com.fasterxml.jackson.core</groupId>
  182. <artifactId>jackson-core</artifactId>
  183. <version>2.6.0</version>
  184. </dependency>
  185. <dependency>
  186. <groupId>org.freemarker</groupId>
  187. <artifactId>freemarker</artifactId>
  188. <version>2.3.20</version>
  189. </dependency>
  190. <dependency>
  191. <groupId>com.fasterxml.jackson.core</groupId>
  192. <artifactId>jackson-databind</artifactId>
  193. <version>2.9.10.7</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>mysql</groupId>
  197. <artifactId>mysql-connector-java</artifactId>
  198. <version>8.0.16</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>com.google.protobuf</groupId>
  202. <artifactId>protobuf-java</artifactId>
  203. <version>2.5.0</version>
  204. </dependency>
  205. <dependency>
  206. <groupId>net.sf.supercsv</groupId>
  207. <artifactId>super-csv</artifactId>
  208. <version>2.1.0</version>
  209. </dependency>
  210. <dependency>
  211. <groupId>javax.validation</groupId>
  212. <artifactId>validation-api</artifactId>
  213. <version>1.1.0.Final</version>
  214. </dependency>
  215. <dependency>
  216. <groupId>javax.annotation</groupId>
  217. <artifactId>javax.annotation-api</artifactId>
  218. <version>1.2</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.projectlombok</groupId>
  222. <artifactId>lombok</artifactId>
  223. <version>1.14.4</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.ostermiller</groupId>
  227. <artifactId>utils</artifactId>
  228. <version>1.07.00</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>com.google.guava</groupId>
  232. <artifactId>guava</artifactId>
  233. <version>30.0-jre</version>
  234. </dependency>
  235. <dependency>
  236. <groupId>commons-codec</groupId>
  237. <artifactId>commons-codec</artifactId>
  238. <version>1.9</version>
  239. </dependency>
  240. <dependency>
  241. <groupId>org.mortbay.jetty</groupId>
  242. <artifactId>jetty-util</artifactId>
  243. <version>6.1.14</version>
  244. </dependency>
  245. <!-- spring -->
  246. <dependency>
  247. <groupId>org.springframework</groupId>
  248. <artifactId>spring-context</artifactId>
  249. <version>${spring.version}</version>
  250. </dependency>
  251. <dependency>
  252. <groupId>org.springframework</groupId>
  253. <artifactId>spring-context-support</artifactId>
  254. <version>${spring.version}</version>
  255. </dependency>
  256. <dependency>
  257. <groupId>org.springframework</groupId>
  258. <artifactId>spring-aop</artifactId>
  259. <version>${spring.version}</version>
  260. </dependency>
  261. <dependency>
  262. <groupId>org.springframework</groupId>
  263. <artifactId>spring-core</artifactId>
  264. <version>${spring.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>org.springframework</groupId>
  268. <artifactId>spring-jms</artifactId>
  269. <version>${spring.version}</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>org.springframework</groupId>
  273. <artifactId>spring-instrument-tomcat</artifactId>
  274. <version>${spring.version}</version>
  275. </dependency>
  276. <dependency>
  277. <groupId>org.springframework</groupId>
  278. <artifactId>spring-tx</artifactId>
  279. <version>${spring.version}</version>
  280. </dependency>
  281. <dependency>
  282. <groupId>org.springframework</groupId>
  283. <artifactId>spring-aspects</artifactId>
  284. <version>${spring.version}</version>
  285. </dependency>
  286. <dependency>
  287. <groupId>org.springframework</groupId>
  288. <artifactId>spring-beans</artifactId>
  289. <version>${spring.version}</version>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.springframework</groupId>
  293. <artifactId>spring-expression</artifactId>
  294. <version>${spring.version}</version>
  295. </dependency>
  296. <dependency>
  297. <groupId>org.springframework</groupId>
  298. <artifactId>spring-instrument</artifactId>
  299. <version>${spring.version}</version>
  300. </dependency>
  301. <dependency>
  302. <groupId>org.springframework</groupId>
  303. <artifactId>spring-tomcat</artifactId>
  304. <version>${spring.version}</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>org.springframework</groupId>
  308. <artifactId>spring-jdbc</artifactId>
  309. <version>${spring.version}</version>
  310. </dependency>
  311. <dependency>
  312. <groupId>org.springframework</groupId>
  313. <artifactId>spring-orm</artifactId>
  314. <version>${spring.version}</version>
  315. </dependency>
  316. <dependency>
  317. <groupId>org.springframework</groupId>
  318. <artifactId>spring-oxm</artifactId>
  319. <version>${spring.version}</version>
  320. </dependency>
  321. <dependency>
  322. <groupId>org.springframework</groupId>
  323. <artifactId>spring-web</artifactId>
  324. <version>${spring.version}</version>
  325. </dependency>
  326. <dependency>
  327. <groupId>org.springframework</groupId>
  328. <artifactId>spring-webmvc</artifactId>
  329. <version>${spring.version}</version>
  330. </dependency>
  331. <!-- test dependencies -->
  332. <dependency>
  333. <groupId>org.springframework</groupId>
  334. <artifactId>spring-test</artifactId>
  335. <version>${spring.version}</version>
  336. </dependency>
  337. <dependency>
  338. <groupId>com.h2database</groupId>
  339. <artifactId>h2</artifactId>
  340. <version>1.3.174</version>
  341. <scope>test</scope>
  342. </dependency>
  343. <dependency>
  344. <groupId>com.googlecode.jmockit</groupId>
  345. <artifactId>jmockit</artifactId>
  346. <version>1.5</version>
  347. <scope>test</scope>
  348. </dependency>
  349. <dependency>
  350. <groupId>com.googlecode.jmockit</groupId>
  351. <artifactId>jmockit-coverage</artifactId>
  352. <version>0.999.24</version>
  353. <scope>test</scope>
  354. </dependency>
  355. <dependency>
  356. <groupId>junit</groupId>
  357. <artifactId>junit</artifactId>
  358. <version>${junit.version}</version>
  359. <scope>test</scope>
  360. </dependency>
  361. <dependency>
  362. <groupId>org.springframework</groupId>
  363. <artifactId>spring-test</artifactId>
  364. <version>${spring.version}</version>
  365. <scope>test</scope>
  366. </dependency>
  367. <dependency>
  368. <groupId>junit</groupId>
  369. <artifactId>junit-dep</artifactId>
  370. <version>4.11</version>
  371. <scope>test</scope>
  372. </dependency>
  373. <dependency>
  374. <groupId>org.mortbay.jetty</groupId>
  375. <artifactId>jetty</artifactId>
  376. <version>6.1.14</version>
  377. </dependency>
  378. <dependency>
  379. <groupId>org.hibernate</groupId>
  380. <artifactId>hibernate-validator</artifactId>
  381. <version>5.0.1.Final</version>
  382. </dependency>
  383. <dependency>
  384. <groupId>org.aspectj</groupId>
  385. <artifactId>aspectjtools</artifactId>
  386. <version>1.7.4</version>
  387. </dependency>
  388. <!-- log -->
  389. <dependency>
  390. <groupId>org.slf4j</groupId>
  391. <artifactId>slf4j-api</artifactId>
  392. <version>1.7.25</version>
  393. </dependency>
  394. <dependency>
  395. <groupId>ch.qos.logback</groupId>
  396. <artifactId>logback-classic</artifactId>
  397. <version>1.2.5</version>
  398. </dependency>
  399. <dependency>
  400. <groupId>com.github.tomakehurst</groupId>
  401. <artifactId>wiremock</artifactId>
  402. <version>1.46</version>
  403. <scope>test</scope>
  404. <!-- Include this if you have dependency conflicts for Guava,
  405. Jetty, Jackson or Apache HTTP Client -->
  406. <classifier>standalone</classifier>
  407. </dependency>
  408. </dependencies>
  409. </dependencyManagement>
  410. <!-- 构建 -->
  411. <build>
  412. <resources>
  413. <resource>
  414. <directory>${project.basedir}/src/main/java</directory>
  415. <excludes>
  416. <exclude>**/*.java</exclude>
  417. </excludes>
  418. </resource>
  419. <resource>
  420. <directory>${project.basedir}/src/main/resources</directory>
  421. <includes>
  422. <include>**/*.*</include>
  423. </includes>
  424. </resource>
  425. </resources>
  426. <finalName>disconf-base</finalName>
  427. <!-- 覆盖率 mvn test -->
  428. <plugins>
  429. <plugin>
  430. <groupId>org.codehaus.mojo</groupId>
  431. <artifactId>cobertura-maven-plugin</artifactId>
  432. <version>2.6</version>
  433. <configuration>
  434. <formats>
  435. <format>xml</format>
  436. <format>html</format>
  437. </formats>
  438. <aggregate>true</aggregate>
  439. <instrumentation>
  440. <excludes>
  441. <exclude>**/*Proto.class</exclude>
  442. <exclude>**/*Proto$*.class</exclude>
  443. <exclude>**/*Test.class</exclude>
  444. <exclude>**/*Controller.class</exclude>
  445. <exclude>**/*Vo.class</exclude>
  446. <exclude>**/*Form.class</exclude>
  447. </excludes>
  448. </instrumentation>
  449. </configuration>
  450. <executions>
  451. <execution>
  452. <phase>package</phase>
  453. <goals>
  454. <goal>cobertura</goal>
  455. </goals>
  456. </execution>
  457. </executions>
  458. </plugin>
  459. <!-- 编译 -->
  460. <plugin>
  461. <groupId>org.apache.maven.plugins</groupId>
  462. <artifactId>maven-compiler-plugin</artifactId>
  463. <version>2.3.1</version>
  464. <configuration>
  465. <source>${source.version}</source>
  466. <target>${target.version}</target>
  467. <encoding>${encoding}</encoding>
  468. <failOnError>true</failOnError>
  469. <showDeprecation>true</showDeprecation>
  470. <showWarnings>true</showWarnings>
  471. <compilerArguments>
  472. <verbose/>
  473. <bootclasspath>${java.home}/lib/rt.jar</bootclasspath>
  474. </compilerArguments>
  475. </configuration>
  476. <dependencies>
  477. <dependency>
  478. <groupId>org.codehaus.plexus</groupId>
  479. <artifactId>plexus-compiler-javac</artifactId>
  480. <version>1.8.1</version>
  481. </dependency>
  482. </dependencies>
  483. </plugin>
  484. <!-- JAR包 -->
  485. <plugin>
  486. <groupId>org.apache.maven.plugins</groupId>
  487. <artifactId>maven-jar-plugin</artifactId>
  488. <version>2.4</version>
  489. </plugin>
  490. <!-- war包 -->
  491. <plugin>
  492. <groupId>org.apache.maven.plugins</groupId>
  493. <artifactId>maven-war-plugin</artifactId>
  494. <version>2.1.1</version>
  495. <configuration>
  496. <webXml>${project.basedir}/src/main/webapp/WEB-INF/web.xml</webXml>
  497. </configuration>
  498. </plugin>
  499. <!-- embedded web servers -->
  500. <plugin>
  501. <groupId>org.mortbay.jetty</groupId>
  502. <artifactId>maven-jetty-plugin</artifactId>
  503. <version>6.1.10</version>
  504. </plugin>
  505. <plugin>
  506. <groupId>org.apache.tomcat.maven</groupId>
  507. <artifactId>tomcat6-maven-plugin</artifactId>
  508. <version>2.0</version>
  509. </plugin>
  510. <!-- auto deploy plugin -->
  511. <plugin>
  512. <groupId>org.codehaus.cargo</groupId>
  513. <artifactId>cargo-maven2-plugin</artifactId>
  514. <version>1.2.0</version>
  515. </plugin>
  516. <!-- 单测 -->
  517. <plugin>
  518. <groupId>org.apache.maven.plugins</groupId>
  519. <artifactId>maven-surefire-plugin</artifactId>
  520. <version>2.5</version>
  521. <configuration>
  522. <argLine>-Dfile.encoding=UTF-8</argLine>
  523. <includes>
  524. <include>**/*TestCase.java</include>
  525. </includes>
  526. <excludes>
  527. <exclude>**/*ServiceTest.java</exclude>
  528. <exclude>**/TempDaoTest.java</exclude>
  529. </excludes>
  530. </configuration>
  531. </plugin>
  532. <plugin>
  533. <groupId>org.apache.maven.plugins</groupId>
  534. <artifactId>maven-source-plugin</artifactId>
  535. <executions>
  536. <execution>
  537. <id>attach-sources</id>
  538. <goals>
  539. <goal>jar</goal>
  540. </goals>
  541. </execution>
  542. </executions>
  543. </plugin>
  544. <!-- 为了github的测试覆盖率 -->
  545. <plugin>
  546. <groupId>org.eluder.coveralls</groupId>
  547. <artifactId>coveralls-maven-plugin</artifactId>
  548. <version>3.1.0</version>
  549. </plugin>
  550. <plugin>
  551. <groupId>org.apache.maven.plugins</groupId>
  552. <artifactId>maven-javadoc-plugin</artifactId>
  553. <configuration>
  554. <!-- jdk1.8要加上,1.7要去掉,否则会报错 -->
  555. <additionalJOptions>
  556. <additionalJOption>-Xdoclint:none</additionalJOption>
  557. </additionalJOptions>
  558. </configuration>
  559. <executions>
  560. <execution>
  561. <id>attach-javadocs</id>
  562. <goals>
  563. <goal>jar</goal>
  564. </goals>
  565. </execution>
  566. </executions>
  567. </plugin>
  568. </plugins>
  569. </build>
  570. <developers>
  571. <developer>
  572. <name>Liao Qiqi</name>
  573. <id>knightliao</id>
  574. <email>knightliao@gmail.com</email>
  575. <roles>
  576. <role>Developer</role>
  577. </roles>
  578. <timezone>+8</timezone>
  579. </developer>
  580. </developers>
  581. <organization>
  582. <name>KNIGHT</name>
  583. <url>http://www.liaoqiqi.com</url>
  584. </organization>
  585. <scm>
  586. <url>scm:git:git@github.com:knightliao/disconf</url>
  587. <connection>scm:git:git@github.com:knightliao/disconf</connection>
  588. <tag>disconf-base</tag>
  589. </scm>
  590. <url>https://github.com/knightliao/disconf</url>
  591. <name>disconf</name>
  592. <description>Distributed Configuration Management Platform.</description>
  593. <profiles>
  594. <profile>
  595. <id>release</id>
  596. <distributionManagement>
  597. <snapshotRepository>
  598. <id>nexus-release</id>
  599. <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
  600. </snapshotRepository>
  601. <repository>
  602. <id>nexus-release</id>
  603. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  604. </repository>
  605. </distributionManagement>
  606. <build>
  607. <plugins>
  608. <!-- Source -->
  609. <plugin>
  610. <groupId>org.apache.maven.plugins</groupId>
  611. <artifactId>maven-source-plugin</artifactId>
  612. <version>2.2.1</version>
  613. <executions>
  614. <execution>
  615. <phase>package</phase>
  616. <goals>
  617. <goal>jar-no-fork</goal>
  618. </goals>
  619. </execution>
  620. </executions>
  621. </plugin>
  622. <!-- Javadoc -->
  623. <plugin>
  624. <groupId>org.apache.maven.plugins</groupId>
  625. <artifactId>maven-javadoc-plugin</artifactId>
  626. <version>2.9.1</version>
  627. <executions>
  628. <execution>
  629. <phase>package</phase>
  630. <goals>
  631. <goal>jar</goal>
  632. </goals>
  633. </execution>
  634. </executions>
  635. </plugin>
  636. <plugin>
  637. <groupId>org.apache.maven.plugins</groupId>
  638. <artifactId>maven-gpg-plugin</artifactId>
  639. <version>1.5</version>
  640. <executions>
  641. <execution>
  642. <id>sign-artifacts</id>
  643. <phase>verify</phase>
  644. <goals>
  645. <goal>sign</goal>
  646. </goals>
  647. </execution>
  648. </executions>
  649. </plugin>
  650. </plugins>
  651. </build>
  652. </profile>
  653. </profiles>
  654. </project>