accessors-smart-2.4.6.pom 9.7 KB

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