minidev-parent-2.4.2.pom 8.4 KB

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