json-smart-2.4.1.pom 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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.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>http://www.minidev.net/</url>
  17. <organization>
  18. <name>Chemouni Uriel</name>
  19. <url>http://www.minidev.net/</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-7</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>org.junit.jupiter</groupId>
  53. <artifactId>junit-jupiter-api</artifactId>
  54. <scope>test</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.minidev</groupId>
  58. <artifactId>accessors-smart</artifactId>
  59. <version>1.3</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. <groupId>org.apache.maven.plugins</groupId>
  128. <artifactId>maven-javadoc-plugin</artifactId>
  129. <executions>
  130. <execution>
  131. <id>attach-javadocs</id>
  132. <goals>
  133. <goal>jar</goal>
  134. </goals>
  135. </execution>
  136. </executions>
  137. </plugin>
  138. <!-- Release Plugin (Update version in POM before/after release, create
  139. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  140. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  141. for instructions on releasing to this project's Sonatype repository -->
  142. <plugin>
  143. <groupId>org.apache.maven.plugins</groupId>
  144. <artifactId>maven-release-plugin</artifactId>
  145. <version>2.5.2</version>
  146. <configuration>
  147. <mavenExecutorId>forked-path</mavenExecutorId>
  148. <arguments>-Psonatype-oss-release</arguments>
  149. <autoVersionSubmodules>false</autoVersionSubmodules>
  150. <useReleaseProfile>false</useReleaseProfile>
  151. <releaseProfiles>release</releaseProfiles>
  152. <goals>deploy</goals>
  153. </configuration>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </profile>
  158. <profile>
  159. <id>include-sources</id>
  160. <build>
  161. <resources>
  162. <resource>
  163. <targetPath>/</targetPath>
  164. <filtering>true</filtering>
  165. <directory>src/main/java</directory>
  166. <includes>
  167. <include>**/*.java</include>
  168. </includes>
  169. </resource>
  170. </resources>
  171. </build>
  172. </profile>
  173. </profiles>
  174. <build>
  175. <plugins>
  176. <plugin>
  177. <!-- updated on 29/07/2015 -->
  178. <groupId>org.apache.maven.plugins</groupId>
  179. <artifactId>maven-source-plugin</artifactId>
  180. <version>2.4</version>
  181. <executions>
  182. <execution>
  183. <id>bind-sources</id>
  184. <goals>
  185. <goal>jar-no-fork</goal>
  186. </goals>
  187. </execution>
  188. </executions>
  189. </plugin>
  190. <plugin>
  191. <!-- updated on 29/10/2015 -->
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-compiler-plugin</artifactId>
  194. <version>3.3</version>
  195. <configuration>
  196. <encoding>UTF-8</encoding>
  197. <source>${maven.compiler.source}</source>
  198. <target>${maven.compiler.target}</target>
  199. <excludes>
  200. <exclude>**/.svn/*</exclude>
  201. <exclude>**/.svn</exclude>
  202. </excludes>
  203. </configuration>
  204. </plugin>
  205. <plugin>
  206. <!-- updated on 29/10/2015 -->
  207. <groupId>org.apache.maven.plugins</groupId>
  208. <artifactId>maven-resources-plugin</artifactId>
  209. <version>2.7</version>
  210. <configuration>
  211. <encoding>UTF-8</encoding>
  212. </configuration>
  213. </plugin>
  214. <plugin>
  215. <!-- updated on 29/10/2015 -->
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-jar-plugin</artifactId>
  218. <version>2.6</version>
  219. <configuration>
  220. <excludes>
  221. <exclude>**/.svn/*</exclude>
  222. <exclude>**/.svn</exclude>
  223. </excludes>
  224. </configuration>
  225. </plugin>
  226. <plugin>
  227. <!-- updated on 29/07/2015 -->
  228. <groupId>org.apache.maven.plugins</groupId>
  229. <artifactId>maven-javadoc-plugin</artifactId>
  230. <version>2.10.4</version>
  231. <!-- ONLY NEEDED With jdk 1.7+ -->
  232. <configuration>
  233. <failOnError>false</failOnError>
  234. <!-- <additionalparam>-Xdoclint:none</additionalparam> -->
  235. </configuration>
  236. <executions>
  237. <execution>
  238. <id>attach-javadocs</id>
  239. <goals>
  240. <goal>jar</goal>
  241. </goals>
  242. </execution>
  243. </executions>
  244. </plugin>
  245. <plugin>
  246. <groupId>org.apache.felix</groupId>
  247. <artifactId>maven-bundle-plugin</artifactId>
  248. <version>3.5.1</version> <!-- 3.0.0 need java 7+ -->
  249. <extensions>true</extensions>
  250. <configuration>
  251. <instructions>
  252. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  253. <Bundle-Name>${project.artifactId}</Bundle-Name>
  254. <Bundle-Version>${project.version}</Bundle-Version>
  255. <Export-Package>
  256. net.minidev.json, net.minidev.json.annotate,
  257. net.minidev.json.parser,
  258. net.minidev.json.reader,
  259. net.minidev.json.writer
  260. </Export-Package>
  261. </instructions>
  262. </configuration>
  263. </plugin>
  264. </plugins>
  265. </build>
  266. </project>