accessors-smart-2.4.2.pom 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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>accessors-smart</artifactId>
  6. <version>2.4.2</version>
  7. <name>ASM based accessors helper used by json-smart</name>
  8. <description>Java reflect give poor performance on getter setter an constructor calls, accessors-smart use ASM to speed up those calls.
  9. </description>
  10. <packaging>bundle</packaging>
  11. <url>https://urielch.github.io/</url>
  12. <organization>
  13. <name>Chemouni Uriel</name>
  14. <url>https://urielch.github.io/</url>
  15. </organization>
  16. <developers>
  17. <developer>
  18. <id>uriel</id>
  19. <name>Uriel Chemouni</name>
  20. <email>uchemouni@gmail.com</email>
  21. <timezone>GMT+3</timezone>
  22. <roles>
  23. </roles>
  24. </developer>
  25. </developers>
  26. <licenses>
  27. <license>
  28. <name>The Apache Software License, Version 2.0</name>
  29. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  30. <distribution>repo</distribution>
  31. <comments>All files under Apache 2</comments>
  32. </license>
  33. </licenses>
  34. <properties>
  35. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  36. <maven.compiler.source>1.8</maven.compiler.source>
  37. <maven.compiler.target>1.8</maven.compiler.target>
  38. </properties>
  39. <dependencies>
  40. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  41. <dependency>
  42. <groupId>org.junit.jupiter</groupId>
  43. <artifactId>junit-jupiter-api</artifactId>
  44. <version>5.7.1</version>
  45. <scope>test</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.ow2.asm</groupId>
  49. <artifactId>asm</artifactId>
  50. <version>8.0.1</version>
  51. </dependency>
  52. </dependencies>
  53. <!-- updated on 29/10/2015 -->
  54. <!--
  55. <reporting>
  56. <plugins>
  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. </plugins>
  66. </reporting>
  67. -->
  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. <!-- 2021 rsa4096 key-->
  98. <gpg.keyname>53BE126D</gpg.keyname>
  99. <!-- <gpg.keyname>8E322ED0</gpg.keyname> -->
  100. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  101. <!-- GPG Key ID to use for signing -->
  102. </properties>
  103. <build>
  104. <plugins>
  105. <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's
  106. necessary to have a <server> with the repositoryId provided or id="remote-repository"
  107. defined in settings.xml (it contains the repository's login, psw) Signing:
  108. mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
  109. -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss
  110. Note normally it uses the defaul key but we can ovveride it by either setting
  111. the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A
  112. on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A
  113. - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
  114. "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
  115. instead; see the issue MGPG-18 -->
  116. <plugin>
  117. <!-- updated on 29/07/2015 -->
  118. <groupId>org.apache.maven.plugins</groupId>
  119. <artifactId>maven-gpg-plugin</artifactId>
  120. <version>1.6</version>
  121. <executions>
  122. <execution>
  123. <id>sign-artifacts</id>
  124. <phase>verify</phase>
  125. <goals>
  126. <goal>sign</goal>
  127. </goals>
  128. </execution>
  129. </executions>
  130. </plugin>
  131. <!-- Publish also javadocs when releasing - required by Sonatype -->
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-javadoc-plugin</artifactId>
  135. <executions>
  136. <execution>
  137. <id>attach-javadocs</id>
  138. <goals>
  139. <goal>jar</goal>
  140. </goals>
  141. </execution>
  142. </executions>
  143. </plugin>
  144. <!-- Release Plugin (Update version in POM before/after release, create
  145. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  146. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  147. for instructions on releasing to this project's Sonatype repository -->
  148. <plugin>
  149. <groupId>org.apache.maven.plugins</groupId>
  150. <artifactId>maven-release-plugin</artifactId>
  151. <version>2.5.3</version>
  152. <configuration>
  153. <mavenExecutorId>forked-path</mavenExecutorId>
  154. <arguments>-Psonatype-oss-release</arguments>
  155. <autoVersionSubmodules>false</autoVersionSubmodules>
  156. <useReleaseProfile>false</useReleaseProfile>
  157. <releaseProfiles>release</releaseProfiles>
  158. <goals>deploy</goals>
  159. </configuration>
  160. </plugin>
  161. </plugins>
  162. </build>
  163. </profile>
  164. <profile>
  165. <id>include-sources</id>
  166. <build>
  167. <resources>
  168. <resource>
  169. <targetPath>/</targetPath>
  170. <filtering>true</filtering>
  171. <directory>src/main/java</directory>
  172. <includes>
  173. <include>**/*.java</include>
  174. </includes>
  175. </resource>
  176. </resources>
  177. </build>
  178. </profile>
  179. </profiles>
  180. <build>
  181. <plugins>
  182. <plugin>
  183. <!-- updated on 29/07/2015 -->
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-source-plugin</artifactId>
  186. <version>2.4</version>
  187. <executions>
  188. <execution>
  189. <id>bind-sources</id>
  190. <goals>
  191. <goal>jar-no-fork</goal>
  192. </goals>
  193. </execution>
  194. </executions>
  195. </plugin>
  196. <plugin>
  197. <!-- updated on 29/10/2015 -->
  198. <groupId>org.apache.maven.plugins</groupId>
  199. <artifactId>maven-compiler-plugin</artifactId>
  200. <version>3.3</version>
  201. <configuration>
  202. <encoding>UTF-8</encoding>
  203. <source>${maven.compiler.source}</source>
  204. <target>${maven.compiler.target}</target>
  205. <excludes>
  206. <exclude>**/.svn/*</exclude>
  207. <exclude>**/.svn</exclude>
  208. </excludes>
  209. </configuration>
  210. </plugin>
  211. <plugin>
  212. <!-- updated on 29/10/2015 -->
  213. <groupId>org.apache.maven.plugins</groupId>
  214. <artifactId>maven-resources-plugin</artifactId>
  215. <version>2.7</version>
  216. <configuration>
  217. <encoding>UTF-8</encoding>
  218. </configuration>
  219. </plugin>
  220. <plugin>
  221. <!-- updated on 29/10/2015 -->
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-jar-plugin</artifactId>
  224. <version>2.6</version>
  225. <configuration>
  226. <excludes>
  227. <exclude>**/.svn/*</exclude>
  228. <exclude>**/.svn</exclude>
  229. </excludes>
  230. </configuration>
  231. </plugin>
  232. <plugin>
  233. <!-- updated on 29/07/2015 -->
  234. <groupId>org.apache.maven.plugins</groupId>
  235. <artifactId>maven-javadoc-plugin</artifactId>
  236. <version>2.10.4</version>
  237. <!-- ONLY NEEDED With jdk 1.7+ -->
  238. <configuration>
  239. <failOnError>false</failOnError>
  240. <!-- <additionalparam>-Xdoclint:none</additionalparam> -->
  241. </configuration>
  242. <executions>
  243. <execution>
  244. <id>attach-javadocs</id>
  245. <goals>
  246. <goal>jar</goal>
  247. </goals>
  248. </execution>
  249. </executions>
  250. </plugin>
  251. <plugin>
  252. <groupId>org.apache.felix</groupId>
  253. <artifactId>maven-bundle-plugin</artifactId>
  254. <version>3.5.1</version> <!-- 3.0.0 need java 7+ -->
  255. <extensions>true</extensions>
  256. <configuration>
  257. <instructions>
  258. <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
  259. <Bundle-Name>${project.artifactId}</Bundle-Name>
  260. <Bundle-Version>${project.version}</Bundle-Version>
  261. <Export-Package>
  262. net.minidev.asm, net.minidev.asm.ex
  263. </Export-Package>
  264. </instructions>
  265. </configuration>
  266. </plugin>
  267. </plugins>
  268. </build>
  269. </project>