1
0

pom.xml 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828
  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. <parent>
  5. <groupId>org.jboss</groupId>
  6. <artifactId>jboss-parent</artifactId>
  7. <version>9</version>
  8. </parent>
  9. <groupId>org.hibernate</groupId>
  10. <artifactId>hibernate-tools</artifactId>
  11. <version>4.3.1.Final</version>
  12. <packaging>jar</packaging>
  13. <name>Hibernate Tools</name>
  14. <description>Hibernate Tools</description>
  15. <url>http://www.hibernate.org/subprojects/tools.html</url>
  16. <issueManagement>
  17. <system>JIRA</system>
  18. <url>http://hibernate.onjira.com/browse/HBX</url>
  19. </issueManagement>
  20. <scm>
  21. <connection>scm:git:git://github.com/hibernate/hibernate-tools.git</connection>
  22. <developerConnection>scm:git:git@github.com:hibernate/hibernate-tools.git</developerConnection>
  23. <url>http://github.com/hibernate/hibernate-tools</url>
  24. </scm>
  25. <organization>
  26. <name>Hibernate</name>
  27. <url>http://www.hibernate.org</url>
  28. </organization>
  29. <licenses>
  30. <license>
  31. <name>GNU Lesser General Public License</name>
  32. <url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
  33. </license>
  34. </licenses>
  35. <developers>
  36. <developer>
  37. <id>maxandersen</id>
  38. <name>Max Andersen</name>
  39. <email>max@hibernate.org</email>
  40. <url>http://in.relation.to/Bloggers/Max</url>
  41. </developer>
  42. </developers>
  43. <properties>
  44. <hibernateversion>4.3.10.Final</hibernateversion>
  45. <hibernateJpaversion>1.0.0.Final</hibernateJpaversion>
  46. <hibernateCommonsAnnotationsVersion>4.0.5.Final</hibernateCommonsAnnotationsVersion>
  47. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  48. <!-- Default settings for Database connection; to be overridden in db specific profiles -->
  49. <db.dialect>org.hibernate.dialect.HSQLDialect</db.dialect>
  50. <jdbc.driver>org.hsqldb.jdbcDriver</jdbc.driver>
  51. <jdbc.url>jdbc:hsqldb:testdb/hsqldb;shutdown=true</jdbc.url>
  52. <jdbc.user>sa</jdbc.user>
  53. <jdbc.pass/>
  54. <jdbc.driver.groupId>hsqldb</jdbc.driver.groupId>
  55. <jdbc.driver.artifactId>hsqldb</jdbc.driver.artifactId>
  56. <jdbc.driver.jdbc.driver.version>1.8.0.10</jdbc.driver.jdbc.driver.version>
  57. <!-- End of settings for Database connection -->
  58. </properties>
  59. <!--
  60. Graphviz should be installed for junit tests and it's bin dir should
  61. be in classpath
  62. -->
  63. <!-- TODO: is it possible to automate this with maven? -->
  64. <dependencies>
  65. <dependency>
  66. <groupId>org.hibernate</groupId>
  67. <artifactId>hibernate-core</artifactId>
  68. <version>${hibernateversion}</version>
  69. <scope>compile</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.hibernate.common</groupId>
  73. <artifactId>hibernate-commons-annotations</artifactId>
  74. <version>${hibernateCommonsAnnotationsVersion}</version>
  75. <scope>compile</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.hibernate</groupId>
  79. <artifactId>hibernate-entitymanager</artifactId>
  80. <version>${hibernateversion}</version>
  81. <scope>compile</scope>
  82. </dependency>
  83. <dependency>
  84. <groupId>org.hibernate.javax.persistence</groupId>
  85. <artifactId>hibernate-jpa-2.1-api</artifactId>
  86. <version>${hibernateJpaversion}</version>
  87. <scope>compile</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>javax.transaction</groupId>
  91. <artifactId>jta</artifactId>
  92. <version>1.1</version>
  93. <scope>compile</scope>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-logging</groupId>
  97. <artifactId>commons-logging</artifactId>
  98. <version>1.1</version>
  99. <scope>compile</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>junit</groupId>
  103. <artifactId>junit</artifactId>
  104. <version>3.8.1</version>
  105. <scope>test</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>ant</groupId>
  109. <artifactId>ant</artifactId>
  110. <version>1.6.5</version>
  111. <scope>compile</scope>
  112. </dependency>
  113. <dependency>
  114. <groupId>ant</groupId>
  115. <artifactId>ant-launcher</artifactId>
  116. <version>1.6.5</version>
  117. <scope>test</scope>
  118. </dependency>
  119. <dependency>
  120. <groupId>org.slf4j</groupId>
  121. <artifactId>slf4j-log4j12</artifactId>
  122. <version>1.5.8</version>
  123. <scope>test</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>freemarker</groupId>
  127. <artifactId>freemarker</artifactId>
  128. <version>2.3.8</version>
  129. <scope>compile</scope>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.hibernate</groupId>
  133. <artifactId>jtidy</artifactId>
  134. <version>r8-20060801</version>
  135. <scope>compile</scope>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.eclipse.tycho</groupId>
  139. <artifactId>org.eclipse.jdt.core</artifactId>
  140. <version>3.9.1.v20130905-0837</version>
  141. <scope>compile</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.eclipse</groupId>
  145. <artifactId>text</artifactId>
  146. <version>3.3.0-v20070606-0010</version>
  147. <scope>compile</scope>
  148. </dependency>
  149. <dependency>
  150. <groupId>org.eclipse.core</groupId>
  151. <artifactId>runtime</artifactId>
  152. <version>3.9.0-v20130326-1255</version>
  153. <scope>runtime</scope>
  154. </dependency>
  155. <dependency>
  156. <groupId>org.eclipse.equinox</groupId>
  157. <artifactId>common</artifactId>
  158. <version>3.6.200-v20130402-1505</version>
  159. <scope>runtime</scope>
  160. </dependency>
  161. <dependency>
  162. <groupId>jaxen</groupId>
  163. <artifactId>jaxen</artifactId>
  164. <version>1.1</version>
  165. <scope>test</scope>
  166. </dependency>
  167. <!-- <dependency>
  168. <groupId>com.sun</groupId>
  169. <artifactId>tools</artifactId>
  170. <version>1.5.0_12</version>
  171. <scope>system</scope>
  172. <systemPath>${java.home}/../lib/tools.jar</systemPath>
  173. </dependency> -->
  174. <dependency>
  175. <groupId>mysql</groupId>
  176. <artifactId>mysql-connector-java</artifactId>
  177. <version>5.1.18</version>
  178. <scope>test</scope>
  179. </dependency>
  180. <dependency>
  181. <groupId>${jdbc.driver.groupId}</groupId>
  182. <artifactId>${jdbc.driver.artifactId}</artifactId>
  183. <version>${jdbc.driver.jdbc.driver.version}</version>
  184. <scope>test</scope>
  185. </dependency>
  186. <dependency>
  187. <groupId>antlr</groupId>
  188. <artifactId>antlr</artifactId>
  189. <version>2.7.7</version>
  190. <type>jar</type>
  191. <scope>compile</scope>
  192. </dependency>
  193. <dependency>
  194. <groupId>commons-collections</groupId>
  195. <artifactId>commons-collections</artifactId>
  196. <version>3.2.1</version>
  197. </dependency>
  198. <dependency>
  199. <groupId>org.slf4j</groupId>
  200. <artifactId>slf4j-api</artifactId>
  201. <version>1.5.8</version>
  202. </dependency>
  203. </dependencies>
  204. <build>
  205. <defaultGoal>install</defaultGoal>
  206. <sourceDirectory>./src/java</sourceDirectory>
  207. <testSourceDirectory>./src/test</testSourceDirectory>
  208. <resources>
  209. <resource>
  210. <directory>src/templates</directory>
  211. </resource>
  212. <resource>
  213. <directory>src/java</directory>
  214. <includes>
  215. <include>org/hibernate/*.dtd</include>
  216. <include>org/hibernate/**/*.properties</include>
  217. </includes>
  218. </resource>
  219. </resources>
  220. <testResources>
  221. <testResource>
  222. <filtering>true</filtering>
  223. <directory>src/testresources</directory>
  224. <includes>
  225. <include>**/*.properties</include>
  226. </includes>
  227. </testResource>
  228. </testResources>
  229. <plugins>
  230. <plugin>
  231. <groupId>org.apache.maven.plugins</groupId>
  232. <artifactId>maven-surefire-plugin</artifactId>
  233. <configuration>
  234. <excludes>
  235. <!-- Tests that don't apply for HSQLDB -->
  236. <exclude>org/hibernate/tool/test/jdbc2cfg/OracleCompositeIdOrderTest.java</exclude>
  237. <exclude>org/hibernate/tool/test/jdbc2cfg/OracleViewsTest.java</exclude>
  238. <exclude>org/hibernate/tool/test/jdbc2cfg/identity/H2IdentityTest.java</exclude>
  239. <exclude>org/hibernate/tool/test/jdbc2cfg/identity/HSQLIdentityTest.java</exclude>
  240. <exclude>org/hibernate/tool/test/jdbc2cfg/identity/MySQLIdentityTest.java</exclude>
  241. <exclude>org/hibernate/tool/test/jdbc2cfg/identity/SQLServerIdentityTest.java</exclude>
  242. <!-- HSQLDB 1.8.0.2 does not support multiple schemas -->
  243. <exclude>org/hibernate/tool/test/jdbc2cfg/TernarySchemaTest.java</exclude>
  244. </excludes>
  245. <includes>
  246. <include>**/*Test.java</include>
  247. </includes>
  248. </configuration>
  249. </plugin>
  250. <plugin>
  251. <artifactId>maven-clean-plugin</artifactId>
  252. <configuration>
  253. <filesets>
  254. <fileset>
  255. <directory>testdb</directory>
  256. </fileset>
  257. <fileset>
  258. <directory>test_output</directory>
  259. </fileset>
  260. <fileset>
  261. <directory>toolstestoutput</directory>
  262. </fileset>
  263. </filesets>
  264. </configuration>
  265. </plugin>
  266. <plugin>
  267. <groupId>org.codehaus.mojo</groupId>
  268. <artifactId>properties-maven-plugin</artifactId>
  269. <version>1.0-alpha-2</version>
  270. <executions>
  271. <execution>
  272. <phase>generate-resources</phase>
  273. <goals>
  274. <goal>write-active-profile-properties</goal>
  275. </goals>
  276. <configuration>
  277. <outputFile>
  278. ${project.build.directory}/test-classes/hibernate.properties
  279. </outputFile>
  280. </configuration>
  281. </execution>
  282. </executions>
  283. </plugin>
  284. <plugin>
  285. <groupId>org.apache.maven.plugins</groupId>
  286. <artifactId>maven-antrun-plugin</artifactId>
  287. <executions>
  288. <execution>
  289. <phase>process-resources</phase>
  290. <goals>
  291. <goal>run</goal>
  292. </goals>
  293. <configuration>
  294. <tasks>
  295. <echo></echo>
  296. <copy file="${project.build.directory}/test-classes/hibernate.properties" tofile="${project.build.directory}/test-classes/log4j.properties" />
  297. </tasks>
  298. </configuration>
  299. </execution>
  300. </executions>
  301. </plugin>
  302. <plugin>
  303. <groupId>org.codehaus.mojo</groupId>
  304. <artifactId>build-helper-maven-plugin</artifactId>
  305. <executions>
  306. <execution>
  307. <id>add-test-source</id>
  308. <phase>generate-sources</phase>
  309. <goals>
  310. <goal>add-test-source</goal>
  311. </goals>
  312. <configuration>
  313. <sources>
  314. <source>./src/testsupport</source>
  315. </sources>
  316. </configuration>
  317. </execution>
  318. <execution>
  319. <id>add-test-resource</id>
  320. <phase>generate-resources</phase>
  321. <goals>
  322. <goal>add-test-resource</goal>
  323. </goals>
  324. <configuration>
  325. <resources>
  326. <resource>
  327. <directory>./src/test</directory>
  328. <includes>
  329. <include>**/*.xml</include>
  330. </includes>
  331. </resource>
  332. <resource>
  333. <directory>./src/testoutputdependent</directory>
  334. </resource>
  335. <resource>
  336. <directory>./src/testsupport</directory>
  337. </resource>
  338. </resources>
  339. </configuration>
  340. </execution>
  341. </executions>
  342. </plugin>
  343. <plugin>
  344. <groupId>org.apache.maven.plugins</groupId>
  345. <artifactId>maven-compiler-plugin</artifactId>
  346. <configuration>
  347. <includes>
  348. <include>**/*.java</include>
  349. </includes>
  350. <source>1.5</source>
  351. <target>1.5</target>
  352. </configuration>
  353. </plugin>
  354. <plugin>
  355. <groupId>org.apache.maven.plugins</groupId>
  356. <artifactId>maven-jar-plugin</artifactId>
  357. <configuration>
  358. <archive>
  359. <!-- <manifestEntries>
  360. <Implementation-Title>${project.name}</Implementation-Title>
  361. <Implementation-version>${project.version}</Implementation-version>
  362. <Implementation-Vendor>hibernate.org</Implementation-Vendor>
  363. <Implementation-Vendor-Id>hibernate.org
  364. </Implementation-Vendor-Id>
  365. <Implementation-URL>http://www.hibernate.org/subprojects/tools.html
  366. </Implementation-URL>
  367. </manifestEntries> -->
  368. </archive>
  369. </configuration>
  370. </plugin>
  371. <plugin>
  372. <groupId>org.apache.maven.plugins</groupId>
  373. <artifactId>maven-javadoc-plugin</artifactId>
  374. <configuration>
  375. <stylesheetfile>${basedir}/src/javadoc/jdstyle.css</stylesheetfile>
  376. </configuration>
  377. </plugin>
  378. <plugin>
  379. <groupId>org.apache.maven.plugins</groupId>
  380. <artifactId>maven-assembly-plugin</artifactId>
  381. <configuration>
  382. <descriptors>
  383. <descriptor>./src/assembly/dist.xml</descriptor>
  384. </descriptors>
  385. </configuration>
  386. </plugin>
  387. </plugins>
  388. <pluginManagement>
  389. <plugins>
  390. <!--TODO TEXT. This plugin's configuration is used in m2e only.-->
  391. <plugin>
  392. <groupId>org.eclipse.m2e</groupId>
  393. <artifactId>lifecycle-mapping</artifactId>
  394. <version>1.0.0</version>
  395. <configuration>
  396. <lifecycleMappingMetadata>
  397. <pluginExecutions>
  398. <pluginExecution>
  399. <pluginExecutionFilter>
  400. <groupId>
  401. org.apache.maven.plugins
  402. </groupId>
  403. <artifactId>
  404. maven-antrun-plugin
  405. </artifactId>
  406. <versionRange>
  407. [1.4,)
  408. </versionRange>
  409. <goals>
  410. <goal>run</goal>
  411. </goals>
  412. </pluginExecutionFilter>
  413. <action>
  414. <ignore></ignore>
  415. </action>
  416. </pluginExecution>
  417. <pluginExecution>
  418. <pluginExecutionFilter>
  419. <groupId>
  420. org.codehaus.mojo
  421. </groupId>
  422. <artifactId>
  423. build-helper-maven-plugin
  424. </artifactId>
  425. <versionRange>
  426. [1.5,)
  427. </versionRange>
  428. <goals>
  429. <goal>
  430. add-test-resource
  431. </goal>
  432. </goals>
  433. </pluginExecutionFilter>
  434. <action>
  435. <ignore></ignore>
  436. </action>
  437. </pluginExecution>
  438. <pluginExecution>
  439. <pluginExecutionFilter>
  440. <groupId>
  441. org.codehaus.mojo
  442. </groupId>
  443. <artifactId>
  444. properties-maven-plugin
  445. </artifactId>
  446. <versionRange>
  447. [1.0-alpha-2,)
  448. </versionRange>
  449. <goals>
  450. <goal>
  451. write-active-profile-properties
  452. </goal>
  453. </goals>
  454. </pluginExecutionFilter>
  455. <action>
  456. <ignore></ignore>
  457. </action>
  458. </pluginExecution>
  459. </pluginExecutions>
  460. </lifecycleMappingMetadata>
  461. </configuration>
  462. </plugin>
  463. </plugins>
  464. </pluginManagement>
  465. </build>
  466. <repositories>
  467. <!--
  468. To build Hibernate Tools Core you have to add the JBoss Maven
  469. repository to your settings.xml See also
  470. http://community.jboss.org/wiki/ContributingtoHibernateSearch
  471. -->
  472. </repositories>
  473. <profiles>
  474. <!-- =============================== -->
  475. <!-- Database profiles -->
  476. <!-- =============================== -->
  477. <!-- HSQLDB is the default -->
  478. <profile>
  479. <id>hsqldb</id>
  480. <properties>
  481. <db.dialect>org.hibernate.dialect.HSQLDialect</db.dialect>
  482. <jdbc.driver>org.hsqldb.jdbcDriver</jdbc.driver>
  483. <jdbc.url>jdbc:hsqldb:testdb/hsqldb;shutdown=true</jdbc.url>
  484. <jdbc.user>sa</jdbc.user>
  485. <jdbc.pass />
  486. <jdbc.driver.groupId>hsqldb</jdbc.driver.groupId>
  487. <jdbc.driver.artifactId>hsqldb</jdbc.driver.artifactId>
  488. <jdbc.driver.jdbc.driver.version>1.8.0.2</jdbc.driver.jdbc.driver.version>
  489. </properties>
  490. </profile>
  491. <profile>
  492. <id>h2</id>
  493. <properties>
  494. <jdbc.driver.groupId>com.h2database</jdbc.driver.groupId>
  495. <jdbc.driver.artifactId>h2</jdbc.driver.artifactId>
  496. <db.dialect>org.hibernate.dialect.H2Dialect</db.dialect>
  497. <jdbc.driver.jdbc.driver.version>1.2.124</jdbc.driver.jdbc.driver.version>
  498. <jdbc.driver>org.h2.Driver</jdbc.driver>
  499. <jdbc.url>jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE</jdbc.url>
  500. <jdbc.user>sa</jdbc.user>
  501. <jdbc.pass />
  502. <jdbc.isolation />
  503. </properties>
  504. </profile>
  505. <!--
  506. ###################################################################
  507. Profiles naming db instances in the Red Hat QA/QE lab First, those
  508. with OSS drivers
  509. ###################################################################
  510. -->
  511. <!-- The MySQL 5 test envionment -->
  512. <profile>
  513. <id>mysql50</id>
  514. <properties>
  515. <jdbc.driver.groupId>mysql</jdbc.driver.groupId>
  516. <jdbc.driver.artifactId>mysql-connector-java</jdbc.driver.artifactId>
  517. <jdbc.driver.jdbc.driver.version>5.0.5</jdbc.driver.jdbc.driver.version>
  518. <db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
  519. <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
  520. <jdbc.url>jdbc:mysql://vmg08.mw.lab.eng.bos.redhat.com/hibbrtru</jdbc.url>
  521. <jdbc.user>hibbrtru</jdbc.user>
  522. <jdbc.pass>hibbrtru</jdbc.pass>
  523. <jdbc.isolation />
  524. </properties>
  525. </profile>
  526. <!-- The MySQL 5.1 test envionment -->
  527. <profile>
  528. <id>mysql51</id>
  529. <properties>
  530. <jdbc.driver.groupId>mysql</jdbc.driver.groupId>
  531. <jdbc.driver.artifactId>mysql-connector-java</jdbc.driver.artifactId>
  532. <jdbc.driver.jdbc.driver.version>5.0.5</jdbc.driver.jdbc.driver.version>
  533. <db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
  534. <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
  535. <jdbc.url>jdbc:mysql://vmg02.mw.lab.eng.bos.redhat.com/hibbrtru</jdbc.url>
  536. <jdbc.user>hibbrtru</jdbc.user>
  537. <jdbc.pass>hibbrtru</jdbc.pass>
  538. <jdbc.isolation />
  539. </properties>
  540. </profile>
  541. <!-- The MySQL 5.1 Cluster test envionment -->
  542. <profile>
  543. <id>mysql51-cluster</id>
  544. <properties>
  545. <jdbc.driver.groupId>mysql</jdbc.driver.groupId>
  546. <jdbc.driver.artifactId>mysql-connector-java</jdbc.driver.artifactId>
  547. <jdbc.driver.jdbc.driver.version>5.1.8</jdbc.driver.jdbc.driver.version>
  548. <db.dialect>org.hibernate.dialect.MySQL5Dialect</db.dialect>
  549. <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
  550. <jdbc.url>jdbc:mysql:loadbalance://dev61.qa.atl2.redhat.com:3306,dev62.qa.atl2.redhat.com:3306/hibbrtru
  551. </jdbc.url>
  552. <jdbc.user>hibbrtru</jdbc.user>
  553. <jdbc.pass>hibbrtru</jdbc.pass>
  554. <jdbc.isolation />
  555. </properties>
  556. </profile>
  557. <!-- The PostgreSQL 8.2.4 test envionment -->
  558. <profile>
  559. <id>postgresql82</id>
  560. <properties>
  561. <jdbc.driver.groupId>postgresql</jdbc.driver.groupId>
  562. <jdbc.driver.artifactId>postgresql</jdbc.driver.artifactId>
  563. <jdbc.driver.jdbc.driver.version>8.2-504.jdbc3</jdbc.driver.jdbc.driver.version>
  564. <db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
  565. <jdbc.driver>org.postgresql.Driver</jdbc.driver>
  566. <jdbc.url>jdbc:postgresql://vmg01.mw.lab.eng.bos.redhat.com:5432:hibbrtru</jdbc.url>
  567. <jdbc.user>hibbrtru</jdbc.user>
  568. <jdbc.pass>hibbrtru</jdbc.pass>
  569. <jdbc.isolation />
  570. </properties>
  571. </profile>
  572. <!-- The PostgreSQL 8.3.7 test envionment -->
  573. <profile>
  574. <id>postgresql83</id>
  575. <properties>
  576. <jdbc.driver.groupId>postgresql</jdbc.driver.groupId>
  577. <jdbc.driver.artifactId>postgresql</jdbc.driver.artifactId>
  578. <jdbc.driver.jdbc.driver.version>8.2-504.jdbc3</jdbc.driver.jdbc.driver.version>
  579. <db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
  580. <jdbc.driver>org.postgresql.Driver</jdbc.driver>
  581. <jdbc.url>jdbc:postgresql://vmg03.mw.lab.eng.bos.redhat.com:5432:hibbrtru</jdbc.url>
  582. <jdbc.user>hibbrtru</jdbc.user>
  583. <jdbc.pass>hibbrtru</jdbc.pass>
  584. <jdbc.isolation />
  585. </properties>
  586. </profile>
  587. <!--
  588. ###################################################################
  589. Then, those with commercial drivers
  590. ###################################################################
  591. -->
  592. <!-- The DB2 8.x test envionment (using 9x drivers)-->
  593. <profile>
  594. <id>db2v82</id>
  595. <dependencies>
  596. <dependency>
  597. <groupId>com.ibm</groupId>
  598. <artifactId>db2jcc_license_cu</artifactId>
  599. <version>3.1.57</version>
  600. <scope>test</scope>
  601. </dependency>
  602. </dependencies>
  603. <properties>
  604. <jdbc.driver.groupId>com.ibm</jdbc.driver.groupId>
  605. <jdbc.driver.artifactId>db2jcc</jdbc.driver.artifactId>
  606. <jdbc.driver.jdbc.driver.version>3.1.57</jdbc.driver.jdbc.driver.version>
  607. <db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
  608. <jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
  609. <jdbc.url>jdbc:db2://dev32.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
  610. <jdbc.user>hibbrtru</jdbc.user>
  611. <jdbc.pass>hibbrtru</jdbc.pass>
  612. <jdbc.isolation />
  613. </properties>
  614. </profile>
  615. <!-- The DB2 9.1 test envionment (using 9x drivers)-->
  616. <profile>
  617. <id>db2-91</id>
  618. <dependencies>
  619. <dependency>
  620. <groupId>com.ibm</groupId>
  621. <artifactId>db2jcc_license_cu</artifactId>
  622. <version>3.8.47</version>
  623. <scope>test</scope>
  624. </dependency>
  625. </dependencies>
  626. <properties>
  627. <jdbc.driver.groupId>com.ibm</jdbc.driver.groupId>
  628. <jdbc.driver.artifactId>db2jcc</jdbc.driver.artifactId>
  629. <jdbc.driver.jdbc.driver.version>3.8.47</jdbc.driver.jdbc.driver.version>
  630. <db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
  631. <jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
  632. <jdbc.url>jdbc:db2://dev67.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
  633. <jdbc.user>hibbrtru</jdbc.user>
  634. <jdbc.pass>hibbrtru</jdbc.pass>
  635. <jdbc.isolation />
  636. </properties>
  637. </profile>
  638. <!-- The DB2 9.7 test envionment (using 9x drivers)-->
  639. <profile>
  640. <id>db2-97</id>
  641. <dependencies>
  642. <dependency>
  643. <groupId>com.ibm</groupId>
  644. <artifactId>db2jcc_license_cu</artifactId>
  645. <version>3.57.86</version>
  646. <scope>test</scope>
  647. </dependency>
  648. </dependencies>
  649. <properties>
  650. <jdbc.driver.groupId>com.ibm</jdbc.driver.groupId>
  651. <jdbc.driver.artifactId>db2jcc</jdbc.driver.artifactId>
  652. <jdbc.driver.jdbc.driver.version>3.57.86</jdbc.driver.jdbc.driver.version>
  653. <db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
  654. <jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
  655. <jdbc.url>jdbc:db2://vmg06.mw.lab.eng.bos.redhat.com:50000/jbossqa</jdbc.url>
  656. <jdbc.user>hibbrtru</jdbc.user>
  657. <jdbc.pass>hibbrtru</jdbc.pass>
  658. <jdbc.isolation />
  659. </properties>
  660. </profile>
  661. <!-- The Oracle9i test envionment -->
  662. <profile>
  663. <id>oracle9i</id>
  664. <properties>
  665. <jdbc.driver.groupId>com.oracle</jdbc.driver.groupId>
  666. <jdbc.driver.artifactId>ojdbc14</jdbc.driver.artifactId>
  667. <!-- use the 10g drivers which are surprisingly largely bug free -->
  668. <jdbc.driver.jdbc.driver.version>10.0.2.0</jdbc.driver.jdbc.driver.version>
  669. <db.dialect>org.hibernate.dialect.Oracle9iDialect</db.dialect>
  670. <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
  671. <jdbc.url>jdbc:oracle:thin:@dev20.qa.atl.jboss.com:1521:qa</jdbc.url>
  672. <jdbc.user>hibbrtru</jdbc.user>
  673. <jdbc.pass>hibbrtru</jdbc.pass>
  674. <jdbc.isolation />
  675. </properties>
  676. </profile>
  677. <!-- The Oracle10g test envionment -->
  678. <profile>
  679. <id>oracle10g</id>
  680. <properties>
  681. <jdbc.driver.groupId>com.oracle</jdbc.driver.groupId>
  682. <jdbc.driver.artifactId>ojdbc14</jdbc.driver.artifactId>
  683. <!-- use the 10g drivers which are surprisingly largely bug free -->
  684. <jdbc.driver.jdbc.driver.version>10.0.2.0</jdbc.driver.jdbc.driver.version>
  685. <db.dialect>org.hibernate.dialect.Oracle10gDialect</db.dialect>
  686. <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
  687. <jdbc.url>jdbc:oracle:thin:@vmg05.mw.lab.eng.bos.redhat.com:1521:qaora10</jdbc.url>
  688. <jdbc.user>hibbrtru</jdbc.user>
  689. <jdbc.pass>hibbrtru</jdbc.pass>
  690. <jdbc.isolation />
  691. </properties>
  692. </profile>
  693. <!-- The Oracle11g test envionment -->
  694. <profile>
  695. <id>oracle11g</id>
  696. <properties>
  697. <jdbc.driver.groupId>com.oracle</jdbc.driver.groupId>
  698. <jdbc.driver.artifactId>ojdbc5</jdbc.driver.artifactId>
  699. <jdbc.driver.jdbc.driver.version>11.1.0.7.0</jdbc.driver.jdbc.driver.version>
  700. <db.dialect>org.hibernate.dialect.Oracle10gDialect</db.dialect>
  701. <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
  702. <jdbc.url>jdbc:oracle:thin:@dev04.qa.atl2.redhat.com:1521:qaora11</jdbc.url>
  703. <jdbc.user>hibbrtru</jdbc.user>
  704. <jdbc.pass>hibbrtru</jdbc.pass>
  705. <jdbc.isolation />
  706. </properties>
  707. </profile>
  708. <!-- The Oracle11gRAC test envionment -->
  709. <profile>
  710. <id>oracle11gRAC</id>
  711. <properties>
  712. <jdbc.driver.groupId>com.oracle</jdbc.driver.groupId>
  713. <jdbc.driver.artifactId>ojdbc5</jdbc.driver.artifactId>
  714. <jdbc.driver.jdbc.driver.version>11.1.0.7.0</jdbc.driver.jdbc.driver.version>
  715. <scope>test</scope>
  716. <db.dialect>org.hibernate.dialect.Oracle10gDialect</db.dialect>
  717. <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
  718. <jdbc.url>
  719. jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=ON)(ADDRESS=(PROTOCOL=TCP)(HOST=vmg24-vip.mw.lab.eng.bos.redhat.com)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=vmg25-vip.mw.lab.eng.bos.redhat.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=qarac.jboss)))
  720. </jdbc.url>
  721. <jdbc.user>hibbrtru</jdbc.user>
  722. <jdbc.pass>hibbrtru</jdbc.pass>
  723. <jdbc.isolation />
  724. </properties>
  725. </profile>
  726. <!-- The Sybase 15 test envionment -->
  727. <profile>
  728. <id>sybase15</id>
  729. <properties>
  730. <jdbc.driver.groupId>com.sybase</jdbc.driver.groupId>
  731. <jdbc.driver.artifactId>jconnect</jdbc.driver.artifactId>
  732. <jdbc.driver.jdbc.driver.version>6.0.5</jdbc.driver.jdbc.driver.version>
  733. <db.dialect>org.hibernate.dialect.SybaseASE15Dialect</db.dialect>
  734. <jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
  735. <jdbc.url>jdbc:sybase:Tds:vmg07.mw.lab.eng.bos.redhat.com:5000/hibbrtru</jdbc.url>
  736. <jdbc.user>hibbrtru</jdbc.user>
  737. <jdbc.pass>hibbrtru</jdbc.pass>
  738. <jdbc.isolation />
  739. </properties>
  740. </profile>
  741. <!-- The SQLServer2005 (MS JDBC) test envionment -->
  742. <profile>
  743. <id>mssql2005</id>
  744. <properties>
  745. <jdbc.driver.groupId>com.microsoft.sqlserver</jdbc.driver.groupId>
  746. <jdbc.driver.artifactId>msjdbc</jdbc.driver.artifactId>
  747. <jdbc.driver.jdbc.driver.version>2.0.1008.2</jdbc.driver.jdbc.driver.version>
  748. <db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
  749. <jdbc.driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</jdbc.driver>
  750. <jdbc.url>jdbc:sqlserver://dev30.qa.atl.jboss.com:3918</jdbc.url>
  751. <jdbc.user>hibbrtru</jdbc.user>
  752. <jdbc.pass>hibbrtru</jdbc.pass>
  753. <jdbc.isolation>4096</jdbc.isolation>
  754. </properties>
  755. </profile>
  756. <!-- The SQLServer2005 (MS JDBC) test envionment -->
  757. <profile>
  758. <id>mssql2005_jtds</id>
  759. <properties>
  760. <jdbc.driver.groupId>net.sourceforge.jtds</jdbc.driver.groupId>
  761. <jdbc.driver.artifactId>jtds</jdbc.driver.artifactId>
  762. <jdbc.driver.jdbc.driver.version>1.2.4</jdbc.driver.jdbc.driver.version><!-- newest is 1.2.5 but not in repo -->
  763. <db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
  764. <jdbc.driver>net.sourceforge.jtds.jdbc.Driver</jdbc.driver>
  765. <jdbc.url>jdbc:jtds:sqlserver://dev30.qa.atl.jboss.com:3918</jdbc.url>
  766. <jdbc.user>hibbrtru</jdbc.user>
  767. <jdbc.pass>hibbrtru</jdbc.pass>
  768. <jdbc.isolation>4096</jdbc.isolation>
  769. </properties>
  770. </profile>
  771. <!-- The SQLServer2005 (MS JDBC) test envionment -->
  772. <profile>
  773. <id>mssql2008</id>
  774. <properties>
  775. <jdbc.driver.groupId>com.microsoft.sqlserver</jdbc.driver.groupId>
  776. <jdbc.driver.artifactId>msjdbc</jdbc.driver.artifactId>
  777. <jdbc.driver.jdbc.driver.version>2.0.1008.2</jdbc.driver.jdbc.driver.version>
  778. <db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
  779. <jdbc.driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</jdbc.driver>
  780. <jdbc.url>jdbc:sqlserver://vmg04.mw.lab.eng.bos.redhat.com:1433</jdbc.url>
  781. <jdbc.user>hibbrtru</jdbc.user>
  782. <jdbc.pass>hibbrtru</jdbc.pass>
  783. <jdbc.isolation>4096</jdbc.isolation>
  784. </properties>
  785. </profile>
  786. </profiles>
  787. </project>