json-smart-2.4.4.pom 9.1 KB

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