minidev-parent-2.3.pom 8.3 KB

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