parent-2.0-RC3.pom 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>net.minidev</groupId>
  5. <artifactId>parent</artifactId>
  6. <version>2.0-RC3</version>
  7. <name>Minidev super pom</name>
  8. <description>minidev common properties.</description>
  9. <packaging>pom</packaging>
  10. <url>http://www.minidev.net/</url>
  11. <parent>
  12. <groupId>org.sonatype.oss</groupId>
  13. <artifactId>oss-parent</artifactId>
  14. <version>7</version>
  15. </parent>
  16. <organization>
  17. <name>Chemouni Uriel</name>
  18. <url>http://www.minidev.net/</url>
  19. </organization>
  20. <developers>
  21. <developer>
  22. <id>uriel</id>
  23. <name>Uriel Chemouni</name>
  24. <email>uchemouni@gmail.com</email>
  25. <timezone>GMT+1</timezone>
  26. <roles>
  27. </roles>
  28. </developer>
  29. </developers>
  30. <licenses>
  31. <license>
  32. <name>The Apache Software License, Version 2.0</name>
  33. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  34. <distribution>repo</distribution>
  35. <comments>All files under Apache 2</comments>
  36. </license>
  37. </licenses>
  38. <properties>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <maven.compiler.source>1.5</maven.compiler.source>
  41. <maven.compiler.target>1.5</maven.compiler.target>
  42. </properties>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.felix</groupId>
  47. <artifactId>maven-bundle-plugin</artifactId>
  48. <extensions>true</extensions>
  49. <version>2.3.7</version>
  50. </plugin>
  51. <plugin>
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-source-plugin</artifactId>
  54. <version>2.1.2</version>
  55. <executions>
  56. <execution>
  57. <id>bind-sources</id>
  58. <goals>
  59. <goal>jar</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. <plugin>
  65. <groupId>org.apache.maven.plugins</groupId>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>2.3.2</version>
  68. <configuration>
  69. <encoding>UTF-8</encoding>
  70. <source>1.6</source>
  71. <target>1.6</target>
  72. <excludes>
  73. <exclude>**/.svn/*</exclude>
  74. <exclude>**/.svn</exclude>
  75. </excludes>
  76. </configuration>
  77. </plugin>
  78. <plugin>
  79. <groupId>org.apache.maven.plugins</groupId>
  80. <artifactId>maven-resources-plugin</artifactId>
  81. <version>2.5</version>
  82. <configuration>
  83. <encoding>UTF-8</encoding>
  84. </configuration>
  85. </plugin>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-jar-plugin</artifactId>
  89. <version>2.3.1</version>
  90. <configuration>
  91. <excludes>
  92. <exclude>**/.svn/*</exclude>
  93. <exclude>**/.svn</exclude>
  94. </excludes>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.apache.maven.plugins</groupId>
  99. <artifactId>maven-javadoc-plugin</artifactId>
  100. <version>2.8</version>
  101. <executions>
  102. <execution>
  103. <id>attach-javadocs</id>
  104. <goals>
  105. <goal>jar</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. <scm>
  113. <connection>scm:git:https://code.google.com/p/json-smart.v2/</connection>
  114. <developerConnection>scm:git:https://code.google.com/p/json-smart.v2/</developerConnection>
  115. <url>http://code.google.com/p/json-smart.v2/source/browse</url>
  116. </scm>
  117. <reporting>
  118. <plugins>
  119. <plugin>
  120. <groupId>org.apache.maven.plugins</groupId>
  121. <artifactId>maven-checkstyle-plugin</artifactId>
  122. <version>2.6</version>
  123. <configuration>
  124. <configLocation>config/sun_checks.xml</configLocation>
  125. </configuration>
  126. </plugin>
  127. </plugins>
  128. </reporting>
  129. <modules>
  130. <!-- <module>../commons</module> -->
  131. <!-- <module>../conf</module> -->
  132. <!-- <module>../csv</module> -->
  133. <!-- <module>../db</module> -->
  134. <!-- <module>../html</module> -->
  135. <module>../asm</module>
  136. <module>../json-smart</module>
  137. <!-- <module>../json-smart-mini</module> -->
  138. <!-- <module>../minibase</module> -->
  139. <!-- <module>../minibase-srv</module> -->
  140. <!-- <module>../minibase-gae</module> -->
  141. <!-- <module>../ovh</module> -->
  142. <!-- <module>../types</module> -->
  143. </modules>
  144. <distributionManagement>
  145. <!-- My project's Sonatype repository to be used by the release plugin -->
  146. <repository>
  147. <id>sonatype-nexus-staging</id>
  148. <name>Nexus Release Repository</name>
  149. <url>
  150. http://oss.sonatype.org/service/local/staging/deploy/maven2
  151. </url>
  152. </repository>
  153. <snapshotRepository>
  154. <id>sonatype-nexus-snapshots</id>
  155. <name>My Nexus Snapshots Repository</name>
  156. <url>
  157. https://oss.sonatype.org/content/repositories/snapshots
  158. </url>
  159. </snapshotRepository>
  160. </distributionManagement>
  161. <profiles>
  162. <profile>
  163. <id>release-sign-artifacts</id>
  164. <activation>
  165. <property>
  166. <!-- will be set by the release plugin upon performing mvn release:perform -->
  167. <name>performRelease</name>
  168. <value>true</value>
  169. </property>
  170. </activation>
  171. <properties>
  172. <gpg.keyname>2C8DF6EC</gpg.keyname>
  173. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  174. <!-- GPG Key ID to use for signing -->
  175. </properties>
  176. <build>
  177. <plugins>
  178. <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's
  179. necessary to have a <server> with the repositoryId provided or id="remote-repository"
  180. defined in settings.xml (it contains the repository's login, psw) Signing:
  181. mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
  182. -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss
  183. Note normally it uses the defaul key but we can ovveride it by either setting
  184. the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A
  185. on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A
  186. - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
  187. "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
  188. instead; see the issue MGPG-18 -->
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-gpg-plugin</artifactId>
  192. <!-- <version>1.0-alpha-4</version> -->
  193. <version>1.2</version>
  194. <executions>
  195. <execution>
  196. <id>sign-artifacts</id>
  197. <phase>verify</phase>
  198. <goals>
  199. <goal>sign</goal>
  200. </goals>
  201. </execution>
  202. </executions>
  203. </plugin>
  204. <!-- Publish also javadocs when releasing - required by Sonatype -->
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-javadoc-plugin</artifactId>
  208. <executions>
  209. <execution>
  210. <id>attach-javadocs</id>
  211. <goals>
  212. <goal>jar</goal>
  213. </goals>
  214. </execution>
  215. </executions>
  216. </plugin>
  217. <!-- Release Plugin (Update version in POM before/after release, create
  218. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  219. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  220. for instructions on releasing to this project's Sonatype repository -->
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-release-plugin</artifactId>
  224. <version>2.1</version>
  225. </plugin>
  226. </plugins>
  227. </build>
  228. </profile>
  229. <profile>
  230. <id>include-sources</id>
  231. <build>
  232. <resources>
  233. <resource>
  234. <targetPath>/</targetPath>
  235. <filtering>true</filtering>
  236. <directory>src/main/java</directory>
  237. <includes>
  238. <include>**/*.java</include>
  239. </includes>
  240. </resource>
  241. </resources>
  242. </build>
  243. </profile>
  244. </profiles>
  245. <dependencyManagement>
  246. <dependencies>
  247. <dependency>
  248. <groupId>net.minidev</groupId>
  249. <artifactId>json-smart</artifactId>
  250. <version>${project.version}</version>
  251. </dependency>
  252. <dependency>
  253. <groupId>net.minidev</groupId>
  254. <artifactId>asm</artifactId>
  255. <version>1.0-RC3</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>net.minidev</groupId>
  259. <artifactId>json-smart-mini</artifactId>
  260. <version>${project.version}</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>junit</groupId>
  264. <artifactId>junit</artifactId>
  265. <version>3.8.2</version>
  266. </dependency>
  267. </dependencies>
  268. </dependencyManagement>
  269. </project>