json-smart-2.3.pom 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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</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.5</maven.compiler.source>
  48. <maven.compiler.target>1.5</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>1.2</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. <!-- <gpg.keyname>8E322ED0</gpg.keyname> -->
  92. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  93. <!-- GPG Key ID to use for signing -->
  94. </properties>
  95. <build>
  96. <plugins>
  97. <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's
  98. necessary to have a <server> with the repositoryId provided or id="remote-repository"
  99. defined in settings.xml (it contains the repository's login, psw) Signing:
  100. mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
  101. -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss
  102. Note normally it uses the defaul key but we can ovveride it by either setting
  103. the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A
  104. on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A
  105. - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
  106. "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
  107. instead; see the issue MGPG-18 -->
  108. <plugin>
  109. <!-- updated on 29/07/2015 -->
  110. <groupId>org.apache.maven.plugins</groupId>
  111. <artifactId>maven-gpg-plugin</artifactId>
  112. <version>1.6</version>
  113. <executions>
  114. <execution>
  115. <id>sign-artifacts</id>
  116. <phase>verify</phase>
  117. <goals>
  118. <goal>sign</goal>
  119. </goals>
  120. </execution>
  121. </executions>
  122. </plugin>
  123. <!-- Publish also javadocs when releasing - required by Sonatype -->
  124. <plugin>
  125. <groupId>org.apache.maven.plugins</groupId>
  126. <artifactId>maven-javadoc-plugin</artifactId>
  127. <executions>
  128. <execution>
  129. <id>attach-javadocs</id>
  130. <goals>
  131. <goal>jar</goal>
  132. </goals>
  133. </execution>
  134. </executions>
  135. </plugin>
  136. <!-- Release Plugin (Update version in POM before/after release, create
  137. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  138. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  139. for instructions on releasing to this project's Sonatype repository -->
  140. <plugin>
  141. <groupId>org.apache.maven.plugins</groupId>
  142. <artifactId>maven-release-plugin</artifactId>
  143. <version>2.5.2</version>
  144. <configuration>
  145. <mavenExecutorId>forked-path</mavenExecutorId>
  146. <arguments>-Psonatype-oss-release</arguments>
  147. <autoVersionSubmodules>false</autoVersionSubmodules>
  148. <useReleaseProfile>false</useReleaseProfile>
  149. <releaseProfiles>release</releaseProfiles>
  150. <goals>deploy</goals>
  151. </configuration>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. </profile>
  156. <profile>
  157. <id>include-sources</id>
  158. <build>
  159. <resources>
  160. <resource>
  161. <targetPath>/</targetPath>
  162. <filtering>true</filtering>
  163. <directory>src/main/java</directory>
  164. <includes>
  165. <include>**/*.java</include>
  166. </includes>
  167. </resource>
  168. </resources>
  169. </build>
  170. </profile>
  171. </profiles>
  172. <build>
  173. <plugins>
  174. <plugin>
  175. <!-- updated on 29/07/2015 -->
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-source-plugin</artifactId>
  178. <version>2.4</version>
  179. <executions>
  180. <execution>
  181. <id>bind-sources</id>
  182. <goals>
  183. <goal>jar-no-fork</goal>
  184. </goals>
  185. </execution>
  186. </executions>
  187. </plugin>
  188. <plugin>
  189. <!-- updated on 29/10/2015 -->
  190. <groupId>org.apache.maven.plugins</groupId>
  191. <artifactId>maven-compiler-plugin</artifactId>
  192. <version>3.3</version>
  193. <configuration>
  194. <encoding>UTF-8</encoding>
  195. <source>1.6</source>
  196. <target>1.6</target>
  197. <excludes>
  198. <exclude>**/.svn/*</exclude>
  199. <exclude>**/.svn</exclude>
  200. </excludes>
  201. </configuration>
  202. </plugin>
  203. <plugin>
  204. <!-- updated on 29/10/2015 -->
  205. <groupId>org.apache.maven.plugins</groupId>
  206. <artifactId>maven-resources-plugin</artifactId>
  207. <version>2.7</version>
  208. <configuration>
  209. <encoding>UTF-8</encoding>
  210. </configuration>
  211. </plugin>
  212. <plugin>
  213. <!-- updated on 29/10/2015 -->
  214. <groupId>org.apache.maven.plugins</groupId>
  215. <artifactId>maven-jar-plugin</artifactId>
  216. <version>2.6</version>
  217. <configuration>
  218. <excludes>
  219. <exclude>**/.svn/*</exclude>
  220. <exclude>**/.svn</exclude>
  221. </excludes>
  222. </configuration>
  223. </plugin>
  224. <plugin>
  225. <!-- updated on 29/07/2015 -->
  226. <groupId>org.apache.maven.plugins</groupId>
  227. <artifactId>maven-javadoc-plugin</artifactId>
  228. <version>2.10.3</version>
  229. <!-- ONLY NEEDED With jdk 1.7+ -->
  230. <configuration>
  231. <failOnError>false</failOnError>
  232. <!-- <additionalparam>-Xdoclint:none</additionalparam> -->
  233. </configuration>
  234. <executions>
  235. <execution>
  236. <id>attach-javadocs</id>
  237. <goals>
  238. <goal>jar</goal>
  239. </goals>
  240. </execution>
  241. </executions>
  242. </plugin>
  243. <plugin>
  244. <groupId>org.apache.felix</groupId>
  245. <artifactId>maven-bundle-plugin</artifactId>
  246. <version>3.3.0</version> <!-- 3.0.0 need java 7+ -->
  247. <extensions>true</extensions>
  248. <configuration>
  249. <instructions>
  250. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  251. <Bundle-Name>${project.artifactId}</Bundle-Name>
  252. <Bundle-Version>${project.version}</Bundle-Version>
  253. <Export-Package>
  254. net.minidev.json, net.minidev.json.annotate,
  255. net.minidev.json.parser,
  256. net.minidev.json.reader,
  257. net.minidev.json.writer
  258. </Export-Package>
  259. </instructions>
  260. </configuration>
  261. </plugin>
  262. </plugins>
  263. </build>
  264. </project>