accessors-smart-2.3.1.pom 11 KB

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