pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>kkFileView-parent</artifactId>
  8. <groupId>cn.keking</groupId>
  9. <version>4.1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>office-plugin</artifactId>
  12. <repositories>
  13. <repository>
  14. <!-- required for org.hyperic:sigar -->
  15. <id>jboss-public-repository-group</id>
  16. <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
  17. </repository>
  18. </repositories>
  19. <dependencies>
  20. <dependency>
  21. <groupId>commons-io</groupId>
  22. <artifactId>commons-io</artifactId>
  23. <version>2.7</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.openoffice</groupId>
  27. <artifactId>juh</artifactId>
  28. <version>3.2.1</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.openoffice</groupId>
  32. <artifactId>ridl</artifactId>
  33. <version>3.2.1</version>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.openoffice</groupId>
  37. <artifactId>unoil</artifactId>
  38. <version>3.2.1</version>
  39. </dependency>
  40. <dependency>
  41. <!-- for the command line tool -->
  42. <groupId>commons-cli</groupId>
  43. <artifactId>commons-cli</artifactId>
  44. <version>1.1</version>
  45. <optional>true</optional>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.hyperic</groupId>
  49. <artifactId>sigar</artifactId>
  50. <version>1.6.5.132</version>
  51. <optional>true</optional>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.json</groupId>
  55. <artifactId>json</artifactId>
  56. <version>20090211</version>
  57. <optional>true</optional>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.testng</groupId>
  61. <artifactId>testng</artifactId>
  62. <version>6.0.1</version>
  63. <scope>test</scope>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <!-- 要将源码放上去,需要加入这个插件 -->
  69. <plugin>
  70. <artifactId>maven-source-plugin</artifactId>
  71. <version>2.1</version>
  72. <configuration>
  73. <attach>true</attach>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <phase>compile</phase>
  78. <goals>
  79. <goal>jar</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.apache.maven.plugins</groupId>
  86. <artifactId>maven-surefire-plugin</artifactId>
  87. <version>2.7.2</version>
  88. <configuration>
  89. <!-- don't run tests in parallel -->
  90. <perCoreThreadCount>false</perCoreThreadCount>
  91. <threadCount>1</threadCount>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-jar-plugin</artifactId>
  97. <version>2.3.1</version>
  98. <configuration>
  99. <archive>
  100. <manifest>
  101. <mainClass>org.artofsolving.jodconverter.cli.Convert</mainClass>
  102. <addClasspath>true</addClasspath>
  103. </manifest>
  104. </archive>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-assembly-plugin</artifactId>
  110. <version>2.2-beta-5</version>
  111. <configuration>
  112. <descriptors>
  113. <descriptor>src/main/assembly/dist.xml</descriptor>
  114. </descriptors>
  115. </configuration>
  116. </plugin>
  117. </plugins>
  118. </build>
  119. <reporting>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-javadoc-plugin</artifactId>
  124. <version>2.7</version>
  125. </plugin>
  126. <plugin>
  127. <groupId>org.codehaus.mojo</groupId>
  128. <artifactId>cobertura-maven-plugin</artifactId>
  129. <version>2.4</version>
  130. </plugin>
  131. </plugins>
  132. </reporting>
  133. <!-- distribute目录 -->
  134. <distributionManagement>
  135. <repository>
  136. <id>repo</id>
  137. <name>User Project Releases</name>
  138. <url>http://192.168.1.204:8081/nexus/content/repositories/releases</url>
  139. </repository>
  140. <snapshotRepository>
  141. <id>repo</id>
  142. <name>User Project SNAPSHOTS</name>
  143. <url>http://192.168.1.204:8081/nexus/content/repositories/snapshots</url>
  144. </snapshotRepository>
  145. </distributionManagement>
  146. </project>