json-smart-2.3.1.pom 9.0 KB

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