2012-08-22 14:41:16 -04:00
|
|
|
/*
|
|
|
|
* Hibernate, Relational Persistence for Idiomatic Java
|
|
|
|
*
|
2015-05-19 00:23:35 -04:00
|
|
|
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
|
|
|
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
2012-08-22 14:41:16 -04:00
|
|
|
*/
|
|
|
|
|
2012-08-08 05:09:11 -04:00
|
|
|
// build a map of the dependency artifacts to use. Allows centralized definition of the version of artifacts to
|
|
|
|
// use. In that respect it serves a role similar to <dependencyManagement> in Maven
|
|
|
|
ext {
|
2012-08-22 14:41:16 -04:00
|
|
|
|
2013-10-09 12:28:19 -04:00
|
|
|
junitVersion = '4.11'
|
2015-04-07 15:31:41 -04:00
|
|
|
// h2Version = '1.2.145'
|
|
|
|
h2Version = '1.3.176'
|
2013-02-20 16:54:00 -05:00
|
|
|
bytemanVersion = '2.1.2'
|
2016-01-15 04:10:18 -05:00
|
|
|
infinispanVersion = '8.1.0.Final'
|
2012-08-22 14:41:16 -04:00
|
|
|
jnpVersion = '5.0.6.CR1'
|
2015-07-29 09:56:59 -04:00
|
|
|
elVersion = '2.2.4'
|
2012-08-22 14:41:16 -04:00
|
|
|
|
2016-06-27 08:07:08 -04:00
|
|
|
// Wildfly version targeted by module ZIP; Arquillian/Shrinkwrap versions used for testing the module ZIP
|
|
|
|
wildflyVersion = '10.0.0.Final'
|
|
|
|
arquillianVersion = '1.1.10.Final'
|
|
|
|
shrinkwrapVersion = '2.0.0-alpha-8'
|
|
|
|
wildflyArquillianContainerVersion = '2.0.0.Final'
|
|
|
|
|
2012-08-22 14:41:16 -04:00
|
|
|
libraries = [
|
|
|
|
// Ant
|
|
|
|
ant: 'org.apache.ant:ant:1.8.2',
|
|
|
|
|
|
|
|
// Antlr
|
|
|
|
antlr: 'antlr:antlr:2.7.7',
|
|
|
|
|
|
|
|
// Annotations
|
2015-11-25 17:04:21 -05:00
|
|
|
commons_annotations: 'org.hibernate.common:hibernate-commons-annotations:5.0.1.Final',
|
2015-11-25 17:04:58 -05:00
|
|
|
jandex: 'org.jboss:jandex:2.0.0.Final',
|
2015-10-06 17:07:33 -04:00
|
|
|
classmate: 'com.fasterxml:classmate:1.3.0',
|
2012-08-22 14:41:16 -04:00
|
|
|
|
2015-03-19 13:40:29 -04:00
|
|
|
// Woodstox
|
|
|
|
woodstox: "org.codehaus.woodstox:woodstox-core-asl:4.3.0",
|
|
|
|
|
2012-08-22 14:41:16 -04:00
|
|
|
// Dom4J
|
|
|
|
dom4j: 'dom4j:dom4j:1.6.1@jar',
|
|
|
|
|
|
|
|
// Javassist
|
2015-10-07 13:35:53 -04:00
|
|
|
javassist: 'org.javassist:javassist:3.20.0-GA',
|
2012-08-22 14:41:16 -04:00
|
|
|
|
|
|
|
// javax
|
2013-07-26 14:00:01 -04:00
|
|
|
jpa: 'org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final',
|
2015-05-05 18:18:16 -04:00
|
|
|
// There is a bug in the OSGi information in the JBoss one. See https://issues.jboss.org/browse/JBEE-160
|
|
|
|
//jta: 'org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final',
|
|
|
|
jta: 'org.apache.geronimo.specs:geronimo-jta_1.1_spec:1.1.1',
|
2013-05-02 13:11:35 -04:00
|
|
|
validation: 'javax.validation:validation-api:1.1.0.Final',
|
2013-01-23 18:22:03 -05:00
|
|
|
jacc: 'org.jboss.spec.javax.security.jacc:jboss-jacc-api_1.4_spec:1.0.2.Final',
|
2012-08-22 14:41:16 -04:00
|
|
|
|
|
|
|
// logging
|
2015-05-28 17:46:15 -04:00
|
|
|
logging: 'org.jboss.logging:jboss-logging:3.3.0.Final',
|
|
|
|
logging_annotations: 'org.jboss.logging:jboss-logging-annotations:2.0.0.Final',
|
|
|
|
logging_processor: 'org.jboss.logging:jboss-logging-processor:2.0.0.Final',
|
2012-08-22 14:41:16 -04:00
|
|
|
|
2013-10-25 15:27:45 -04:00
|
|
|
slf4j_api: "org.slf4j:slf4j-api:1.7.5",
|
|
|
|
slf4j_log4j: "org.slf4j:slf4j-log4j12:1.7.5",
|
|
|
|
|
2012-08-22 14:41:16 -04:00
|
|
|
// jaxb task
|
2015-03-10 12:55:51 -04:00
|
|
|
jaxb: 'com.sun.xml.bind:jaxb-xjc:2.2.5',
|
|
|
|
jaxb2_basics: 'org.jvnet.jaxb2_commons:jaxb2-basics:0.6.3',
|
|
|
|
jaxb2_ant: 'org.jvnet.jaxb2_commons:jaxb2-basics-ant:0.6.3',
|
|
|
|
jaxb2_jaxb: 'org.jvnet.jaxb2_commons:jaxb2-basics-jaxb:2.2.4-1',
|
|
|
|
jaxb2_jaxb_xjc: 'org.jvnet.jaxb2_commons:jaxb2-basics-jaxb-xjc:2.2.4-1',
|
2013-05-03 06:33:40 -04:00
|
|
|
|
|
|
|
// Animal Sniffer Ant Task and Java 1.6 API signature file
|
|
|
|
// not using 1.9 for the time being due to MANIMALSNIFFER-34
|
2015-03-24 17:01:15 -04:00
|
|
|
animal_sniffer: 'org.codehaus.mojo:animal-sniffer-ant-tasks:1.13',
|
|
|
|
as_asm: 'org.ow2.asm:asm-all:5.0.3',
|
|
|
|
java16_signature: 'org.codehaus.mojo.signature:java16:1.0@signature',
|
2013-05-03 06:33:40 -04:00
|
|
|
|
2013-08-20 10:54:17 -04:00
|
|
|
//Maven plugin framework
|
2015-09-28 23:19:32 -04:00
|
|
|
maven_core: 'org.apache.maven:maven-core:3.0.5',
|
|
|
|
maven_artifact: 'org.apache.maven:maven-artifact:3.0.5',
|
2013-08-20 10:54:17 -04:00
|
|
|
maven_plugin: 'org.apache.maven:maven-plugin-api:3.0.5',
|
|
|
|
maven_plugin_tools: 'org.apache.maven.plugin-tools:maven-plugin-annotations:3.2',
|
|
|
|
|
2012-08-22 14:41:16 -04:00
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~ testing
|
|
|
|
|
2013-10-09 13:14:26 -04:00
|
|
|
log4j: "log4j:log4j:1.2.17",
|
2012-08-22 14:41:16 -04:00
|
|
|
junit: "junit:junit:${junitVersion}",
|
|
|
|
byteman: "org.jboss.byteman:byteman:${bytemanVersion}",
|
|
|
|
byteman_install: "org.jboss.byteman:byteman-install:${bytemanVersion}",
|
|
|
|
byteman_bmunit: "org.jboss.byteman:byteman-bmunit:${bytemanVersion}",
|
|
|
|
shrinkwrap_api: 'org.jboss.shrinkwrap:shrinkwrap-api:1.0.0-beta-6',
|
|
|
|
shrinkwrap: 'org.jboss.shrinkwrap:shrinkwrap-impl-base:1.0.0-beta-6',
|
|
|
|
h2: "com.h2database:h2:${h2Version}",
|
2016-03-15 12:23:53 -04:00
|
|
|
hsqldb: "org.hsqldb:hsqldb:2.3.2",
|
2015-09-08 09:01:49 -04:00
|
|
|
derby: "org.apache.derby:derby:10.11.1.1",
|
2016-03-15 12:23:53 -04:00
|
|
|
postgresql: 'org.postgresql:postgresql:9.4-1202-jdbc41',
|
2016-03-16 10:01:11 -04:00
|
|
|
mysql: 'mysql:mysql-connector-java:5.1.38',
|
2016-03-29 12:04:48 -04:00
|
|
|
mariadb: 'org.mariadb.jdbc:mariadb-java-client:1.1.7',
|
2016-04-24 23:44:04 -04:00
|
|
|
oracle: 'com.oracle.ojdbc:ojdbc7:12.1.0.2.0',
|
|
|
|
mssql: 'com.microsoft.sqlserver:sqljdbc4:4.0',
|
2012-08-22 14:41:16 -04:00
|
|
|
jboss_jta: "org.jboss.jbossts:jbossjta:4.16.4.Final",
|
|
|
|
xapool: "com.experlog:xapool:1.5.0",
|
|
|
|
mockito: 'org.mockito:mockito-core:1.9.0',
|
|
|
|
|
2016-03-29 12:04:48 -04:00
|
|
|
|
2015-07-29 09:56:59 -04:00
|
|
|
validator: 'org.hibernate:hibernate-validator:5.2.0.CR1',
|
|
|
|
// EL required by Hibernate Validator at test runtime
|
|
|
|
expression_language_api: "javax.el:javax.el-api:${elVersion}",
|
|
|
|
expression_language_impl: "org.glassfish.web:javax.el:${elVersion}",
|
|
|
|
|
2013-05-02 13:11:35 -04:00
|
|
|
// required by Hibernate Validator at test runtime
|
|
|
|
unified_el: "org.glassfish:javax.el:3.0-b07",
|
|
|
|
|
2012-08-22 14:41:16 -04:00
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~ infinsipan
|
|
|
|
infinispan: "org.infinispan:infinispan-core:${infinispanVersion}",
|
|
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~ infinispan test
|
|
|
|
infinispan_test: "org.infinispan:infinispan-core:${infinispanVersion}:tests@jar",
|
|
|
|
jboss_common_core: "org.jboss:jboss-common-core:2.2.16.GA@jar",
|
|
|
|
jnp_client: "org.jboss.naming:jnp-client:${jnpVersion}",
|
|
|
|
jnp_server: "org.jboss.naming:jnpserver:${jnpVersion}",
|
|
|
|
|
2013-07-03 10:04:40 -04:00
|
|
|
c3p0: "com.mchange:c3p0:0.9.2.1",
|
2013-12-03 14:02:03 -05:00
|
|
|
ehcache: "net.sf.ehcache:ehcache:2.10.1",
|
2014-04-07 15:07:41 -04:00
|
|
|
proxool: "proxool:proxool:0.8.3",
|
2016-06-27 08:07:08 -04:00
|
|
|
hikaricp: "com.zaxxer:HikariCP-java6:2.3.9",
|
|
|
|
|
|
|
|
// Arquillian etc.
|
|
|
|
arquillian_junit_container: "org.jboss.arquillian.junit:arquillian-junit-container:${arquillianVersion}",
|
|
|
|
arquillian_protocol_servlet: "org.jboss.arquillian.protocol:arquillian-protocol-servlet:${arquillianVersion}",
|
|
|
|
|
|
|
|
shrinkwrap_descriptors_api_javaee: "org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-api-javaee:${shrinkwrapVersion}",
|
|
|
|
shrinkwrap_descriptors_impl_javaee: "org.jboss.shrinkwrap.descriptors:shrinkwrap-descriptors-impl-javaee:${shrinkwrapVersion}",
|
2012-08-22 14:41:16 -04:00
|
|
|
|
2016-06-27 08:07:08 -04:00
|
|
|
wildfly_arquillian_container_managed: "org.wildfly.arquillian:wildfly-arquillian-container-managed:${wildflyArquillianContainerVersion}"
|
2012-08-22 14:41:16 -04:00
|
|
|
]
|
2012-08-08 05:09:11 -04:00
|
|
|
}
|