pom.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  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
  5. http://maven.apache.org/maven-v4_0_0.xsd">
  6. <modelVersion>4.0.0</modelVersion>
  7. <name>JCommon</name>
  8. <artifactId>jcommon</artifactId>
  9. <groupId>org.jfree</groupId>
  10. <version>1.0.23</version>
  11. <packaging>jar</packaging>
  12. <!-- this is required to host it on Sonatype's OSSRH -->
  13. <parent>
  14. <groupId>org.sonatype.oss</groupId>
  15. <artifactId>oss-parent</artifactId>
  16. <version>9</version>
  17. </parent>
  18. <organization>
  19. <name>JFree.org</name>
  20. <url>http://www.jfree.org/</url>
  21. </organization>
  22. <inceptionYear>2001</inceptionYear>
  23. <description>
  24. JCommon is a free general purpose Java class library that is used in
  25. several projects at www.jfree.org, including JFreeChart and
  26. JFreeReport.
  27. </description>
  28. <url>http://www.jfree.org/jcommon/</url>
  29. <issueManagement>
  30. <url>http://sourceforge.net/tracker/?group_id=15494</url>
  31. </issueManagement>
  32. <scm>
  33. <connection>scm:cvs:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jfreechart:jcommon</connection>
  34. <url>http://cvs.sourceforge.net/viewcvs.py/jfreechart/jcommon</url>
  35. </scm>
  36. <mailingLists>
  37. <mailingList>
  38. <name>JFreeChart Developer List</name>
  39. <subscribe>
  40. jfreechart-dev-request@lists.sourceforge.net?subject=subscribe
  41. </subscribe>
  42. <unsubscribe>
  43. jfreechart-dev-request@lists.sourceforge.net?subject=unsubscribe
  44. </unsubscribe>
  45. <archive>
  46. http://sourceforge.net/mailarchive/forum.php?forum=jfreechart-dev
  47. </archive>
  48. </mailingList>
  49. </mailingLists>
  50. <developers>
  51. <!--
  52. For an up to date list of developers and contributors have a look at
  53. the project info implementations.
  54. -->
  55. </developers>
  56. <licenses>
  57. <license>
  58. <name>GNU Lesser General Public Licence</name>
  59. <url>http://www.gnu.org/licenses/lgpl.txt</url>
  60. <distribution>repo</distribution>
  61. </license>
  62. </licenses>
  63. <dependencies>
  64. <dependency>
  65. <groupId>junit</groupId>
  66. <artifactId>junit</artifactId>
  67. <version>3.8.2</version>
  68. <scope>test</scope>
  69. </dependency>
  70. </dependencies>
  71. <distributionManagement>
  72. <snapshotRepository>
  73. <id>ossrh</id>
  74. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  75. </snapshotRepository>
  76. </distributionManagement>
  77. <build>
  78. <sourceDirectory>src/main/java</sourceDirectory>
  79. <testSourceDirectory>src/test/java</testSourceDirectory>
  80. <resources>
  81. <resource>
  82. <directory>src/main/java</directory>
  83. <includes>
  84. <include>**/*.properties</include>
  85. <include>**/*.txt</include>
  86. <include>**/*.</include>
  87. </includes>
  88. </resource>
  89. </resources>
  90. <plugins>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-compiler-plugin</artifactId>
  94. <version>3.1</version>
  95. <configuration>
  96. <source>${project.source.level}</source>
  97. <target>${project.target.level}</target>
  98. <encoding>${project.build.sourceEncoding}</encoding>
  99. <excludes>
  100. <exclude>org/jfree/demo/**</exclude>
  101. <exclude>org/jfree/xml/**</exclude>
  102. </excludes>
  103. </configuration>
  104. </plugin>
  105. <plugin>
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-surefire-plugin</artifactId>
  108. <version>2.10</version>
  109. <configuration>
  110. <excludes>
  111. <exclude>**/JCommonTestSuite.java</exclude>
  112. <exclude>**/*PackageTests.java</exclude>
  113. </excludes>
  114. </configuration>
  115. </plugin>
  116. <plugin>
  117. <groupId>org.apache.maven.plugins</groupId>
  118. <artifactId>maven-resources-plugin</artifactId>
  119. <version>2.6</version>
  120. <configuration>
  121. <encoding>${project.build.sourceEncoding}</encoding>
  122. </configuration>
  123. </plugin>
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-gpg-plugin</artifactId>
  127. <version>1.5</version>
  128. <executions>
  129. <execution>
  130. <id>sign-artifacts</id>
  131. <phase>verify</phase>
  132. <goals>
  133. <goal>sign</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <plugin>
  139. <groupId>org.sonatype.plugins</groupId>
  140. <artifactId>nexus-staging-maven-plugin</artifactId>
  141. <version>1.6.2</version>
  142. <extensions>true</extensions>
  143. <configuration>
  144. <serverId>ossrh</serverId>
  145. <nexusUrl>https://oss.sonatype.org/</nexusUrl>
  146. <autoReleaseAfterClose>false</autoReleaseAfterClose>
  147. </configuration>
  148. </plugin>
  149. <plugin>
  150. <groupId>org.codehaus.mojo</groupId>
  151. <artifactId>cobertura-maven-plugin</artifactId>
  152. <version>2.5.1</version>
  153. </plugin>
  154. <plugin>
  155. <groupId>org.apache.maven.plugins</groupId>
  156. <artifactId>maven-site-plugin</artifactId>
  157. <version>3.4</version>
  158. </plugin>
  159. </plugins>
  160. </build>
  161. <reporting>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-javadoc-plugin</artifactId>
  166. <version>2.9.1</version>
  167. </plugin>
  168. <plugin>
  169. <groupId>org.apache.maven.plugins</groupId>
  170. <artifactId>maven-surefire-report-plugin</artifactId>
  171. <version>2.8</version>
  172. </plugin>
  173. <plugin>
  174. <groupId>org.apache.maven.plugins</groupId>
  175. <artifactId>maven-jxr-plugin</artifactId>
  176. <version>2.3</version>
  177. </plugin>
  178. <plugin>
  179. <groupId>org.codehaus.mojo</groupId>
  180. <artifactId>cobertura-maven-plugin</artifactId>
  181. <version>2.5.1</version>
  182. </plugin>
  183. </plugins>
  184. </reporting>
  185. <properties>
  186. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  187. <project.source.level>1.6</project.source.level>
  188. <project.target.level>1.6</project.target.level>
  189. </properties>
  190. <profiles>
  191. <profile>
  192. <id>release</id>
  193. <build>
  194. <plugins>
  195. <plugin>
  196. <inherited>true</inherited>
  197. <groupId>org.apache.maven.plugins</groupId>
  198. <artifactId>maven-javadoc-plugin</artifactId>
  199. <version>2.9.1</version>
  200. <executions>
  201. <execution>
  202. <id>attach-javadoc</id>
  203. <goals>
  204. <goal>jar</goal>
  205. </goals>
  206. </execution>
  207. </executions>
  208. <configuration>
  209. <sourceFileExcludes>
  210. <exclude>org/jfree/demo/**</exclude>
  211. <exclude>org/jfree/xml/**</exclude>
  212. </sourceFileExcludes>
  213. </configuration>
  214. </plugin>
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-source-plugin</artifactId>
  218. <version>2.2.1</version>
  219. <executions>
  220. <execution>
  221. <id>attach-sources</id>
  222. <goals>
  223. <goal>jar-no-fork</goal>
  224. </goals>
  225. </execution>
  226. </executions>
  227. </plugin>
  228. </plugins>
  229. </build>
  230. </profile>
  231. </profiles>
  232. </project>