|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + License: Apache License, Version 2.0 |
| 4 | + See the LICENSE file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. |
| 5 | + --> |
| 6 | + |
| 7 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 8 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 9 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 10 | + <modelVersion>4.0.0</modelVersion> |
| 11 | + |
| 12 | + <groupId>org.hibernate.demos</groupId> |
| 13 | + <artifactId>jpa-cdi-testing</artifactId> |
| 14 | + <version>1.0-SNAPSHOT</version> |
| 15 | + |
| 16 | + <name>Demo for testing CDI + JPA + JTA under Java SE</name> |
| 17 | + <url>https://hibernate.org/orm</url> |
| 18 | + |
| 19 | + <properties> |
| 20 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 21 | + <maven.compiler.source>8</maven.compiler.source> |
| 22 | + <maven.compiler.target>8</maven.compiler.target> |
| 23 | + |
| 24 | + <version.com.h2database>1.4.197</version.com.h2database> |
| 25 | + <version.org.hibernate>5.4.0.Final</version.org.hibernate> |
| 26 | + <version.narayana>5.9.2.Final</version.narayana> |
| 27 | + <version.jnpserver>5.0.3.GA</version.jnpserver> |
| 28 | + <version.jboss-transaction-api>1.1.1.Final</version.jboss-transaction-api> |
| 29 | + <version.log4j>1.2.17</version.log4j> |
| 30 | + <version.weld>3.0.5.Final</version.weld> |
| 31 | + </properties> |
| 32 | + |
| 33 | + <dependencies> |
| 34 | + <dependency> |
| 35 | + <groupId>javax.inject</groupId> |
| 36 | + <artifactId>javax.inject</artifactId> |
| 37 | + <version>1</version> |
| 38 | + <scope>provided</scope> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>javax.enterprise</groupId> |
| 42 | + <artifactId>cdi-api</artifactId> |
| 43 | + <version>2.0.SP1</version> |
| 44 | + <scope>provided</scope> |
| 45 | + </dependency> |
| 46 | + |
| 47 | + <dependency> |
| 48 | + <groupId>junit</groupId> |
| 49 | + <artifactId>junit</artifactId> |
| 50 | + <version>4.12</version> |
| 51 | + <scope>test</scope> |
| 52 | + </dependency> |
| 53 | + <dependency> |
| 54 | + <groupId>org.hibernate</groupId> |
| 55 | + <artifactId>hibernate-core</artifactId> |
| 56 | + <version>${version.org.hibernate}</version> |
| 57 | + </dependency> |
| 58 | + <dependency> |
| 59 | + <groupId>com.h2database</groupId> |
| 60 | + <artifactId>h2</artifactId> |
| 61 | + <version>${version.com.h2database}</version> |
| 62 | + <scope>test</scope> |
| 63 | + </dependency> |
| 64 | + <dependency> |
| 65 | + <groupId>org.jboss.weld.se</groupId> |
| 66 | + <artifactId>weld-se-core</artifactId> |
| 67 | + <version>${version.weld}</version> |
| 68 | + <scope>test</scope> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>org.jboss.weld.module</groupId> |
| 72 | + <artifactId>weld-jta</artifactId> |
| 73 | + <version>${version.weld}</version> |
| 74 | + <scope>test</scope> |
| 75 | + </dependency> |
| 76 | + <dependency> |
| 77 | + <groupId>org.jboss.narayana.jta</groupId> |
| 78 | + <artifactId>narayana-jta</artifactId> |
| 79 | + <version>${version.narayana}</version> |
| 80 | + <exclusions> |
| 81 | + <exclusion> |
| 82 | + <groupId>org.jboss.logmanager</groupId> |
| 83 | + <artifactId>jboss-logmanager</artifactId> |
| 84 | + </exclusion> |
| 85 | + </exclusions> |
| 86 | + <scope>test</scope> |
| 87 | + </dependency> |
| 88 | + <dependency> |
| 89 | + <groupId>org.jboss.spec.javax.transaction</groupId> |
| 90 | + <artifactId>jboss-transaction-api_1.2_spec</artifactId> |
| 91 | + <version>${version.jboss-transaction-api}</version> |
| 92 | + <scope>test</scope> |
| 93 | + </dependency> |
| 94 | + <dependency> |
| 95 | + <groupId>log4j</groupId> |
| 96 | + <artifactId>log4j</artifactId> |
| 97 | + <version>${version.log4j}</version> |
| 98 | + </dependency> |
| 99 | + <dependency> |
| 100 | + <groupId>org.jboss.naming</groupId> |
| 101 | + <artifactId>jnpserver</artifactId> |
| 102 | + <version>${version.jnpserver}</version> |
| 103 | + <exclusions> |
| 104 | + <exclusion> |
| 105 | + <groupId>org.jboss.logging</groupId> |
| 106 | + <artifactId>jboss-logging-spi</artifactId> |
| 107 | + </exclusion> |
| 108 | + </exclusions> |
| 109 | + <scope>test</scope> |
| 110 | + </dependency> |
| 111 | + <dependency> |
| 112 | + <groupId>org.jboss.weld</groupId> |
| 113 | + <artifactId>weld-junit4</artifactId> |
| 114 | + <version>1.3.1.Final</version> |
| 115 | + <scope>test</scope> |
| 116 | + </dependency> |
| 117 | + <dependency> |
| 118 | + <groupId>org.assertj</groupId> |
| 119 | + <artifactId>assertj-core</artifactId> |
| 120 | + <version>3.11.1</version> |
| 121 | + <scope>test</scope> |
| 122 | + </dependency> |
| 123 | + </dependencies> |
| 124 | + |
| 125 | + <build> |
| 126 | + <pluginManagement> |
| 127 | + <plugins> |
| 128 | + <plugin> |
| 129 | + <artifactId>maven-clean-plugin</artifactId> |
| 130 | + <version>3.1.0</version> |
| 131 | + </plugin> |
| 132 | + <plugin> |
| 133 | + <artifactId>maven-resources-plugin</artifactId> |
| 134 | + <version>3.0.2</version> |
| 135 | + </plugin> |
| 136 | + <plugin> |
| 137 | + <artifactId>maven-compiler-plugin</artifactId> |
| 138 | + <version>3.8.0</version> |
| 139 | + </plugin> |
| 140 | + <plugin> |
| 141 | + <artifactId>maven-surefire-plugin</artifactId> |
| 142 | + <version>2.22.1</version> |
| 143 | + </plugin> |
| 144 | + <plugin> |
| 145 | + <artifactId>maven-jar-plugin</artifactId> |
| 146 | + <version>3.0.2</version> |
| 147 | + </plugin> |
| 148 | + <plugin> |
| 149 | + <artifactId>maven-install-plugin</artifactId> |
| 150 | + <version>2.5.2</version> |
| 151 | + </plugin> |
| 152 | + <plugin> |
| 153 | + <artifactId>maven-deploy-plugin</artifactId> |
| 154 | + <version>2.8.2</version> |
| 155 | + </plugin> |
| 156 | + <plugin> |
| 157 | + <artifactId>maven-site-plugin</artifactId> |
| 158 | + <version>3.7.1</version> |
| 159 | + </plugin> |
| 160 | + <plugin> |
| 161 | + <artifactId>maven-project-info-reports-plugin</artifactId> |
| 162 | + <version>3.0.0</version> |
| 163 | + </plugin> |
| 164 | + </plugins> |
| 165 | + </pluginManagement> |
| 166 | + |
| 167 | + </build> |
| 168 | + <repositories> |
| 169 | + <repository> |
| 170 | + <id>jboss-public-repository-group</id> |
| 171 | + <name>JBoss Public Maven Repository Group</name> |
| 172 | + <url>https://repository.jboss.org/nexus/content/groups/public/</url> |
| 173 | + <releases> |
| 174 | + <enabled>true</enabled> |
| 175 | + </releases> |
| 176 | + <snapshots> |
| 177 | + <enabled>true</enabled> |
| 178 | + </snapshots> |
| 179 | + </repository> |
| 180 | + </repositories> |
| 181 | +</project> |
0 commit comments