accessors-smart-2.4.3.pom 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. <modelVersion>4.0.0</modelVersion>
  3. <groupId>net.minidev</groupId>
  4. <artifactId>accessors-smart</artifactId>
  5. <version>2.4.3</version>
  6. <name>ASM based accessors helper used by json-smart</name>
  7. <description>Java reflect give poor performance on getter setter an constructor calls, accessors-smart use ASM to speed up those calls.
  8. </description>
  9. <packaging>bundle</packaging>
  10. <url>https://urielch.github.io/</url>
  11. <organization>
  12. <name>Chemouni Uriel</name>
  13. <url>https://urielch.github.io/</url>
  14. </organization>
  15. <developers>
  16. <developer>
  17. <id>uriel</id>
  18. <name>Uriel Chemouni</name>
  19. <email>uchemouni@gmail.com</email>
  20. <timezone>GMT+3</timezone>
  21. </developer>
  22. </developers>
  23. <licenses>
  24. <license>
  25. <name>The Apache Software License, Version 2.0</name>
  26. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  27. <distribution>repo</distribution>
  28. <comments>All files under Apache 2</comments>
  29. </license>
  30. </licenses>
  31. <properties>
  32. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  33. <maven.compiler.source>1.8</maven.compiler.source>
  34. <maven.compiler.target>1.8</maven.compiler.target>
  35. </properties>
  36. <scm>
  37. <connection>scm:git:https://github.com/netplex/json-smart-v2.git</connection>
  38. <developerConnection>scm:git:https://github.com/netplex/json-smart-v2.git</developerConnection>
  39. <url>https://github.com/netplex/json-smart-v2</url>
  40. </scm>
  41. <distributionManagement>
  42. <snapshotRepository>
  43. <id>ossrh</id>
  44. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  45. </snapshotRepository>
  46. <repository>
  47. <id>ossrh</id>
  48. <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
  49. </repository>
  50. </distributionManagement>
  51. <!-- release with: mvn clean deploy -P release-sign-artifacts-->
  52. <profiles>
  53. <profile>
  54. <id>release-sign-artifacts</id>
  55. <activation>
  56. <property>
  57. <!-- will be set by the release plugin upon performing mvn release:perform -->
  58. <name>performRelease</name>
  59. <value>true</value>
  60. </property>
  61. </activation>
  62. <properties>
  63. <!-- 2021 rsa4096 key-->
  64. <gpg.keyname>53BE126D</gpg.keyname>
  65. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  66. </properties>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <!-- updated on 29/07/2015 -->
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-gpg-plugin</artifactId>
  73. <version>1.6</version>
  74. <executions>
  75. <execution>
  76. <id>sign-artifacts</id>
  77. <phase>verify</phase>
  78. <goals>
  79. <goal>sign</goal>
  80. </goals>
  81. </execution>
  82. </executions>
  83. </plugin>
  84. <!-- Publish also javadocs when releasing - required by Sonatype -->
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-javadoc-plugin</artifactId>
  88. <version>3.2.0</version>
  89. <configuration>
  90. <source>8</source>
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <id>attach-javadocs</id>
  95. <goals>
  96. <goal>jar</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <!-- Release Plugin (Update version in POM before/after release, create
  102. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  103. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  104. for instructions on releasing to this project's Sonatype repository -->
  105. <plugin> <!-- updated on 04/04/2021 -->
  106. <groupId>org.apache.maven.plugins</groupId>
  107. <artifactId>maven-release-plugin</artifactId>
  108. <version>3.0.0-M1</version>
  109. <configuration>
  110. <mavenExecutorId>forked-path</mavenExecutorId>
  111. <arguments>-Psonatype-oss-release</arguments>
  112. <autoVersionSubmodules>false</autoVersionSubmodules>
  113. <useReleaseProfile>false</useReleaseProfile>
  114. <releaseProfiles>release</releaseProfiles>
  115. <goals>deploy</goals>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </profile>
  121. <profile>
  122. <id>include-sources</id>
  123. <build>
  124. <resources>
  125. <resource>
  126. <targetPath>/</targetPath>
  127. <filtering>true</filtering>
  128. <directory>src/main/java</directory>
  129. <includes>
  130. <include>**/*.java</include>
  131. </includes>
  132. </resource>
  133. </resources>
  134. </build>
  135. </profile>
  136. </profiles>
  137. <build>
  138. <plugins>
  139. <plugin>
  140. <groupId>org.apache.maven.plugins</groupId>
  141. <artifactId>maven-source-plugin</artifactId>
  142. <version>3.2.1</version>
  143. <executions>
  144. <execution>
  145. <id>bind-sources</id>
  146. <goals>
  147. <goal>jar-no-fork</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <version>3.8.1</version>
  156. <configuration>
  157. <encoding>UTF-8</encoding>
  158. <source>${maven.compiler.source}</source>
  159. <target>${maven.compiler.target}</target>
  160. </configuration>
  161. </plugin>
  162. <plugin>
  163. <groupId>org.apache.maven.plugins</groupId>
  164. <artifactId>maven-resources-plugin</artifactId>
  165. <version>3.2.0</version>
  166. <configuration>
  167. <encoding>UTF-8</encoding>
  168. </configuration>
  169. </plugin>
  170. <plugin>
  171. <groupId>org.apache.maven.plugins</groupId>
  172. <artifactId>maven-jar-plugin</artifactId>
  173. <version>3.2.0</version>
  174. </plugin>
  175. <plugin>
  176. <groupId>org.apache.maven.plugins</groupId>
  177. <artifactId>maven-javadoc-plugin</artifactId>
  178. <version>3.2.0</version>
  179. <!-- ONLY NEEDED With jdk 1.7+ -->
  180. <configuration>
  181. <source>8</source>
  182. <failOnError>false</failOnError>
  183. <!-- <additionalparam>-Xdoclint:none</additionalparam> -->
  184. </configuration>
  185. <executions>
  186. <execution>
  187. <id>attach-javadocs</id>
  188. <goals>
  189. <goal>jar</goal>
  190. </goals>
  191. </execution>
  192. </executions>
  193. </plugin>
  194. <plugin>
  195. <groupId>org.apache.felix</groupId>
  196. <artifactId>maven-bundle-plugin</artifactId>
  197. <version>5.1.2</version> <!-- 3.0.0 need java 7+ -->
  198. <extensions>true</extensions>
  199. <configuration>
  200. <instructions>
  201. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  202. <Bundle-Name>${project.artifactId}</Bundle-Name>
  203. <Bundle-Version>${project.version}</Bundle-Version>
  204. <Import-Package>
  205. org.objectweb.asm;version="[8.0,10)",*
  206. </Import-Package>
  207. <Export-Package>
  208. net.minidev.asm, net.minidev.asm.ex
  209. </Export-Package>
  210. </instructions>
  211. </configuration>
  212. </plugin>
  213. </plugins>
  214. </build>
  215. <dependencies>
  216. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  217. <dependency>
  218. <groupId>org.junit.jupiter</groupId>
  219. <artifactId>junit-jupiter-api</artifactId>
  220. <version>5.7.1</version>
  221. <scope>test</scope>
  222. </dependency>
  223. <dependency>
  224. <groupId>org.ow2.asm</groupId>
  225. <artifactId>asm</artifactId>
  226. <version>8.0.1</version>
  227. </dependency>
  228. </dependencies>
  229. </project>