accessors-smart-1.2.pom 11 KB

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