json-smart-2.2.1.pom 12 KB

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