minidev-parent-2.4.1.pom 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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.4.1</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+3</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.8</maven.compiler.source>
  36. <maven.compiler.target>1.8</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>${maven.compiler.source}</source>
  60. <target>${maven.compiler.target}</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.4</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. <!-- release with: mvn clean deploy -P release-sign-artifacts-->
  142. <profiles>
  143. <profile>
  144. <id>release-sign-artifacts</id>
  145. <activation>
  146. <property>
  147. <!-- will be set by the release plugin upon performing mvn release:perform -->
  148. <name>performRelease</name>
  149. <value>true</value>
  150. </property>
  151. </activation>
  152. <properties>
  153. <!--<gpg.keyname>8E322ED0</gpg.keyname> -->
  154. <!-- 2C8DF6EC Loosed Key -->
  155. <!-- <gpg.keyname>2C8DF6EC</gpg.keyname> -->
  156. <!-- 2021 rsa4096 key-->
  157. <gpg.keyname>53BE126D</gpg.keyname>
  158. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  159. <!-- GPG Key ID to use for signing -->
  160. </properties>
  161. <build>
  162. <plugins>
  163. <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's
  164. necessary to have a <server> with the repositoryId provided or id="remote-repository"
  165. defined in settings.xml (it contains the repository's login, psw) Signing:
  166. mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
  167. -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss
  168. Note normally it uses the defaul key but we can ovveride it by either setting
  169. the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A
  170. on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A
  171. - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
  172. "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
  173. instead; see the issue MGPG-18 -->
  174. <plugin> <!-- updated on 29/07/2015 -->
  175. <groupId>org.apache.maven.plugins</groupId>
  176. <artifactId>maven-gpg-plugin</artifactId>
  177. <version>1.6</version>
  178. <executions>
  179. <execution>
  180. <id>sign-artifacts</id>
  181. <phase>verify</phase>
  182. <goals>
  183. <goal>sign</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. <!-- Publish also javadocs when releasing - required by Sonatype -->
  189. <plugin>
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-javadoc-plugin</artifactId>
  192. <executions>
  193. <execution>
  194. <id>attach-javadocs</id>
  195. <goals>
  196. <goal>jar</goal>
  197. </goals>
  198. </execution>
  199. </executions>
  200. </plugin>
  201. <!-- Release Plugin (Update version in POM before/after release, create
  202. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  203. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  204. for instructions on releasing to this project's Sonatype repository -->
  205. <plugin>
  206. <groupId>org.apache.maven.plugins</groupId>
  207. <artifactId>maven-release-plugin</artifactId>
  208. <version>2.5.3</version>
  209. <configuration>
  210. <mavenExecutorId>forked-path</mavenExecutorId>
  211. <arguments>-Psonatype-oss-release</arguments>
  212. <autoVersionSubmodules>false</autoVersionSubmodules>
  213. <useReleaseProfile>false</useReleaseProfile>
  214. <releaseProfiles>release</releaseProfiles>
  215. <goals>deploy</goals>
  216. </configuration>
  217. </plugin>
  218. </plugins>
  219. </build>
  220. </profile>
  221. <profile>
  222. <id>include-sources</id>
  223. <build>
  224. <resources>
  225. <resource>
  226. <targetPath>/</targetPath>
  227. <filtering>true</filtering>
  228. <directory>src/main/java</directory>
  229. <includes>
  230. <include>**/*.java</include>
  231. </includes>
  232. </resource>
  233. </resources>
  234. </build>
  235. </profile>
  236. </profiles>
  237. <dependencyManagement>
  238. <dependencies>
  239. <dependency>
  240. <groupId>net.minidev</groupId>
  241. <artifactId>json-smart</artifactId>
  242. <version>${project.version}</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>net.minidev</groupId>
  246. <artifactId>json-smart-action</artifactId>
  247. <version>${project.version}</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>net.minidev</groupId>
  251. <artifactId>json-smart-mini</artifactId>
  252. <version>${project.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.junit.jupiter</groupId>
  256. <artifactId>junit-jupiter-api</artifactId>
  257. <version>5.7.1</version>
  258. <scope>test</scope>
  259. </dependency>
  260. <dependency>
  261. <groupId>org.junit.jupiter</groupId>
  262. <artifactId>junit-jupiter-params</artifactId>
  263. <version>5.7.1</version>
  264. <scope>test</scope>
  265. </dependency>
  266. </dependencies>
  267. </dependencyManagement>
  268. </project>