parent-2.0-RC1.pom 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>net.minidev</groupId>
  5. <artifactId>parent</artifactId>
  6. <version>2.0-RC1</version>
  7. <name>Minidev super pom</name>
  8. <description>minidev common properties.</description>
  9. <packaging>pom</packaging>
  10. <url>http://www.minidev.net/</url>
  11. <parent>
  12. <groupId>org.sonatype.oss</groupId>
  13. <artifactId>oss-parent</artifactId>
  14. <version>7</version>
  15. </parent>
  16. <organization>
  17. <name>Chemouni Uriel</name>
  18. <url>http://www.minidev.net/</url>
  19. </organization>
  20. <developers>
  21. <developer>
  22. <id>uriel</id>
  23. <name>Uriel Chemouni</name>
  24. <email>uchemouni@gmail.com</email>
  25. <timezone>GMT+1</timezone>
  26. <roles>
  27. </roles>
  28. </developer>
  29. </developers>
  30. <licenses>
  31. <license>
  32. <name>The Apache Software License, Version 2.0</name>
  33. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  34. <distribution>repo</distribution>
  35. <comments>All files under Apache 2</comments>
  36. </license>
  37. </licenses>
  38. <properties>
  39. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  40. <maven.compiler.source>1.5</maven.compiler.source>
  41. <maven.compiler.target>1.5</maven.compiler.target>
  42. </properties>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.apache.maven.plugins</groupId>
  47. <artifactId>maven-source-plugin</artifactId>
  48. <version>2.1.2</version>
  49. <executions>
  50. <execution>
  51. <id>bind-sources</id>
  52. <goals>
  53. <goal>jar</goal>
  54. </goals>
  55. </execution>
  56. </executions>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>2.3.2</version>
  62. <configuration>
  63. <encoding>UTF-8</encoding>
  64. <source>1.6</source>
  65. <target>1.6</target>
  66. <excludes>
  67. <exclude>**/.svn/*</exclude>
  68. <exclude>**/.svn</exclude>
  69. </excludes>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-resources-plugin</artifactId>
  75. <version>2.5</version>
  76. <configuration>
  77. <encoding>UTF-8</encoding>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-jar-plugin</artifactId>
  83. <version>2.3.1</version>
  84. <configuration>
  85. <excludes>
  86. <exclude>**/.svn/*</exclude>
  87. <exclude>**/.svn</exclude>
  88. </excludes>
  89. </configuration>
  90. </plugin>
  91. <plugin>
  92. <groupId>org.apache.maven.plugins</groupId>
  93. <artifactId>maven-javadoc-plugin</artifactId>
  94. <version>2.8</version>
  95. <executions>
  96. <execution>
  97. <id>attach-javadocs</id>
  98. <goals>
  99. <goal>jar</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. <scm>
  107. <connection>scm:svn:http://json-smart.googlecode.com/svn/branches/${project.version}/</connection>
  108. <developerConnection>scm:svn:https://json-smart.googlecode.com/svn/branches/${project.version}/</developerConnection>
  109. <url>http://json-smart.googlecode.com/svn/branches/${project.version}/</url>
  110. </scm>
  111. <reporting>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.apache.maven.plugins</groupId>
  115. <artifactId>maven-checkstyle-plugin</artifactId>
  116. <version>2.6</version>
  117. <configuration>
  118. <configLocation>config/sun_checks.xml</configLocation>
  119. </configuration>
  120. </plugin>
  121. </plugins>
  122. </reporting>
  123. <modules>
  124. <!-- <module>../commons</module> -->
  125. <!-- <module>../conf</module> -->
  126. <!-- <module>../csv</module> -->
  127. <!-- <module>../db</module> -->
  128. <!-- <module>../html</module> -->
  129. <module>../asm</module>
  130. <module>../json-smart</module>
  131. <!-- <module>../json-smart-mini</module> -->
  132. <!-- <module>../minibase</module> -->
  133. <!-- <module>../minibase-srv</module> -->
  134. <!-- <module>../minibase-gae</module> -->
  135. <!-- <module>../ovh</module> -->
  136. <!-- <module>../types</module> -->
  137. </modules>
  138. <distributionManagement>
  139. <!-- My project's Sonatype repository to be used by the release plugin -->
  140. <repository>
  141. <id>sonatype-nexus-staging</id>
  142. <name>Nexus Release Repository</name>
  143. <url>
  144. http://oss.sonatype.org/service/local/staging/deploy/maven2
  145. </url>
  146. </repository>
  147. <snapshotRepository>
  148. <id>sonatype-nexus-snapshots</id>
  149. <name>My Nexus Snapshots Repository</name>
  150. <url>
  151. https://oss.sonatype.org/content/repositories/snapshots
  152. </url>
  153. </snapshotRepository>
  154. </distributionManagement>
  155. <profiles>
  156. <profile>
  157. <id>release-sign-artifacts</id>
  158. <activation>
  159. <property>
  160. <!-- will be set by the release plugin upon performing mvn release:perform -->
  161. <name>performRelease</name>
  162. <value>true</value>
  163. </property>
  164. </activation>
  165. <properties>
  166. <gpg.keyname>2C8DF6EC</gpg.keyname>
  167. <!-- <gpg.keyname>Uriel Chemouni (dev) <uchemouni@gmail.com></gpg.keyname> -->
  168. <!-- GPG Key ID to use for signing -->
  169. </properties>
  170. <build>
  171. <plugins>
  172. <!-- Enable signing of the artifacts For gpg:sign-and-deploy-file it's
  173. necessary to have a <server> with the repositoryId provided or id="remote-repository"
  174. defined in settings.xml (it contains the repository's login, psw) Signing:
  175. mvn gpg:sign-and-deploy-file -DpomFile=target/myapp-1.0.pom -Dfile=target/myapp-1.0.jar
  176. -Durl=http://oss.sonatype.org/content/repositories/malyvelky/ -DrepositoryId=sonatype_oss
  177. Note normally it uses the defaul key but we can ovveride it by either setting
  178. the property gpg.keyname (done in this POM) or by providing -Dkeyname=66AE163A
  179. on the command line. OR directly w/ gpg (remove space in - -): gpg -u 66AE163A
  180. - -sign - -detach-sign -a target/dbunit-embeddedderby-parenttest.jar Note:
  181. "mvn gpg:sign" results in NPE with v 1.o-a.-4, use "mvn package gpg:sign"
  182. instead; see the issue MGPG-18 -->
  183. <plugin>
  184. <groupId>org.apache.maven.plugins</groupId>
  185. <artifactId>maven-gpg-plugin</artifactId>
  186. <!-- <version>1.0-alpha-4</version> -->
  187. <version>1.2</version>
  188. <executions>
  189. <execution>
  190. <id>sign-artifacts</id>
  191. <phase>verify</phase>
  192. <goals>
  193. <goal>sign</goal>
  194. </goals>
  195. </execution>
  196. </executions>
  197. </plugin>
  198. <!-- Publish also javadocs when releasing - required by Sonatype -->
  199. <plugin>
  200. <groupId>org.apache.maven.plugins</groupId>
  201. <artifactId>maven-javadoc-plugin</artifactId>
  202. <executions>
  203. <execution>
  204. <id>attach-javadocs</id>
  205. <goals>
  206. <goal>jar</goal>
  207. </goals>
  208. </execution>
  209. </executions>
  210. </plugin>
  211. <!-- Release Plugin (Update version in POM before/after release, create
  212. tag, deploy) to try: mvn release:prepare -DdryRun=true && mvn release:clean
  213. to perform: mvn release:prepare release:perform Read http://nexus.sonatype.org/oss-repository-hosting.html#3
  214. for instructions on releasing to this project's Sonatype repository -->
  215. <plugin>
  216. <groupId>org.apache.maven.plugins</groupId>
  217. <artifactId>maven-release-plugin</artifactId>
  218. <version>2.1</version>
  219. </plugin>
  220. </plugins>
  221. </build>
  222. </profile>
  223. <profile>
  224. <id>include-sources</id>
  225. <build>
  226. <resources>
  227. <resource>
  228. <targetPath>/</targetPath>
  229. <filtering>true</filtering>
  230. <directory>src/main/java</directory>
  231. <includes>
  232. <include>**/*.java</include>
  233. </includes>
  234. </resource>
  235. </resources>
  236. </build>
  237. </profile>
  238. </profiles>
  239. <dependencyManagement>
  240. <dependencies>
  241. <!-- <dependency> -->
  242. <!-- <groupId>net.minidev</groupId> -->
  243. <!-- <artifactId>commons</artifactId> -->
  244. <!-- <version>${project.version}</version> -->
  245. <!-- </dependency> -->
  246. <!-- <dependency> -->
  247. <!-- <groupId>net.minidev</groupId> -->
  248. <!-- <artifactId>conf</artifactId> -->
  249. <!-- <version>${project.version}</version> -->
  250. <!-- </dependency> -->
  251. <!-- <dependency> -->
  252. <!-- <groupId>net.minidev</groupId> -->
  253. <!-- <artifactId>csv</artifactId> -->
  254. <!-- <version>${project.version}</version> -->
  255. <!-- </dependency> -->
  256. <!-- <dependency> -->
  257. <!-- <groupId>net.minidev</groupId> -->
  258. <!-- <artifactId>db</artifactId> -->
  259. <!-- <version>${project.version}</version> -->
  260. <!-- </dependency> -->
  261. <dependency>
  262. <groupId>net.minidev</groupId>
  263. <artifactId>json-smart</artifactId>
  264. <version>${project.version}</version>
  265. </dependency>
  266. <dependency>
  267. <groupId>net.minidev</groupId>
  268. <artifactId>asm</artifactId>
  269. <version>1.0-RC1</version>
  270. </dependency>
  271. <dependency>
  272. <groupId>net.minidev</groupId>
  273. <artifactId>json-smart-mini</artifactId>
  274. <version>${project.version}</version>
  275. </dependency>
  276. <!-- <dependency> -->
  277. <!-- <groupId>net.minidev</groupId> -->
  278. <!-- <artifactId>html</artifactId> -->
  279. <!-- <version>${project.version}</version> -->
  280. <!-- </dependency> -->
  281. <!-- <dependency> -->
  282. <!-- <groupId>net.minidev</groupId> -->
  283. <!-- <artifactId>minibase</artifactId> -->
  284. <!-- <version>${project.version}</version> -->
  285. <!-- </dependency> -->
  286. <!-- <dependency> -->
  287. <!-- <groupId>net.minidev</groupId> -->
  288. <!-- <artifactId>minibase-srv</artifactId> -->
  289. <!-- <version>${project.version}</version> -->
  290. <!-- </dependency> -->
  291. <!-- <dependency> -->
  292. <!-- <groupId>net.minidev</groupId> -->
  293. <!-- <artifactId>ovh</artifactId> -->
  294. <!-- <version>${project.version}</version> -->
  295. <!-- </dependency> -->
  296. <!-- <dependency> -->
  297. <!-- <groupId>net.minidev</groupId> -->
  298. <!-- <artifactId>types</artifactId> -->
  299. <!-- <version>${project.version}</version> -->
  300. <!-- </dependency> -->
  301. <dependency>
  302. <groupId>junit</groupId>
  303. <artifactId>junit</artifactId>
  304. <version>3.8.2</version>
  305. </dependency>
  306. <dependency>
  307. <groupId>net.sourceforge.nekohtml</groupId>
  308. <artifactId>nekohtml</artifactId>
  309. <version>1.9.14</version>
  310. </dependency>
  311. <dependency>
  312. <!-- http://mvnrepository.com/artifact/org.apache.httpcomponents -->
  313. <groupId>org.apache.httpcomponents</groupId>
  314. <artifactId>httpclient</artifactId>
  315. <version>4.1</version>
  316. </dependency>
  317. <dependency>
  318. <groupId>mysql</groupId>
  319. <artifactId>mysql-connector-java</artifactId>
  320. <version>5.1.15</version>
  321. </dependency>
  322. <dependency>
  323. <groupId>commons-io</groupId>
  324. <artifactId>commons-io</artifactId>
  325. <version>2.0.1</version>
  326. </dependency>
  327. <dependency>
  328. <groupId>c3p0</groupId>
  329. <artifactId>c3p0</artifactId>
  330. <version>0.9.1.2</version>
  331. </dependency>
  332. <dependency>
  333. <groupId>org.springframework</groupId>
  334. <artifactId>spring-jdbc</artifactId>
  335. <version>3.0.5.RELEASE</version>
  336. </dependency>
  337. </dependencies>
  338. </dependencyManagement>
  339. </project>